Commit Graph

7013 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema daf303d444 mu4e-window: fix mu4e--get-current-buffer-type
The change for emacs 30.x does not work for older emacs versions...
2023-12-04 18:52:50 +02:00
Dirk-Jan C. Binnema 526d49f70c mu4e-compose: attempt to delete frame after done with composition
Attempt to delete the frame when
a) it's not the last frame, and
b) there's only a single window on the frame

Fixes #2577
2023-12-04 19:25:55 +02:00
Dirk-Jan C. Binnema 730bd13ea2 mu4e-compose: ensure we switch to composition buffer
When we're done with the setup.

Fixes #2605.
2023-12-02 17:45:51 +02:00
Dirk-Jan C. Binnema d488ab2641 mu4e-compose: combine mu4e-compose-new and mu4e-compose-mail
No need for duplication.
2023-12-02 17:45:51 +02:00
Dirk-Jan C. Binnema 20e44f0fb6
Merge pull request #2599 from a3a3el/reproducilble-build-fix
man: fix unreproducible copyright years
2023-12-02 17:41:03 +02:00
Dirk-Jan C. Binnema 8c26edf656 build: bump version to 1.11.26 2023-12-01 19:11:56 +02:00
Dirk-Jan C. Binnema 4ea450c29f mu4e: update documentation 2023-12-01 19:11:56 +02:00
Dirk-Jan C. Binnema 8e52ef6a7c build: add some fortification flags 2023-12-01 19:11:56 +02:00
Dirk-Jan C. Binnema 149ec143ba mu4e-compose: remove crs from message when decoding
This fixes e.g. forwarding for some mesasges that contain CRs.
2023-12-01 19:11:56 +02:00
Dirk-Jan C. Binnema 18efe9a955 mu4e-compose: improve mu4e-message-kill-buffer
Try to go back to the buffer we were in before. HT: @thierryvolpiatto

Fixes #2600.
2023-11-30 22:16:04 +02:00
Dirk-Jan C. Binnema f3606c0352 mu4e-compose: rework message handling
A number of change in message composition:

Clean up some of the handling function, in particular, only include
headers in mu4e--decoded-message when that is all that's needed.

When forwarding messages, make sure message-reply-headers is filled with
the values for the to-be-forwarded message so the references etc. get
filled correctly.

Fixes #2603
2023-11-30 22:14:36 +02:00
Dirk-Jan C. Binnema 14d9f7ccce mu4e-window: update derived-mode-p call
Don't use the deprecated calling convention
2023-11-30 19:05:34 +02:00
Dirk-Jan C. Binnema dcd3fbb41a
Merge pull request #2602 from progfolio/fix/mu4e-compose-reply
mu4e-compose-reply: account for nil REPLY-TYPE in assertion
2023-11-22 23:21:50 +02:00
Nicholas Vollmer 4ab0ae5565 mu4e-compose-reply: account for nil REPLY-TYPE in assertion
Previous assertion would fail when REPLY-TYPE is nil, but nil is a valid value
for the argument.

See: https://github.com/djcb/mu/issues/2601
2023-11-22 16:10:08 -05:00
Dirk-Jan C. Binnema fa0248a361 mu4e-view: unfold threads when working in headers-context
It's a bit hard otherwise to keep headers/article in sync.

Fixes #2498.
2023-11-22 21:41:02 +02:00
Dirk-Jan C. Binnema 087d06c5d3 mu4e-compose: implement mu4e-compose-supersede
Hook up `message-supersede` which you can /supersede/ your own messages;
that is, send the message as kind-of reply to the same recipients. This
only works if you were the sender.

This should help for #2584.
2023-11-22 21:41:02 +02:00
Jeremy Sowden c9b06a55e7 man: fix unreproducible copyright years
967b724e75 ("build: avoid dynamic dates for reproducibility")
introduced the `mu_date` variable to hard-code a build-date.  This is
used for the dates embedded in the texinfo documentation, but `date` is
still called to set the copyright years in the man-pages.  Use `mu_date`
there too.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
2023-11-19 12:30:34 +00:00
Dirk-Jan C. Binnema e0826d10b1 mu4e-contacts: fix some noise
Fixes #2598.
2023-11-18 19:12:29 +02:00
Dirk-Jan C. Binnema 3a506846f9 mu4e-view: do not bind message-alternative-emails recursively
Fixes #2597.
2023-11-16 19:03:13 +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 d9f7b295b4 build: bump version to 1.11.25 2023-11-15 15:56:58 +02:00
Dirk-Jan C. Binnema 1936d4eec3 mu4e-compose: ensure message-mail-user-agent is nil
Unbreak some user setups

