Commit Graph

7763 Commits

Author SHA1 Message Date
30b2d2a9fe build: bump version to 1.12.15
Mostly to get a release out with the fix for #2984.
2026-08-20 15:05:28 -07:00
92957df8c2 mu4e: ensure header line is set in headers buffer
When a different buffer had focus when the found handler was run, the header
line might be set on the wrong one.

As seen in #2897.
2026-08-20 15:05:28 -07:00
341585ad66 test-store: disable bad test
The "expected-to-fail" test actually passes when root.
2026-08-20 15:05:28 -07:00
ab6ab33df6 build: bump version to 1.12.15-pre1 2026-08-20 15:05:28 -07:00
bfcb313cf2 mu4e: update docs for mu4e-view-save-attachments 2026-08-20 15:05:24 -07:00
2900d2152d mu4e: save all attachments if none are selected
Updates the behavior of `mu4e-view-save-attachments' to allow saving all
attachments.  If no files are selected in the completing-read then assume all
files should be downloaded to the selected directory.
2026-08-20 15:04:27 -07:00
037e62a58c man: mu-scm.1: fix formatting of NAME section
Format it consistently with the other man-pages and replace space in "mu scm"
with hyphen to fix mandb(8) handling.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2026-08-20 15:04:27 -07:00
36e4316870 man: mu-query.7: correct typo
"and and extra" -> "and an extra"

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2026-08-20 15:04:27 -07:00
8798e43037 NEWS.org: remove duplicate word
"the the" -> "the"

Update the indentation for the news entry.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2026-08-20 15:04:27 -07:00
d76180a0e0 man: mu-labels.1: replace single quote at the beginning of line
Troff interprets single quotes at the beginning of lines as control characters.
There is one in the source for mu-labels.1, which results in that line's being
omitted from the output:

	The export command takes the labels in the store and the messages they
	apply to, and writes this information to a file. You can import this
	file later, to restore the labels. The command takes a path to a file or
	a directory (ending in

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2026-08-20 15:04:27 -07:00
f634a3f84c mu4e: install non-byte-compiled elisp files
Even when we're not able to byte-compile some elisp files (mu4e-transient,
mu4e-dbus), we should still install the corresponding el file, as the runtime
emacs may be able to use it.

Issue #2894.
2026-08-20 15:04:27 -07:00
e24c2c2826 mu4e-get-mail-command: improve documentation
Make a bit clearer and add an example of using a function.
2026-08-20 15:04:27 -07:00
c6f9257bd9 build: bump version to 1.12.14
New stable release.

Nothing too spectacular, but a various small tweaks:

- improved guix (and other systems) compatibility: make fewer assumptions about where system programs are
- documentations improvements, in manpages and the mu4e reference manual
- labels: better messages when importing
- scm: stabilize tests. tweaks api.
- mu4e: add mu4e-view-mark-and-next
- mu4e: mu4e-dbus-mode; a new experimental minor in which mu4e exposes some of
  its data over DBus.
2026-08-20 15:04:27 -07:00
a803eb77fd man/labels: update manpage
Small fixes, some clarifications.
2026-08-20 15:04:27 -07:00
2b6d709158 mu-labels: improve command-line handling
Esp., better handle the 'no subcommand' case: give the user some more useful
help.
2026-08-20 15:04:27 -07:00
fa6b26c366 man/labels: improve man-page
Improve text, fix some inaccuracies.
2026-08-20 15:04:27 -07:00
dc5bbd9884 labels: improve logging for import
Clear up the code a bit using the new logging functions.

Don't log a failure for "plan A" as an error, it just scares user unnecessarily.
2026-08-20 15:04:27 -07:00
f66b58cd41 utils: rework logging functions
Use a general mu_log which does the formatting, and specific mu_debug, mu_info
etc., to call it.
2026-08-20 15:04:27 -07:00
6099af565d scm: update example with time->string
Example was still using the obsolete name.

Fixes #2891
2026-08-20 15:04:27 -07:00
fa4ec511e2 build: bump version to 1.12.14-pre5 2026-08-20 15:04:27 -07:00
4ec222f653 mu4e: implement mu4e-dbus-mode
For emacsen that support DBus, implement mu4e-dbus-mode, an experimental mode to
make some mu4e runtime information available outside emacs.
2026-08-20 15:04:27 -07:00
043f0ce337 mu-scm: don't depend on dir order in tests
Some of the tests were using (mfind "") to find messages, but since some
messages don't have dates the order is implicitly defined by the directory
order. This usually works, but not always (i.e. guix).

So let's make the behavior deterministic.

Fixes #2888
2026-08-20 15:04:27 -07:00
b855a0dc93 scm: mention guix in manual
Fixes #2889.
2026-08-20 15:04:27 -07:00
8afef75b30 scm: add convenience methods root-maildir, personal-addresses
For a store, so to avoid assoc-ref.
2026-08-20 15:04:27 -07:00
52f44653b0 scm: return empty lists instead of #f for some methods
Some methods that returned lists would return ~#f~ when there were no
results (e.g., to, from, cc, bcc, references, labels); however, it's
nicer to return an empty list instead, which what we now do. Technically a
breaking change, but justified while we are still 'experimental'.
2026-08-20 15:04:27 -07:00
20efd31f3d build: bump version to 1.12.14-pre4 2026-08-20 15:04:27 -07:00
410ff46881 improve invoking external commands
- don't make assumptions on where programs live (i.e., /bin/sh, /bin/rm,
/bin/mv) are not universal
- dont invoke shell when unnecessary
- improve error-handling
2026-08-20 15:04:27 -07:00
9f69055ef9 test-mu-store: bump timeout in test
Seems some systems are quite slow, so bump the time-out.

Fixes #2886.
2026-08-20 15:04:27 -07:00
fae40680cc mu4e: update versions section in manual 2026-08-20 15:04:27 -07:00
804b1180fe mu-server: improve error message for temp-file
Make it clear what exactly could not be created.
2026-08-20 15:04:27 -07:00
9b3e21081e test-mu-message: use join_path for test-path
We were not doing that correctly, missing a "/" between dirname and filename.
2026-08-20 15:04:27 -07:00
5f7686a767 test-utils: fix some clang-tidy warnings 2026-08-20 15:04:27 -07:00
ad327d3acb test-utils: use remove_directory 2026-08-20 15:04:27 -07:00
d258c77661 utils/file: rework remove_directory, add test
Make remove_directory not much less ugly, but at least more robust, e.g., when
the "rm" binary is not at /bin/rm

Add unit test
2026-08-20 15:04:27 -07:00
95843d4e8a build: bump version to 1.12.14-pre3
Unlike earlier development releases, we use the "pre"` suffix, so 1.12.14-pre3
rather than 1.12.14-dev3. This for compatibility with the version-to-string
Elisp function that some external programs use to parse version information.
2026-08-20 15:04:27 -07:00
c1181be157 Makefile: small tweaks 2026-08-20 15:04:27 -07:00
4acf708eb9 logging: don't g_message with --quiet
When `--quiet` is passed (and not --debug), do not log with g_message at
startup.
2026-08-20 15:04:27 -07:00
976b6210fc message: ensure message text is valid utf8
Seems this is not guaranteed, so convert if needed.
2026-08-20 15:04:27 -07:00
5c6642c9b9 utils: add utf8_clean helper
To morph text into valid utf8 if it isn't already.
2026-08-20 15:04:27 -07:00
78539e8900 Fixed some broken links. 2026-08-20 15:04:27 -07:00
612038d75a Fixed some typos. 2026-08-20 15:04:27 -07:00
b177bb1589 Add the mu4e-view-mark-and-next function. 2026-08-20 15:04:27 -07:00
b021b1e85c mu4e.texi: make reply-to-self avoidance clearer
Move near where it's useful

Fixes #2876
2026-08-20 15:04:27 -07:00
3534a9fee9 mu4e.texi: update doc for mu4e-view-mime-parts
mu4e-view-for-each-part is long gone.

Fixes #2877.
2026-08-20 15:04:27 -07:00
f7448ff7b5 mu4e-helpers: restore missing mu4e-get-time-date
It was in use in mu4e-headers-custom-markers, but somehow got lost back in 2021,
it seems. Restore it.

Fixes #2879.
2026-08-20 15:04:27 -07:00
52fe171788 mu4e-quit: improve docstring 2026-08-20 15:04:27 -07:00
23e16f7c41 mu4e-folders: improve mu4e-maildir-shortcuts docstring
... and :type
2026-08-20 15:04:27 -07:00
e3ec84386c Mainly typo and grammar fixes. 2026-08-20 15:04:27 -07:00
017e6c237e Em dashes everywhere instead of en dashes for consistency 2026-08-20 15:04:27 -07:00
db375d8841 Avoid using @xref in the middle of a sentence to avoid the capitalized "See"
word.
2026-08-20 15:04:27 -07:00