Commit Graph

378 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 038d6ea6b6 mu4e-headers: avoid defcustom warning for mu4e-headers-field
Variable may contain custom (user-specified) fields, no need to warn for
that; suggested by @mekeor.

Fixes #2607
2023-12-04 18:52:50 +02:00
Dirk-Jan C. Binnema d814d4630f mu4e-headers: remove overlays in mu4e~headers-clear
This is needed to clear-up message threads
2023-11-16 18:59:43 +02:00
Dirk-Jan C. Binnema 13d068f183 mu4e: update headers/view for new composer 2023-10-25 22:05:06 +03:00
Dirk-Jan C. Binnema c021433519 mu4e-headers: switch buffer to search results
..except for 'background searches', such as the one after re-indexing.

Fixes #2545.
2023-10-07 08:16:33 +03:00
Dirk-Jan C. Binnema 8fc13ab8f3 mu4e: Shorten descriptions a bit 2023-09-20 22:31:19 +03:00
Thierry Volpiatto 67c8ff75a7 Fix missing or incorrect descriptions in file headers
Try to make useful descriptions and use conventional --- to separate filename
from description.
2023-09-20 22:04:48 +03:00
Nicholas Vollmer 375e684ce6 mu4e: propertize thread prefix characters
Brings visual consistency to unfolded threads.
2023-08-31 11:12:15 -04:00
Dirk-Jan C. Binnema 0ace413f80 mu4e-headers: don't auto-update header with message open
Avoid removing a message that's potentially being looked at.

Fixes #1055
Fixes #1981
2023-08-04 00:08:30 +03:00
Dirk-Jan C. Binnema cd3c7b4c61 mu4e-headers: found-handler: set up threads-mode in headers buffer
Ensure we're in headers-mode when setting up thread-mode.
2023-05-23 22:25:06 +03:00
Dirk-Jan C. Binnema fbb68b80ee mu4e: add actions for archive-url in view/headers 2023-05-10 18:52:15 +03:00
Dirk-Jan C. Binnema 91fea8e16e Merge branch 'view-list-archives' 2023-05-07 11:42:46 +03:00
Ruijie Yu 3018ceeb86 Add actions to browse online archive for a mailing list message
* mu4e/mu4e-headers.el (defcustom mu4e-header-actions): Convert
from defvar.  Add action for browsing online archive.
* mu4e/mu4e-view.el (defcustom mu4e-view-actions): Change use of
`seq-filter' to `delq'.  Add action for browsing online archive.
2023-05-05 23:10:21 +08:00
Dirk-Jan C. Binnema ada6ff6260 mu4e/thread: only when available
Fixes #2479.
2023-05-04 01:13:29 +03:00
Dirk-Jan C. Binnema f02f1c282c mu4e-headers: mu4e~headers-move: consider folded headers
Ensure going backwards over folded headers works.
2023-04-30 12:38:16 +03:00
Dirk-Jan C. Binnema 2c69a6d84b mu4e: tweak threading for thread-end 2023-04-24 22:19:19 +03:00
Dirk-Jan C. Binnema 5290d64d66 mu4e-headers: make mu4e~headers-prev-or-next-thread return (point)
Or nil if not found.
2023-04-24 21:52:25 +03:00
Dirk-Jan C. Binnema e2947f181d mu4e: add thread support to message-view
No keybindings yet, since TAB etc. conflict.
2023-04-24 21:52:25 +03:00
Dirk-Jan C. Binnema 50d559deb4 mu4e: do not allow marking folded message
Safety first!
2023-04-23 12:07:08 +03:00
Dirk-Jan C. Binnema b73e075c7b mu4e-thread: share mu4e-headers-thread-root-p with threads
Add mu4e-headers-thread-rootp which follows the mu4e-threads definition;
and use it in both mu4e-headers and mu4e-threads
2023-04-23 12:07:08 +03:00
Dirk-Jan C. Binnema d8817c1b74 mu4e-thread: integrate in mu4e-headers / build 2023-04-23 12:06:59 +03:00
Dirk-Jan C. Binnema 3885ae9a82 mu4e: add defvar mu4e-headers-open-after-move
Allow customizing whether to open the message after moving around in the
headers buffer. This meant for let-binding when scripting, e.g.,

(defun mark-and-quit ()
  (interactive)
  (let ((mu4e-headers-open-after-move nil))
    (mu4e-view-mark-for-refile)
    (mu4e-view-quit)))

in the view marks the current messages, then moves point to next message
without opening it.
2023-04-16 11:09:55 +03:00
Dirk-Jan C. Binnema 189838b030 mu4e: make mu4e-dim-when-loading nil also hide "Loading"
Not the best name, but it's easy. So
  (setq mu4e-dim-when-loading nil)
to complete remove the loading-effect.

Fixes #2451.
2023-03-30 18:45:35 +03:00
Dirk-Jan C. Binnema e35f477009 mu4e: use 'l' for the list mark
Small updates to the PR.
2023-03-25 13:22:37 +02:00
Babak Farrokhi adea4a5612
Change letter mark for mailing-list messages to L
Fixed an issue where messages from mailing-list ("list" flag) were shown using
"s" in header view, which is also used for "signed" messages. Therefore changing
it to "L".
2023-03-15 11:14:36 +01:00
Dirk-Jan C. Binnema 92ac6de09c mu4e: support jumping to previous/next thread
in headers view, message view with '{' and '}.
Also update documentation.

