Commit Graph

22 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 6a4d6a49c4 mu4e-compose: split off parts in mu4e-draft; rework
Move draft-creation part of message-composition to a new file
mu4e-drafts

However, this is more than just some refactoring: rework the
message (draft) setup as such to ensure we always get a (non-active,
live) buffer back from the composition process.

This also fixes

(progn
  (compose-mail "test@example.org" "Test")
  (insert "TEST"))

as mentioned on the mailing list.

Fixes #2699
2024-04-26 22:59:48 +03:00
Dirk-Jan C. Binnema 770a2396de mu4e-obsolete: add alias for mu4e-clear-caches
The function was already marked as obsolete, but did not have
an alias yet; add it now.
2024-04-01 00:01:51 +03:00
Dirk-Jan C. Binnema fba0828e49 mu4e: set gnus-icalendar-setup as alias for mu4e-icalendar-setup 2024-03-19 21:53:39 +02:00
Dirk-Jan C. Binnema 1999d9e6ef compose: remove server-side handling
It's no longer needed: composition happens on the mu4e side only (until
a message is saved).
2023-12-29 23:23:13 +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 b1587607e1 mu4e: obsolete some compose vars, update NEWS.org
We can re-use the existing implementations.
2023-10-31 19:45:17 +02:00
Dirk-Jan C. Binnema 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
Dirk-Jan C. Binnema 8fc13ab8f3 mu4e: Shorten descriptions a bit 2023-09-20 22:31:19 +03:00
Thierry Volpiatto 67c8ff75a7 Fix missing or incorrect descriptions in file headers
Try to make useful descriptions and use conventional --- to separate filename
from description.
2023-09-20 22:04:48 +03:00
Dirk-Jan C. Binnema f73aad2b41 better handle maildir cache
- get an updated maildir list after indexing
- add mu4e-added items to the list opportunistically

Remove mu4e-clear-caches / mu4e-cache-maildir-list to mu4e-obsolete.el

Fixes #2537.
2023-08-19 20:04:50 +03:00
Dirk-Jan C. Binnema 6307a0db90 mu4e: mark-mu4e-quote-for-modeline obsolete
Becoming an internal function, mu4e--modeline-quote-and-truncate
2023-01-18 00:15:40 +02:00
Dirk-Jan C. Binnema b11293147f mu4e: move mu4e~headers-jump-to-maildir to search
... to mu4e-search-maildir.

Where we can, we move appropriate code from the overpopulated
mu4e-headers.el to mu4e-search, and update users.
2023-01-09 22:43:39 +02:00
Dirk-Jan C. Binnema f77bc903e7 mu4e: move modeline handling from mu4e-headers to mu4e-search 2023-01-08 13:31:51 +02:00
Dirk-Jan C. Binnema 49e094531c mu4e: add support for :favorite bookmark
Show favorite bookmark in main-screen (highlighted)

Add baseline-reset when main screen is shown or when the favority
bookmark is searched.

Some code cleanup
2023-01-07 15:40:30 +02:00
Dirk-Jan C. Binnema 4b78449b62 mu4e: use define-obsolete-variable-alias 2023-01-03 23:18:44 +02:00
Dirk-Jan C. Binnema 9f1e626ef7 mu4e: move some more variables from headers->search
We were incomplete.
2023-01-03 23:08:17 +02:00
Dirk-Jan C. Binnema b7b97212ce mu4e: move search functionality to mu4e-search
Move out of mu4e-headers; rename variables and callers.
2023-01-01 15:01:08 +02:00
Dirk-Jan C. Binnema 34815a1961 mu4e: use mu4e-view-rendered-hook
Instead of the older mu4e-after-view-message-hook; update version where
it go obsolete.
2022-12-15 11:52:50 +02:00
Dirk-Jan C. Binnema 56d8f4cd25 mu4e: rename mu4e-after-view-message-hook into mu4e-view-rendered-hook
For consistency.
2022-12-15 00:05:26 +02:00
Dirk-Jan C. Binnema 2dca07612c mu4e-obsolete: make mu4e-headers-toggle-* obsolete
... for the new mu4e-headers-toggle-property
2022-12-11 13:56:12 +02:00
Dirk-Jan C. Binnema f0e973f8c5 mu4e-obsolete: whitespace fixes 2022-12-11 13:55:38 +02:00
Dirk-Jan C. Binnema fafc7d3bf6 mu4e: include mu4e-obsolete.el
Fixes #2324.
2022-08-23 19:33:49 +03:00