Commit Graph

7472 Commits

Author SHA1 Message Date
62e4b079e4 Merge pull request #2795 from xuhdev/swap-fold
Fix a potentially misnamed function
2025-01-23 08:44:17 +02:00
b8bb92241b mu4e: add autoload cookie for mu4e-org-store-link 2025-01-23 08:39:47 +02:00
8cca957f49 Merge pull request #2798 from josephmturner/fix/autoload-mu4e-org
mu4e-org: autoload org-link-set-parameters
2025-01-23 08:38:04 +02:00
71101c3ee4 mu4e-org: autoload org-link-set-parameters
With this change, mu4e: links now load mu4e if it wasn't loaded already.
2025-01-22 22:15:40 -08:00
5ab6d6c6c3 mu-find: use correct summary-len 2025-01-20 20:40:21 +02:00
a93a41f8ee mu4e: implement experimental transient menu
Add a first version of a "transient" menu for mu4e. It's just a starting
point. It's not yet bound to any key, but you could e.g. add

(require 'mu4e-transient)
(global-set-key (kbd "C-c m") #'mu4e-transient-menu)
2025-01-15 23:02:47 +02:00
29816d5952 mu4e: improve mu4e--message-is-yours-p
Ensure we can use both from headers view and message view.

This helps with "supersede".
2025-01-15 22:02:05 +02:00
74108100d6 build: include IDEAS.org, mu4e command
Include the IDEAS.org with installed data; add a command mu4e-ideas.
2025-01-15 19:24:32 +02:00
e2cd37eaf5 mu-info: add example for ref:, thread: 2025-01-13 22:11:58 +02:00
21d9819eda NEWS.org: updated 2025-01-08 22:12:47 +02:00
0f49fa055c mu4e: add mu4e-analyze-last-query
Add some mu4e command to show the query as analyzed by the server.
2025-01-08 22:12:47 +02:00
5e2b7d52b2 mu-query.7: update documentation
In particular, regex searches.
2025-01-08 22:12:47 +02:00
f54e0c0476 mu-query-parser: cosmetic 2025-01-08 22:12:47 +02:00
5f8e0b71f0 server: make parsed queries available to mu4e
Basically, make the "mu find .... --analyze" information available in
mu4e, through a function mu4e-server-last-query.

This is shows the query as the server saw it, as well as the parse
s-expressions. This can be useful to see how some query is interpreted.
2025-01-08 22:12:47 +02:00
b389160066 mu4e-server: cosmetics 2025-01-08 22:12:47 +02:00
0bec3ed24a NEWS.org: update 2025-01-08 22:12:47 +02:00
f0a25df45e IDEAS.org: add multiple-reply-at-once-idea
Fixes #2799.
2025-01-08 22:12:47 +02:00
fc246f72a3 Merge pull request #2801 from bauermann/fix-msg-body
guile: Fix the mu:body message method
2025-01-08 22:12:19 +02:00
51137998db mu4e: Update references to :body-txt and :body-html
Most are in comments, but one is in code.
2025-01-04 20:52:02 -03:00
606f4be74b guile: Fix the mu:body message method
Somewhere along the way, the body-txt and body-html fields were merged
into a single body field. Later, commit 8eac392221 ("guile: re-enable
the guile support") finally removed support for Field::Id::BodyHtml from
mu:c:get-field.

Unfortunately mu.scm and the documentation are still stuck in the past, so
update them. mu:body-txt is now a synonym for mu:body, and mu:body-html
always returns #f.

I wanted to add a mu:body test also for the rfc822.1 message, but there's
currently a bug where its body text is is duplicated (issue #2802), so the
test would fail.
2025-01-04 20:51:14 -03:00
a703f00214 guile: tests: Fix encoding of "atomic" message
It's stated to be US-ASCII with 7-bit encoding, but it contains the
UTF-8 character '—'.

Fixing the encoding very slightly changes the average size of messages
reported by mu:average, so adjust the new expected value.
2025-01-03 16:33:06 -03:00
8c0f136a50 build: bump version to 1.12.8 2024-12-17 22:05:03 +02:00
407c6189f4 doc: updates 2024-12-17 20:33:28 +02:00
88e4beaaa6 mu4e.texi: update
Some update regarding replying unquoted contacts and some small
cleanups.
2024-12-15 10:51:31 +02:00
d7078ad09c NEWS.org: update 2024-12-14 11:40:27 +02:00
bd6a862f20 mu4e: add mu4e-trash-without-flag
Allow trashing with adding the T flag.
2024-12-12 23:16:37 +02:00
884b3e03c9 Fix a potentially misnamed function
`(add-hook 'mu4e-thread-mode-hook #'mu4e-thread-fold-apply-all)` doesn't
seem to fold threads. Did you mean `(add-hook 'mu4e-thread-mode-hook #'mu4e-thread-fold-all)`?
2024-12-10 20:10:04 -08:00
3accb5f2f5 NEWS.org: improve 2024-12-09 21:54:57 +02:00
1e940c81e8 mu4e-view: add mu4e-view-jump-to-mime-part
This allows for jumping to the MIME-part by number; a thin wrapper over
the Gnus functionality.
2024-12-09 18:27:28 +02:00
18fe56a742 mu4e-view: cosmetics 2024-12-09 18:27:28 +02:00
d8d5e4cca5 options: do not canonicalize maildir-path
This doesn't play well with shells that don't expand options (such as
bash) in combination with "ExpandPath".

Fixes #2793.
2024-12-09 18:27:15 +02:00
dee7e5951c utils-file: add unit-test for expand_file 2024-12-09 19:41:58 +02:00
6198732154 NEWS.org: update 2024-12-07 19:42:28 +02:00
5257ebcdf5 mu4e-draft: add some logging to mu4e--set-parent-flags
Also a little refactoring.

This should hopefully help with diagnosing #2478.
2024-12-07 19:40:33 +02:00
0e0d4a0cb6 mu-sexp: add -unix output for json tstamps
The json output (for mu-find etc.) just showed the converted sexp
output, including the clumsy emacs-style tstamps (for changed/date).

Add unix timestamps as well, which are easier to work with outside
emacs.

This handles #2770.
2024-12-07 12:14:55 +02:00
646ad2e840 lib/utils: include fmt/xchar.h
Needed for 'join'
2024-12-06 20:14:11 +02:00
030daeed52 thirdparty/fmt: bump to 11.0.2 2024-12-06 20:09:31 +02:00
6166b435d2 thirdparty/cli11: bump to v2.4.2 2024-12-06 20:01:39 +02:00
49606a76ab mu4e: cosmetics 2024-12-06 19:50:10 +02:00
e14b5a3a48 mu4e: tweak manual for mode-line counts
Fixes #2791.
2024-12-06 19:49:38 +02:00
454cfe3ea6 mu4e: add mu4e-view-mime-parts
Add a special mode for setting the gnus parameters to have images shown
/ buttonized so they can be saved etc.

Fixes #2516.
2024-12-06 19:47:55 +02:00
1b2d9d3847 mu-find: insist on --linksdir for links
Fixes #2790.
2024-12-04 23:18:15 +02:00
ffb3563f11 mu4e: add mu4e-uniquify-save-file-name-function
Make the function to create a new file for saving customizable.
2024-12-04 22:29:12 +02:00
a34a26a5a8 IDEAS.org: include #2787.
Fixes #2787
2024-12-03 22:38:13 +02:00
2341e3d8cb NEWS.org: update 2024-12-03 22:14:30 +02:00
df30f7ed31 mu4e-mime-parts: warn when saving files matching crm-separator
When files contain crm-separator (by default, some comma with option
whitespace), we cannot use mu4e-view-save-attachments since the emacs'
completion mechanism gets confused.

Luckily, we can still use mu4e-view-mime-part-action instead (which uses
numbers for files).
2024-12-03 22:14:30 +02:00
8fefc52eee query: add related: combi-field + test
Add a new combination (pseudo) field "related:", which combines
"message-id" and "references"
2024-12-02 11:43:14 +02:00
05be072676 man: improve mu-query manpage 2024-12-01 23:45:28 +02:00
ed4d0f5e9d tests: add tests for ref: searching 2024-12-01 23:27:32 +02:00
8c7db59972 fields: make combi-fields introspectable
And add the display of combination-fields to 'mu info fields'.
2024-11-30 22:58:15 +02:00