Fixes #1523
2023-02-12 12:58:05 +02:00
Dirk-Jan C. Binnema 0ee86ac923 mu4e: make eldoc support configurable
Add new defcustom, mu4e-eldoc-support, turn it off by default.
2023-01-31 19:50:07 +02:00
Dirk-Jan C. Binnema 74fb72035a mu4e: tweak main-view updating 2023-01-17 18:45:40 +02:00
Dirk-Jan C. Binnema 22b2d44b96 mu4e: tweak query-items refreshing
Try to make it a bit less confusing. The baseline becomes a bit more
implicit, and a `g` in the main view refreshes / resets.
2023-01-16 13:15:40 +02:00
Dirk-Jan C. Binnema b37cf7341b mu4e-headers: avoid some too-long lines
In the source code.
2023-01-16 11:59:13 +02:00
Dirk-Jan C. Binnema 10041eb2e1 mu4e: implement mu4e-query-items
Implement function / datas structure to conveniently aggregate all
query-related data, for reuse in various places in mu4e...

... to start with the main menu, which gets much simpler. And the
modeline.
2023-01-13 21:56:15 +02:00
Dirk-Jan C. Binnema b11293147f mu4e: move mu4e~headers-jump-to-maildir to search
... to mu4e-search-maildir.

Where we can, we move appropriate code from the overpopulated
mu4e-headers.el to mu4e-search, and update users.
2023-01-09 22:43:39 +02:00
Dirk-Jan C. Binnema 551bc46b47 mu4e: improve emacs menu-bar items
Fixes issue #2406.
2023-01-09 22:13:24 +02:00
Dirk-Jan C. Binnema f77bc903e7 mu4e: move modeline handling from mu4e-headers to mu4e-search 2023-01-08 13:31:51 +02:00
Dirk-Jan C. Binnema 1e018ee1fc mu4e: remove keybindings from mu4e-context-minor-mode
They interfered with the major modes (in particular the undefine hack
needed in mu4e-compose).

Fixes #2402.
2023-01-07 17:13:36 +02:00
Dirk-Jan C. Binnema beb2bef8dd mu4e-modeline: refactor modeline support
Move all the modeline code to new mu4e-modeline.el, and update
mu4e-context and mu4e-headers to use it.
2023-01-07 15:40:30 +02:00
Dirk-Jan C. Binnema 9f1e626ef7 mu4e: move some more variables from headers->search
We were incomplete.
2023-01-03 23:08:17 +02:00
Dirk-Jan C. Binnema b7b97212ce mu4e: move search functionality to mu4e-search
Move out of mu4e-headers; rename variables and callers.
2023-01-01 15:01:08 +02:00
Dirk-Jan C. Binnema 1799c69451 mu4e-view: rename mu4e~view -> mu4e--view
Our long-running migration from mu4e~ -> mu4e-- takes another step.
2022-12-24 10:02:21 +02:00
Dirk-Jan C. Binnema bdb494135d
Merge pull request #2377 from mickeynp/bugfix/preserve-view-window
Preserve `mu4e~headers-view-win' when a search is (re-)executed
2022-12-12 23:50:16 +02:00
Mickey Petersen 0b99dd5c8c Preserve `mu4e~headers-view-win' when a search is (re-)executed 2022-12-12 18:57:57 +00:00
Dirk-Jan C. Binnema f46fe4ee69 mu4e-headers: show number of hidden messages in footer 2022-12-11 14:38:40 +02:00
Dirk-Jan C. Binnema f4923c6f2a mu4e-headers: make hide-predicate togglable
Like the other search properties.
2022-12-11 14:09:26 +02:00
Dirk-Jan C. Binnema 5a3d7e9c56 mu4e-headers: add mu4e-headers-toggle-property, remove obsolete
And add the 'P' one for mu4e-headers-toggle-property
2022-12-11 14:09:26 +02:00
Dirk-Jan C. Binnema 6278d1f18a mu4e-headers: whitespace/newline cleanups 2022-12-11 12:42:48 +02:00
Dirk-Jan C. Binnema a39d61bb58
Merge pull request #2372 from mickeynp/feature/improve-window-buffer-handling
Multiple buffer support and standardised window and buffer handling
2022-12-10 19:46:40 +02:00
Mickey Petersen 04903c568d Move defcustoms to mu4e-window.el 2022-12-09 09:01:18 +00:00
Dirk-Jan C. Binnema 51d555f947 mu4e-headers: appease byte-compiler 2022-12-08 23:20:03 +02:00
Dirk-Jan C. Binnema 9857d18b29 mu4e-headers: fallback to :subject for :thread-subject
If we're not showing threads, use the normal subject.

Fixes #2341.
2022-12-08 21:52:32 +02:00
Mickey Petersen 42add64683 Appease the byte compiler and clean up the code 2022-12-06 09:46:39 +00:00
Dirk-Jan C. Binnema c856c750f5 mu4e-headers: fix mu4e-headers-toggle-setting 2022-12-05 23:57:18 +02:00