Commit Graph

2073 Commits

Author SHA1 Message Date
John Hamelink 26ff8e539a
mu4e: Add optional message plist arg to mu4e--org-store-link-message
This change makes it possible to use the function in an mu4e action.
2023-03-07 00:58:12 +00:00
Dirk-Jan C. Binnema 412256d26f mu4e: doc: fix mu4e-search-toggle-property binding 2023-02-24 07:25:39 +02:00
Nicholas Vollmer 45ecfebce5 mu4e--main-action: guard against nil ALT argument
Otherwise, if ALT is not provided the initial binding of bindstr can fail with:
Wrong type argument: characterp, nil
2023-02-23 09:13:38 -05:00
Dirk-Jan C. Binnema 558745bf00 mu4e-main: attempt to handle overridden bindings gracefully
Rebinding existing functions to different keys works fine, *but* it seems
some 3rd party code rebinds existing keys to different functions; that's
not really supported but use to half-work. Attempt to make it half-work
again, and document.
2023-02-18 20:08:56 +02:00
Dirk-Jan C. Binnema 4b0a6c763c mu4e-helpers: improve completion docstrings 2023-02-18 11:56:58 +02:00
Dirk-Jan C. Binnema 08ea3ca681 mu4e-server: factor out version check, use for repl too 2023-02-18 09:04:57 +02:00
Dirk-Jan C. Binnema 9feb53a766 mu4e.texi: fix typo 2023-02-18 09:04:46 +02:00
Anton Tetov f444439b5b
typo in mu4e docs Org-mode links
s/%d:date-timestamp-inactive/ %date-timestamp-inactive
2023-02-17 22:27:03 +01:00
Dirk-Jan C. Binnema 360cf62ba6 mu4e-view: better error message when we cannot switch text/html
"This is a pseudo article" isn't very helpful.
2023-02-17 16:03:34 +02:00
Dirk-Jan C. Binnema 8b16e5a449 mu4e: add command mu4e-server-repl
This for testing the mu4e server.
2023-02-17 10:32:21 +02:00
Dirk-Jan C. Binnema 9a1733e29d mu4e-folder: make mu4e-cache-maildir-list a defcustom, t
turn it on by default; and let mu4e-create-maildir-maybe clear the
cache when a new dir is created.
2023-02-16 21:22:37 +02:00
Dirk-Jan C. Binnema 47f8f8c382 mu4e-search: cosmetic 2023-02-16 21:22:37 +02:00
Dirk-Jan C. Binnema 0c04300f61 mu4e-helpers: support completing-read for mu4e-read-option
Instead of using mu4e's tradional completion UI, allow for delegating to
some implementation of completing-read.

Default
  mu4e-read-option-use-builtin t

means that things work more-or-less as before.
2023-02-16 21:22:37 +02:00
Al Haji-Ali 51ba56cf6e mu4e-helpers: import new/mu4e--read-char-choice
Starting point; see issue #2157.
2023-02-16 21:22:37 +02:00
Dirk-Jan C. Binnema a8c0bbd390 mu4e-folders: use mu4e-read-option 2023-02-16 21:22:37 +02:00
Dirk-Jan C. Binnema edb8cf17a9 mu4e-bookmarks: use mu4e-read-option
Use the generic function.
2023-02-16 21:22:37 +02:00
Dirk-Jan C. Binnema 0354fa4fac mu4e-helpers: rework mu4e-read-option
Rework the mu4e-read-option code to be a bit easier to (re)use.
2023-02-16 21:22:37 +02:00
Dirk-Jan C. Binnema d55cba7237 mu4e: fix quotes in some docstrings
Escape correctly.
2023-02-15 12:29:24 +02:00
Dirk-Jan C. Binnema e4cf881c91 mu4e: install el copies a read-only
To avoid changing the build/ copies rather than the sources.
2023-02-15 12:29:24 +02: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 88cb22d178 mu4e: integrate mkdir better into mu4e
When moving to a non-existent folder, offer to create it and proceed from
there (that _almost_ worked earlier).

Fixes #628
Fixes #477
2023-02-12 11:17:59 +02:00
Dirk-Jan C. Binnema c70d4b70d2 mu4e-main: better handle :name workaround for maildirs
Distinguish between the lambda and normal activation functions.
2023-02-12 11:07:42 +02:00
Dirk-Jan C. Binnema e1a160a8e5 mu4e-main: just mu4e-search for maildir query
When activated.
2023-02-12 00:34:06 +02:00
Dirk-Jan C. Binnema 6559f0f86e mu4e: show actual keybindings in main-view
Let the main-screen show a representation of the *actual* keybindings
rather than assuming the defaults.

For that to work, we need to invoke mu4e-main-mode earlier; add a new
hook mu4e-main-mode-rendered-hook which is invoked after rendering is
complete.