Fixes #2596.
2023-11-15 15:52:58 +02:00
Dirk-Jan C. Binnema 08ebe87f81 mu4e-view: fix typo
a rogue ' snuck in.
2023-11-13 10:42:04 +02:00
Dirk-Jan C. Binnema 17ea8bd613 mu4e: fix background mu4e
Fixes #2593.
2023-11-12 23:29:51 +02:00
Dirk-Jan C. Binnema e71640fdfa mu4e-view: tidy-up mu4e-view-message-text 2023-11-12 23:29:51 +02:00
Dirk-Jan C. Binnema 3c19613cf0
Merge pull request #2594 from Chris00/master
mu4e-compose-mail: fix the number of parameters of the closure
2023-11-12 23:15:17 +02:00
Dirk-Jan C. Binnema 90c5d859e8
Merge pull request #2592 from creichen/master
When re-tagging, force `replace-match' to preserve case
2023-11-12 23:14:13 +02:00
Christophe Troestler 8d8a5a9844 mu4e-compose-mail: fix the number of parameters of the closure 2023-11-12 21:09:24 +01:00
Christoph Reichenbach 490dc8869b When re-tagging, force `replace-match' to preserve case
Sets the second parameter to `replace-match' to t, thus forcing it to
not attempt to auto-adjust the case of any tags.
2023-11-12 10:51:47 +00:00
Dirk-Jan C. Binnema a720c9cb1c mu4e-compose: split citing / header extraction
We use a body from mu4e-view-message-text for citing, and
mu4e--decoded-message for header extraction.

There's room for some refactoring.
2023-11-10 16:47:34 +02:00
Dirk-Jan C. Binnema 117600ef20 mu4e-main: cosmetics / docs 2023-11-10 16:47:23 +02:00
Dirk-Jan C. Binnema 2058f15506 mu4e: improve startup routine
Switch to main buffer if it already exists, in the non-background case.
2023-11-10 16:47:23 +02:00
Dirk-Jan C. Binnema 171fe9a018 mu4e-compose: add missing arg to mu4e-compose-new lambda 2023-11-08 18:18:47 +02:00
Dirk-Jan C. Binnema 30a78d3cb9 mu4e-compose: use raw message for "forward"
Not the decoded one.
2023-11-08 15:33:47 +02:00
Dirk-Jan C. Binnema 4845872118
Merge pull request #2591 from Chris00/master
Fix mu4e-compose-mail and some warnings
2023-11-08 15:33:18 +02:00
Christophe Troestler 0941b37fcc Fix mu4e-compose-mail 2023-11-08 10:00:16 +01:00
Christophe Troestler d19c78f30d mu4e: Fix warnings in contrib 2023-11-08 10:00:06 +01:00
Dirk-Jan C. Binnema ea7c05c183 mu4e-compose: implement mu4e--decoded-message
Instead of mu4e-view-message-text, use a more targeted approach that
does just enough to get a decoded message with all the headers, which we
can use for replying.
2023-11-07 16:40:09 +02:00
Dirk-Jan C. Binnema c76c410256 mu4e: always include message-id in mu4e-view-message-text
Regardless of mu4e-view-headers; and ensure the message-id is in
<brackets>.
2023-11-05 17:52:14 +02:00
Dirk-Jan C. Binnema 556396bb85 mu4e-compose: explicitly generate-headers
Ongoing troubles with this, and apparently some differences between
Emacs versions (?).

Explicitly generated the needed headers.
2023-11-05 16:47:08 +02:00
Dirk-Jan C. Binnema dfe28f033a mu4e-view: do full render in mu4e-view-message-text
Otherwise decoding does not work correctly.
2023-11-04 23:38:02 +02:00
Dirk-Jan C. Binnema a551aaa694 mu4e-compose: rework header insertion
Clean up the composition pipeline a bit, and set
message-generate-headers-first explicitly.

Hide headers later.
2023-11-04 23:38:02 +02:00
Dirk-Jan C. Binnema c3bc50bd02 mu4e-view: assign gnus-article-buffer in mu4e-view-mode
Some external programs (such as bbdb) seems to depend on that.
2023-11-04 11:16:24 +02:00
Dirk-Jan C. Binnema afb98aa62f
Merge pull request #2585 from a3a3el/feature/best-compression-for-info-file
build: use best compression when installing info
2023-11-04 11:15:52 +02:00
Jeremy Sowden 548abdac76 build: use best compression when installing info 2023-11-03 21:02:42 +00:00
Dirk-Jan C. Binnema 14c2b373eb mu-move: fix compiler warning 2023-11-03 21:17:43 +02:00
Dirk-Jan C. Binnema 8abf0983fd mu4e-compose: make draft-editing work in new setup
Move around initialization a bit so we can use it for draft-editing as
well.
2023-11-03 21:17:43 +02:00
Dirk-Jan C. Binnema b428d9702e mu4e-compose: make mu4e-compose-dont-reply-to-self obsolete
Doesn't really fit in nicely with the new composer; update NEWS.org,
manual for users to migrate.
2023-11-03 21:17:43 +02:00
Dirk-Jan C. Binnema 541c818a9f mu4e-compose: include references / in-reply-to
For replies and forwarded messages.
2023-11-02 22:21:10 +02:00
Dirk-Jan C. Binnema 5b29ad8b6d mu4e-compose: use seq-filter instead of seq-keep
seq-keep is only arrived with emacs 29, and seq-filter does the job
2023-11-01 19:46:47 +02:00