Commit Graph

2481 Commits

Author SHA1 Message Date
3a506846f9 mu4e-view: do not bind message-alternative-emails recursively
Fixes #2597.
2023-11-16 19:03:13 +02:00
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
1936d4eec3 mu4e-compose: ensure message-mail-user-agent is nil
Unbreak some user setups

Fixes #2596.
2023-11-15 15:52:58 +02:00
08ebe87f81 mu4e-view: fix typo
a rogue ' snuck in.
2023-11-13 10:42:04 +02:00
17ea8bd613 mu4e: fix background mu4e
Fixes #2593.
2023-11-12 23:29:51 +02:00
e71640fdfa mu4e-view: tidy-up mu4e-view-message-text 2023-11-12 23:29:51 +02:00
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
8d8a5a9844 mu4e-compose-mail: fix the number of parameters of the closure 2023-11-12 21:09:24 +01:00
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
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
117600ef20 mu4e-main: cosmetics / docs 2023-11-10 16:47:23 +02:00
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
171fe9a018 mu4e-compose: add missing arg to mu4e-compose-new lambda 2023-11-08 18:18:47 +02:00
30a78d3cb9 mu4e-compose: use raw message for "forward"
Not the decoded one.
2023-11-08 15:33:47 +02:00
0941b37fcc Fix mu4e-compose-mail 2023-11-08 10:00:16 +01:00
d19c78f30d mu4e: Fix warnings in contrib 2023-11-08 10:00:06 +01:00
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
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
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
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
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
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
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
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
541c818a9f mu4e-compose: include references / in-reply-to
For replies and forwarded messages.
2023-11-02 22:21:10 +02:00
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
9f39d78a71 mu4e-compose: use decoded message for replying
Or From: etc. would use some undecoded version with some
=?iso-8859-1?Q?.... blobs.
2023-11-01 19:46:47 +02:00
79281256a6 mu4e: make defvar mu4e-view-completion-minor-mode-map
So users can customize it.
2023-11-01 18:42:23 +02:00
b1587607e1 mu4e: obsolete some compose vars, update NEWS.org
We can re-use the existing implementations.
2023-10-31 19:45:17 +02:00
a02ef7bb07 mu4e-search: allow updating keymap for minor mode 2023-10-30 22:55:42 +02:00
a696902c34 mu4e-compose: allow updating keymap for minor mode 2023-10-30 22:55:42 +02:00
eee73f8199 mu4e: better handle alternative address
In compose / contacts
2023-10-29 17:16:05 +02:00
00191a3ec7 mu4e: improve mu4e-compose-dont-reply-to-self handling
Use mu4e-personal-or-alternative-address to decide on whether an address
belongs to "this user". Update docs.
2023-10-29 17:15:35 +02:00
ea78fab0ef mu4e-view: remove ^M from raw message
They can cause rendering issues later.
2023-10-29 17:15:35 +02:00
b30e774c12 mu4e: update documentation 2023-10-29 17:15:35 +02:00
61c8067491 mu4e-compose: add in-reply-to when needed
Was missing.
2023-10-26 18:34:07 +03:00
8be95f2616 mu4e-icalendar: update for new composer
Rework a bit for the new composer; and make the calendar-support
"built-in".
2023-10-25 22:05:06 +03:00
b2f3a63a3a mu4e.texi: update composer documentationx 2023-10-25 22:05:06 +03:00
84b50fb10f mu4e-window: let composer handle buffer creation
Fits better with how emacs does it.
2023-10-25 22:05:06 +03:00
13d068f183 mu4e: update headers/view for new composer 2023-10-25 22:05:06 +03:00
85bfe76336 mu4e-compose: overhaul message composer
This is a new composer sub-system, which more closely follows
Gnus/message; in particular, we let gnus take care of creating draft
messages.

This reduces code size and allows us to re-use some of the more advanced
features.

There are a number of user-visible changes:

- `mu4e-compose-resend' directly uses `message-resend', so there is no
  more editing phase (which used to be a bit broken with re-encoding
  MIME messages.
2023-10-25 22:05:06 +03:00
24f1fe8d45 mu4e-contacts: add mu4e-personal-or-alternative-address 2023-10-23 17:24:44 +03:00
4392d4e308 Fix completion w other keys than quick key 2023-10-18 16:25:52 +02:00
967b724e75 build: avoid dynamic dates for reproducibility
We were using dates (in documentation, (c) notices etc) based on the
build-date; that makes it hard to do reproducible builds, so specify a
specific date in the top-level meson file, and use that throughout.
2023-10-14 15:24:00 +03:00
c021433519 mu4e-headers: switch buffer to search results
..except for 'background searches', such as the one after re-indexing.

Fixes #2545.
2023-10-07 08:16:33 +03:00
2c4c3d8d7c mu4e/meson.build: more tweaking to avoid warnings 2023-10-07 00:18:56 +03:00
1bc9d6b515 mu4e: get rid of load-prefer-newer t
This triggered what I think is a bug/limitation in emacs; move the
source files to the build dir _after_ byte-compiling so we don't need
load-prefer-newer to avoid build warnings.

Fixes #2565.
2023-10-05 08:44:11 +03:00
4d11abd1ca mu4e-view: ignore decoding errors
We can't do much about them; still attempt to show the message.

Fixes #2561.
2023-10-05 08:44:11 +03:00
27619a2220 Fix defcustom :type of mu4e-headers-leave-behavior
The const values of the choice had the wrong order `(const :tag <value> <text>)`.
The correct order is `(const :tag <text> <value>)`.
2023-09-28 11:52:39 +02:00
3dad743e16 mu4e-mark: avoid byte-compiler warning 2023-09-21 23:58:55 +03:00