5fdb13fd72
mu4e-draft: add mu4e-compose-jump-to-reasonable-place
...
t by default (current behavior), but you can turn if off if your change (e.g.
compose-hook) wants to put the point in some different place.
2025-07-12 09:25:40 +03:00
8f15eedc74
mu4e-update: fix typo
2025-07-11 22:53:26 +03:00
54ec919e8f
mu4e: allow mu4e-get-mail-command to be a function
...
For making it easier to influence the behavior.
2025-07-05 11:04:37 +03:00
9763ca0830
mu4e-folder: don't offer "other" if there are none
...
When mu4e is not started yet, we don't have "other" maildirs; document and don't
add the 'other' option.
Fixes #2855 .
2025-06-30 19:24:06 +03:00
97fbaf1771
mu4e-headers: use string-width, not length for alignment
...
For e.g., for CJK languages
2025-06-28 18:07:03 +03:00
6441d26875
mu4e-notification: avoid error when byte-compiled
...
Ensure eval-when-compile macro is defined
2025-06-12 23:38:29 +03:00
8cded9d464
mu4e.texi: improve dired note
2025-06-12 14:05:25 +03:00
155725ff74
fdl.texi: only need one copy in source tree
...
No need for identical files in mu4e / guile dirs, move to build-aux.
2025-06-10 10:04:53 +03:00
88ce65df40
mu4e-notification: ignore dbus errors
...
notifications protocol says that an empty dbus error message is sent
back when the notification to close no longer exists:
https://specifications.freedesktop.org/notification-spec/latest/protocol.html#command-close-notification
Some notification daemons don't signal errors, but others do (e.g.
EDNC). Adjust the code to be conformant to the spec.
2025-05-25 10:02:39 +02:00
782e6cbe05
mu4e.texi: mention keep-crlf
...
Add an entry to the FAQ for the keeping CRLF in
mm-decode-content-transfer-encoding
Fixes #2849 .
2025-05-24 17:18:54 +03:00
3e05452343
mu4e: headers/search refactor search a bit
...
Move some items from mu4e-headers (mu4e--search-execute) to mu4e-search. The
code in mu4e-headers should focus on the output, and mu4e-search on the search
itself.
2025-05-24 17:17:00 +03:00
f75e1203d4
mu: rename --my-address into --personal-address
...
This makes things a bit more uniform with all the places where we use
"personal".
--my-address remains as an alias for the command-line option.
Add unit test.
Resolves #2806 .
2025-05-24 17:17:00 +03:00
ef71b5372f
mu4e: fix compiler warnings
2025-05-21 22:23:26 +03:00
acef5b2381
mu4e: implement mu4e-emacs-bookmark-policy
...
Allow for creating Emacs bookmarks for either messages (as before & the
default), queries or as the user.
2025-05-21 22:23:26 +03:00
c4b4010185
Support dash when autocompleting maildirs
2025-05-21 13:45:42 +02:00
5d7cdda27f
mu4e.texi: improve docs on attachments
...
Be a bit more complete.
Fixes #2844 .
2025-05-10 10:49:41 +03:00
e39e135e67
mu4e-plist-put: add to existing keys
2025-05-08 09:25:17 +03:00
f725594636
mu4e-query-items: allow refreshing the cache
2025-05-08 09:24:51 +03:00
6c94f994a2
mu4e.texi: fix mistaken @c
...
HT: https://github.com/djcb/mu/pull/2846
2025-05-04 16:27:46 +03:00
481d976c82
mu4e.texi: fix smart refiling example config
2025-04-24 22:13:20 +02:00
ddc5d00efc
mu4e-folders: update docstrings
2025-04-23 07:45:34 +03:00
9cd4d73212
mu4e-folders: rework the mu4e-ask-maildir
...
Attempt to restore the old behaviour of _other_ when there are no maildir
shortcuts defined.
Should help for #2843 .
2025-04-23 07:42:45 +03:00
371216a9fe
mu4e-draft: ensure we only remove the message Date:
...
Narrow to headers first, or we may remove e.g. Date: headers in
forwarded messages.
2025-04-17 18:35:31 +03:00
174c8aa575
mu4e-query-items: ensure :key is in results
...
This worked earlier accidentally....
2025-04-17 00:12:41 +03:00
faea3c35ad
mu4e-helpers: tweak plist filtering
...
A little refactoring
2025-04-17 00:11:50 +03:00
e79874aafb
mu4e-helpers: make mu4e-plist-put-many non-destructive
2025-04-16 23:46:21 +03:00
5951c387b3
mu4e-helpers: fix mu4e-plist-put-many
...
mu4e-plist-put-many was very broken, but somehow mu4e still somewhat
worked.
2025-04-16 09:36:45 +03:00
635f6f1bc2
mu4e-folder: improve mu4e-maildir-shortcuts docstring
2025-04-16 09:36:45 +03:00
97a6bab35c
mu4e-headers: fix column sorting
2025-04-13 21:04:55 +03:00
102dfa1bd4
mu4e: silence emacs header cookie complaints
...
Update header-cookies to avoid emacs cookie complaints.
Fixes #2841
2025-04-13 19:24:50 +03:00
804c4b4cda
mu4e-bookmarks/folders: allow -ask to return query-item
...
Instead of just the query-string or maildir name, allow
mu4e-ask-bookmark / mu4e-ask-folder to return the query-item, when a new
optional parameter QUERY-ITEM is non-nil.
2025-04-13 14:02:34 +03:00
a6d68a4146
mu4e-headers/search: use last-query information
...
Use the information from the last-query to update the modeline,
sorting-column etc.
2025-04-12 15:23:52 +07:00
f5b9cf4cfb
mu4e-server: improve documentation
2025-04-12 15:13:53 +07:00
398cb0abd2
mu4e-headers: cosmetics
...
Fix some flycheck warnings.
2025-04-12 15:07:28 +07:00
e534f8ae79
mu4e: centralize docstring for mu4e-bookmarks
...
Refer to it in mu4e-maildir-shortcut, so we only have one place to
document the format.
2025-04-12 15:07:28 +07:00
6f228fc505
mu4e: clean up mu4e--make-query-items
...
Automatically copy all key-values from the source item.
2025-04-12 15:07:28 +07:00
ba9b7c079f
Merge pull request #2835 from matperc/close-notification
...
mu4e-notification: close notification once done
2025-04-12 01:26:17 +07:00
bb76179e51
mu4e.texi: better document tagging actions
...
Remove some misleading old descriptions.
Cosmetics.
Fixes #2838
2025-04-12 00:48:20 +07:00
0c7398d55c
mu4e-compose: Heed shift-selection-mode for extending the selection.
...
Fixes #2836 .
2025-04-05 13:54:45 +02:00
da9ffc169f
mu4e-notification: close notification once done
2025-04-04 08:35:03 +02:00
d99785ed35
mu4e.texi: fix compiler warning
2025-03-23 19:47:09 +02:00
770aa793cb
mu4e-actions: add note about mu4e-action-git-apply-patch
...
See: https://github.com/djcb/mu/issues/2827
And some cosmetics.
2025-03-09 08:52:36 +02:00
a15e640eb7
mu4e: implement :hide-if-no-unread
...
Make mu4e-maildir-shortcut and mu4e-bookmarks understand a property
:hide-if-no-unread~, which hides the maildir/bookmark from the main-view
if there are no unread messages which the corresponding query.
2025-03-08 11:57:58 +02:00
5608892349
mu4e-vars: cosmetic
2025-03-08 11:39:44 +02:00
a7dcf04ba0
mu4e-draft: ensure compose-type is available without parent
...
In non-parent messages, such as completely new message, ensure the
mu4e-compose-type is available during the initial composition, i.e.,
enlarge the let to cover the rest of `mu4e--prepare-draft'.
2025-03-08 10:34:08 +02:00
200ada5026
mu4e.texi: update debugging information
2025-02-26 08:51:05 +02:00
2714aa5e8c
mu4e-headers: remove existence check
...
This is already done on the server-side ("SkipUnreadable"), so we don't
need to replicate.
2025-02-26 08:50:49 +02:00
b0f6e5cbb9
Merge pull request #2820 from dcolascione/mu-named-timer
...
Use named function, not lambda, for refresh timer
2025-02-23 11:22:58 +02:00
7d03d5f32a
Call file-readable-p only on non-remote files
...
Calling file-readable-p before reading a message file is fine
when the file is local, but when it's a remote file, doing so incurs
an extra network round trip. It's not really necessary to do so
either: if the file is missing, we'll fail in the insert-file-contents
below anyway, so we're missing out only on a nicer warning message.
2025-02-22 15:12:06 -05:00
8145df4ab3
Use named function, not lambda, for refresh timer
...
This change turns the mu4e refresh timer into a named function, making
M-x list-timers output display a name having to do with mu4e instead
of an inscrutable "anonymous lambda" line.
2025-02-22 15:02:09 -05:00