Add a few helpers for this to mu4e-helpers.
2023-02-11 17:50:58 +02:00
Dirk-Jan C. Binnema 5df98d57cb
Merge pull request #2428 from leotaku/bug-reference-no-override
Only add bug-reference setup function after the feature was loaded
2023-02-03 19:07:47 +02:00
Leo Gaskin d4cb318bc1 Only add bug-reference setup function after the feature was loaded
This is done so that we do not override the default defvar value of
bug-reference-auto-setup-functions but instead add our own hook to it.
2023-02-03 13:32:34 +01:00
Dirk-Jan C. Binnema 137e800fd0 mu4e-query-items: clear cached bookmarks/maildirs
When refreshing, so they get properly updated.
2023-02-02 23:48:44 +02:00
Dirk-Jan C. Binnema 66d20d04f5 mu4e-main: small cleanups 2023-02-02 23:48:16 +02:00
Dirk-Jan C. Binnema bbea9e5374 mu4e-bookmarks: whitespace fixes 2023-02-02 23:47:18 +02:00
Dirk-Jan C. Binnema ea08378ce6 mu4e-server: sync up error code with backend 2023-01-31 23:41:57 +02:00
Dirk-Jan C. Binnema 7610e86e97 mu4e: move some defcustoms to mu4e-vars.el 2023-01-31 19:50:07 +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
Andreas Hindborg b3614fd3c2 mu4e: Allow completion for symbolic links in maildir
This patch allows mu4e to autocomplete when `mu4e-root-maildor` contains
symbolic links to other maildirs. Without this patch mu4e can still work when
directories under `mu4e-root-maildor` are symlinks, but it will not autocomplete
properly when using `mu4e-search-maildir`.

Signed-off-by: Andreas Hindborg <nmi@metaspace.dk>
2023-01-31 16:02:30 +01:00
Dirk-Jan C. Binnema 86edc7d5fc mu4e: improve server error display
Fixes #2328
2023-01-29 16:37:08 +02:00
Dirk-Jan C. Binnema 29e6c21ed8 mu4e: use mu4e-join-paths 2023-01-27 09:25:40 +02:00
Dirk-Jan C. Binnema 491f9e91ff mu4e: rework mu4e--file-name-concat into mu4e-join-paths
We also need to handle slashes at the *start*.
2023-01-27 09:25:19 +02:00
Dirk-Jan C. Binnema d3966926a9 mu4e-notifications: show notifications for new messages
Filter out the _same_ new messages.
2023-01-26 21:35:42 +02:00
Dirk-Jan C. Binnema abf0e259a2 mu4e: implement mu4e--file-name-concat 2023-01-26 21:35:18 +02:00
Dirk-Jan C. Binnema 930c5b79c8 mu4e-context: small cleanups
Only refresh query-items when switch from existing context.

Some cosmetics
2023-01-24 23:43:55 +02:00
Dirk-Jan C. Binnema 7d17b1c15b mu4e: small cleanup in startup 2023-01-24 23:43:55 +02:00
Dirk-Jan C. Binnema 4b12061efb mu4e-query-items: cosmetic
Fix flycheck warning
2023-01-24 23:43:55 +02:00
Dirk-Jan C. Binnema d6b5384ac1 mu4e: some cosmetic fixes in mu4e-icalendar
Use mu4e--icalendar rather then mu4e~icalendar.

Fix some flycheck warnings
2023-01-24 23:43:55 +02:00
Dirk-Jan C. Binnema ad51082472 mu4e: tweak notification message 2023-01-20 19:12:19 +02:00
Dirk-Jan C. Binnema 61299b853c mu4e: tweak baseline handling 2023-01-20 07:08:16 +02:00
Dirk-Jan C. Binnema d0d85c9135 mu4e: query-item: tweak baseline handling 2023-01-20 00:14:46 +02:00
Dirk-Jan C. Binnema 85d2fdcdd7 mu4e: ignore bookmarks/maildirs without characterp keys 2023-01-19 22:37:50 +02:00
Dirk-Jan C. Binnema 87187d15d6 mu4e-mark: add confirmation for mu4e-mark-unmark-all
Fixes #1234
2023-01-19 22:37:50 +02:00
Dirk-Jan C. Binnema c23dad7058 mu4e-view: use with-selected-window in mv--in-headers-context
Fixed #1394
2023-01-18 20:32:34 +02:00
Dirk-Jan C. Binnema ae10d3a3f8 mu4e-main: put bookmark/maildir query in help-echo 2023-01-18 19:41:25 +02:00
Dirk-Jan C. Binnema 817675d83c mu4e-draft: cleanup, honor reply-to
Fixes #2420
2023-01-18 17:11:58 +02:00