Commit Graph

2330 Commits

Author SHA1 Message Date
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 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
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
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 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
Dirk-Jan C. Binnema 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
Dirk-Jan C. Binnema 79281256a6 mu4e: make defvar mu4e-view-completion-minor-mode-map
So users can customize it.
2023-11-01 18:42:23 +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 a02ef7bb07 mu4e-search: allow updating keymap for minor mode 2023-10-30 22:55:42 +02:00
Dirk-Jan C. Binnema a696902c34 mu4e-compose: allow updating keymap for minor mode 2023-10-30 22:55:42 +02:00
Dirk-Jan C. Binnema eee73f8199 mu4e: better handle alternative address
In compose / contacts
2023-10-29 17:16:05 +02:00
Dirk-Jan C. Binnema 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
Dirk-Jan C. Binnema ea78fab0ef mu4e-view: remove ^M from raw message
They can cause rendering issues later.
2023-10-29 17:15:35 +02:00
Dirk-Jan C. Binnema b30e774c12 mu4e: update documentation 2023-10-29 17:15:35 +02:00
Dirk-Jan C. Binnema 61c8067491 mu4e-compose: add in-reply-to when needed
Was missing.
2023-10-26 18:34:07 +03:00
Dirk-Jan C. Binnema 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
Dirk-Jan C. Binnema b2f3a63a3a mu4e.texi: update composer documentationx 2023-10-25 22:05:06 +03:00
Dirk-Jan C. Binnema 84b50fb10f mu4e-window: let composer handle buffer creation
Fits better with how emacs does it.
2023-10-25 22:05:06 +03:00
Dirk-Jan C. Binnema 13d068f183 mu4e: update headers/view for new composer 2023-10-25 22:05:06 +03: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 24f1fe8d45 mu4e-contacts: add mu4e-personal-or-alternative-address 2023-10-23 17:24:44 +03:00
reindert 4392d4e308 Fix completion w other keys than quick key 2023-10-18 16:25:52 +02:00
Dirk-Jan C. Binnema 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
Dirk-Jan C. Binnema 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
Dirk-Jan C. Binnema 2c4c3d8d7c mu4e/meson.build: more tweaking to avoid warnings 2023-10-07 00:18:56 +03:00
Dirk-Jan C. Binnema 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
Dirk-Jan C. Binnema 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
Tassilo Horn 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
Dirk-Jan C. Binnema 3dad743e16 mu4e-mark: avoid byte-compiler warning 2023-09-21 23:58:55 +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 b01973205d infodir: allow absolute path
Fixes #2548
2023-09-05 08:34:27 +03:00
Nicholas Vollmer 579ef175a9 mu4e: use special-mode for mu4e-last-update-buffer
This buffer is not intended to be edited.
Special mode also allows quickly dismissing via the quit-window binding.
2023-08-31 12:52:30 -04:00
Dirk-Jan C. Binnema 82152d7fb3
Merge pull request #2546 from progfolio/feat/thread-prefix-face
mu4e: propertize thread prefix characters
2023-08-31 18:49:10 +03:00
Nicholas Vollmer 375e684ce6 mu4e: propertize thread prefix characters
Brings visual consistency to unfolded threads.
2023-08-31 11:12:15 -04:00
Dirk-Jan C. Binnema 7859268202 Revert "mu4e-headers: switch to buffer on current frame"
This reverts commit 11b7e5748c.

The change has some unpleasant side-effect (switching to the headers
buffer from whatever you are doing); needs some more thought.
2023-08-31 10:02:36 +03:00
Dirk-Jan C. Binnema 11b7e5748c mu4e-headers: switch to buffer on current frame
We were possible showing the headers on _another_ frame, which is rather
confusing.

HT: Marcel van der Boom.

Fixes #2545
2023-08-30 18:50:15 +03:00
Dirk-Jan C. Binnema c4a141975e mu4e-view: remove 'describe bindings' override
Not sure where it was there in the first place

Fixes #2541.
2023-08-24 23:28:59 +03:00
Lin Jian 842027fadd
mu4e: generate mu4e-autoloads.el
This file can be used by package.el.
2023-08-24 05:41:14 +08:00
Lin Jian 00f7053d51
mu4e: add mu4e-pkg.el
This file provides information needed by package.el.
2023-08-24 05:41:05 +08:00
Lin Jian e94bf408f2
mu4e: remove mu4e-builddir
It is not used.
2023-08-23 08:08:55 +08: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 5dcdb88806 mu4e-server: use updated handling for tempfile handling
Update for the server updates, to handle temp-file / normal args uniformly
2023-08-17 22:42:25 +03:00
Dirk-Jan C. Binnema c554e5194a mu4e: get maildirs from server
We were determining the list of maildirs using, but his is rather *slow*.
So instead, get it from the server, through a "data" call.
2023-08-17 22:42:25 +03:00
Christophe Troestler 3d0120d024 Don't use the original message `To` for a reply `To` field
Fixes https://github.com/djcb/mu/issues/2535
2023-08-16 23:03:06 +02:00
Dirk-Jan C. Binnema 677a6d3882 mu4e-search-query: include unread counts if available
In the completion annotation.
2023-08-10 17:11:24 +03:00
Dirk-Jan C. Binnema dd5d5e6bbf mu4e: fix byte-compiler warnings 2023-08-10 09:14:07 +03:00
Dirk-Jan C. Binnema 4dcd457b7f mu4e-update: small doc improvement 2023-08-09 23:24:47 +03:00
Dirk-Jan C. Binnema d5129052df mu4e: implement mu4e-search-query
Pick a query using completing-read with a new command mu4e-search-query.
Update docs.
2023-08-09 23:24:47 +03:00
Dirk-Jan C. Binnema 40a73c70f2
Merge pull request #2530 from danielfleischer/to-cc-pr
To/Cc Lists fix
2023-08-09 23:23:22 +03:00
Dirk-Jan C. Binnema 31bb84182b mu4e: add prefix arg to mu4e-quit
Remove mu4e-main-quit-or-bury and simply update mu4e-quit
to take a prefix which, if non-nil, make mu4e-quit
bury the buffer rather than quite mu4e.

Also make the mu4e check for an existing mu4e buffer, and if found,
switch to it rather start mu4e.
2023-08-07 23:15:48 +03:00
Dirk-Jan C. Binnema ab96211799 mu4e-mime-parts: use mm-handle-filename
So we get filenames in some cases we were missing
2023-08-06 23:24:12 +03:00
Daniel Fleischer 8b2437fc69
mu4e-draft: changes in to/cc lists creation
- Bug fix.
- Reply-all consistency, related to #2524
2023-08-06 18:44:10 +03:00
Dirk-Jan C. Binnema 7c85b61944 mu4e-server: enable mu4e-mu-allow-temp-file optimization
Add a new configuration variable mu4e-mu-allow-temp-file, t by default,
which triggers the same optimization in the mu server.

It improves message rendering speed:

I.e. without:
  [mu4e] Found 500 matching messages; 0 hidden; search: 1298.0 ms (2.60 ms/msg); render: 642.1 ms (1.28 ms/msg)
with:
  [mu4e] Found 500 matching messages; 0 hidden; search: 1152.7 ms (2.31 ms/msg); render: 270.1 ms (0.54 ms/msg)

As a useful side-effect, this also:
Fixes #1802.
2023-08-04 00:09:02 +03:00
Dirk-Jan C. Binnema 0ace413f80 mu4e-headers: don't auto-update header with message open
Avoid removing a message that's potentially being looked at.

Fixes #1055
Fixes #1981
2023-08-04 00:08:30 +03:00
Dirk-Jan C. Binnema 890fc46da9 mu4e-update: save last update results in *mu4e-last-update*
This can be useful for diagnosis.

Fixes #2455
2023-08-03 19:48:49 +03:00
Dirk-Jan C. Binnema 2f98dacade mu4e/mu4e.texi: fix external links in html
Fixes #2182.
2023-08-03 19:48:49 +03:00
Dirk-Jan C. Binnema c9b64a0114 mu4e-compose: jit-start mu4e in mu4e-compose
Just in case it wasn't running yet.

Fixes #2526
2023-07-28 19:35:39 +03:00
Dirk-Jan C. Binnema 224bbfe5cc
Merge pull request #2521 from mssdvd/add-default-notification-action
mu4e-notifications: add default action
2023-07-18 19:06:33 +03:00
Dirk-Jan C. Binnema 535ab6e010 mu4e-view: avoid getting gnus markers in m-v-message-text
We don't need that here (when replying to email).
2023-07-18 18:31:48 +03:00
Davide Masserut 7cc4804d47 mu4e-notifications: add default action 2023-07-18 12:18:54 +02:00
Dirk-Jan C. Binnema 56cea76b8d mu4e-view: don't set gnus-article-emulate-mime by default
This triggers excessive CPU-load in some corner-case messages.

Make it a 'massage' option instead.

Fixes #2515.
2023-07-17 21:53:42 +03:00
Dirk-Jan C. Binnema c263e4c4d7 mu4e-view: fix mu4e-view-refresh
It's didn't quite work in the post-mu4e-window world
2023-07-17 21:53:42 +03:00
Dirk-Jan C. Binnema c19c011b0b mu4e/NEWS.org: document updated MIME-part handling in view 2023-07-17 21:53:42 +03:00
Dirk-Jan C. Binnema 993f16522a mu4e: split off mime-handling from mu4e-view & improve
Split off the MIME-handling from mu4e-view.el into its own
mu4e-mime-parts.el

Improve the implementation, updating completions with annotations.
Support "Pick all" for completing attachments and MIME-types.

Both attachment/inline disposition MIME-type with a file name are
considered "attachment" now.

Allow MIME-part actions to target multiple MIME-parts.
2023-07-17 21:53:42 +03:00
Dirk-Jan C. Binnema 3b93863f15 mu4e: use mu4e-determine-attachment-dir
Make the old internal mu4e~get-attachment-dir a public function,
improve documentation. Update callers.
2023-07-16 13:19:35 +03:00
Dirk-Jan C. Binnema c59d493296 mu4e: fix mu4e-main-quit-or-bury
Typo... fixes #2512.
2023-07-06 11:01:32 +03:00
Dirk-Jan C. Binnema c3a756a207 mu4e: main: add mu4e-main-quit-or-bury
So instead of quitting, you can do C-u q to merely bury the buffer.
2023-07-05 20:39:47 +03:00
Dirk-Jan C. Binnema 60b1a5dff7 mu4e/search: clarify sortable fields (threading)
When threads are enabled, only sorting by date is possible; make this
clearer in the UI.

Fixes #2507.
2023-07-02 10:26:09 +03:00
Dirk-Jan C. Binnema 73f0691662 mu4e-view: restore point in single-window headers buffer
In single-window mode, after quitting the view, explicitly restore the
point in the headers view to the last viewed message (just like in split
view mode).
2023-06-25 11:07:45 +03:00
Sean Farley 91464002b8 mu4e-util: allow ESC to exit a choice selection
I occasionally find myself pressing escape to exit a menu choice in mu4e
and it's a bit unfortunate that nothing happens. As best I could tell,
since this is a C call, none of the keymaps are checked for
`(keyboard-quit)' so we need to explicitly check for ESC here

This was previously fixed in 02b5bc805c
but was inadvertently removed in
0354fa4fac, so more detail was added to
the comment.
2023-06-22 13:17:53 -07:00
Dirk-Jan C. Binnema 713bb4e9e1 mu4e: run mu4e-view-rendered-hook non-read-only
Non-read-only is likely the expected behavior.

Fixes #2500.
2023-06-09 00:30:01 +03:00
Dirk-Jan C. Binnema 616282c4ad mu4e: add mu4e-listp for backward compat
The listp function was only added to emacs 29.

Fixes #2499.
2023-06-08 18:51:22 +03:00
Dirk-Jan C. Binnema 3624fdd5f3 mu4e: fix documentation for adding custom marks 2023-06-04 14:56:40 +03:00
Dirk-Jan C. Binnema 00fbcfb39f
Merge pull request #2489 from RuijieYu/fix-type-mu4e-compose-complete-max
* mu4e/mu4e-contacts.el (mu4e-compose-complete-max): fix type
2023-05-29 23:51:58 +03:00
stardiviner 9729e2bba8 Fix asking maildir reading completing candidate is text-property
Some packages like `vertico-prescient` adding text-property to vertico
candidates will break `mu4e-ask-maildir` response.
2023-05-27 07:51:37 +08:00
Dirk-Jan C. Binnema cd3c7b4c61 mu4e-headers: found-handler: set up threads-mode in headers buffer
Ensure we're in headers-mode when setting up thread-mode.
2023-05-23 22:25:06 +03:00
Ruijie Yu 8f6895b966 Fix more defcustom type errors and reworded docs
* mu4e/mu4e-draft.el
(mu4e-compose-reply-recipients): (mu4e-compose-reply-to-address):
* mu4e/mu4e-thread.el (mu4e-thread-fold-single-children): Clarify
docstrings and fixed type definitions.
2023-05-12 10:56:33 +08:00
Ruijie Yu aee0f72600 * mu4e/mu4e-contacts.el (mu4e-compose-complete-max): update type+doc 2023-05-11 10:52:07 +08:00
Dirk-Jan C. Binnema 0ed7dc2102 mu4e: don't error out in mu4e-view-quit
Fixes #2487.
2023-05-10 23:49:10 +03:00
Dirk-Jan C. Binnema 3756938b82
Merge pull request #2488 from RuijieYu/fix-docstring-mu4e-personal-address-p
Updates to mu4e-contacts.el
2023-05-10 19:07:04 +03:00
Dirk-Jan C. Binnema fbb68b80ee mu4e: add actions for archive-url in view/headers 2023-05-10 18:52:15 +03:00
Dirk-Jan C. Binnema d07247b2dd mu4e: add function to get archive-url for mailing list
This is a bit simplified version of the one in mu4e-list-archives.el.
2023-05-10 18:52:15 +03:00
Dirk-Jan C. Binnema 624458caa4 mu4e: add mu4e-fetch-field 2023-05-10 18:52:15 +03:00
Dirk-Jan C. Binnema 0e26634c56 mu4e: remove mu4e-list-archives.el for now
We don't need it (yet)
2023-05-10 18:48:15 +03:00
Ruijie Yu 1ed1e486d4 Updates to mu4e-contacts.el
* mu4e/mu4e-contacts.el (mu4e-personal-address-p): Fix docstring
error (return nil *only if* the address does not match any of the
personal addresses, not the other way around).  Unwrap
unnecessary (if COND t nil) to just COND because its caller
`seq-find' only distinguishes between nil and non-nil.
(mu4e-personal-address): Add space in defun between name and args.
Ensure double space after a sentence ends.  Convert a duplicated
call of (mu4e-server-properties) into using when-let and reusing
its result.
2023-05-10 12:10:13 +08:00
Dirk-Jan C. Binnema 91fea8e16e Merge branch 'view-list-archives' 2023-05-07 11:42:46 +03:00
Dirk-Jan C. Binnema 581f8d7e92 mu4e-lists: doc updates 2023-05-06 09:53:56 +03:00
Dirk-Jan C. Binnema 8e724e73e9 mu4e-lists: remove some debugging
surgeon left some instruments in patient; let's remove.
2023-05-06 09:46:32 +03:00
Ruijie Yu 3018ceeb86 Add actions to browse online archive for a mailing list message
* mu4e/mu4e-headers.el (defcustom mu4e-header-actions): Convert
from defvar.  Add action for browsing online archive.
* mu4e/mu4e-view.el (defcustom mu4e-view-actions): Change use of
`seq-filter' to `delq'.  Add action for browsing online archive.
2023-05-05 23:10:21 +08:00
Ruijie Yu da41f5060d Add functionality for finding an online archive for a ML message
* mu4e/mu4e-lists.el (defgroup mu4e-lists): New group.

* mu4e/mu4e-list-archives.el: New file.
(defgroup mu4e-list-archives): New group.
(defcustom mu4e-list-archives-user-actions): New customizable
variable for locating online archive.
(mu4e-list-archives--get-recipients): New helper function for
getting all recipients of a mail.
(mu4e-list-archives-resolve-debbug): New function for resolving
archive url on debbug systems.
(mu4e-list-archives--resolve-namazu): New helper function for
resolving real archive url from namazu search page.
(defcustom mu4e-list-archives-resolve-namazu-search): New
customizable variable for disabling namazu resolution because it
incurs a url fetch.
(mu4e-list-archives-resolve-mailman-namazu): New function for
getting the namazu search url for mailman systems.  This is as
close as possible without fetching any url.
(defconst mu4e-list-archives-actions): New constant for builtin
supported mailing lists.
(mu4e-list-archives-resolve): New function to resolve the concrete
url to the mailing list archive.

* mu4e/mu4e-actions.el (mu4e-actions-browse-list-archive): New
command for browsing the online archive of a mailing list.
(mu4e-actions-kill-list-archive): New command for putting the url
to the online archive of a mailing list onto the kill ring.
2023-05-05 23:09:33 +08:00
Dirk-Jan C. Binnema 88ec2b86ce mu4e-lists: modernize
Remove some obsolete mailing lists form the "built-in" ones.

Make the mailing list blob plists, so we can more easily add new ones.

Update the handler functions for this.
2023-05-04 20:47:42 +03:00
Dirk-Jan C. Binnema ada6ff6260 mu4e/thread: only when available
Fixes #2479.
2023-05-04 01:13:29 +03:00
Dirk-Jan C. Binnema c01ea37abf mu4e/thread: don't eat next thread when folding
For #2478.
2023-05-04 01:13:29 +03:00
Dirk-Jan C. Binnema f02f1c282c mu4e-headers: mu4e~headers-move: consider folded headers
Ensure going backwards over folded headers works.
2023-04-30 12:38:16 +03:00
Dirk-Jan C. Binnema 2c69a6d84b mu4e: tweak threading for thread-end 2023-04-24 22:19:19 +03:00
Dirk-Jan C. Binnema 5290d64d66 mu4e-headers: make mu4e~headers-prev-or-next-thread return (point)
Or nil if not found.
2023-04-24 21:52:25 +03:00
Dirk-Jan C. Binnema e2947f181d mu4e: add thread support to message-view
No keybindings yet, since TAB etc. conflict.
2023-04-24 21:52:25 +03:00
Dirk-Jan C. Binnema 1acf00bdd5 mu4e: fix errors/warning in mu4e.texi 2023-04-23 16:07:12 +03:00
Dirk-Jan C. Binnema 50d559deb4 mu4e: do not allow marking folded message
Safety first!
2023-04-23 12:07:08 +03:00
Dirk-Jan C. Binnema 0fdc64ad1a mu4e-thread: add mu4e-thread-fold-single-children
Allow for customizing the folding of single children.
2023-04-23 12:07:08 +03:00
Dirk-Jan C. Binnema a81b540f66 mu4e-thread: use mu4e-headers-(prev|next)-thread
Use the existing implementation.
2023-04-23 12:07:08 +03:00
Dirk-Jan C. Binnema b73e075c7b mu4e-thread: share mu4e-headers-thread-root-p with threads
Add mu4e-headers-thread-rootp which follows the mu4e-threads definition;
and use it in both mu4e-headers and mu4e-threads
2023-04-23 12:07:08 +03:00
Dirk-Jan C. Binnema d8817c1b74 mu4e-thread: integrate in mu4e-headers / build 2023-04-23 12:06:59 +03:00
Dirk-Jan C. Binnema 4181f6ad07 mu4e-thread: update documentation 2023-04-23 12:03:01 +03:00
Dirk-Jan C. Binnema b28a591077 mu4e-thread: fix byte-compiler & flycheck warnings 2023-04-20 14:32:11 +03:00
Nicolas P. Rougier 1012cb7232 Added mu4e-thread.el 2023-04-19 18:36:29 +02:00
Dirk-Jan C. Binnema 3885ae9a82 mu4e: add defvar mu4e-headers-open-after-move
Allow customizing whether to open the message after moving around in the
headers buffer. This meant for let-binding when scripting, e.g.,

(defun mark-and-quit ()
  (interactive)
  (let ((mu4e-headers-open-after-move nil))
    (mu4e-view-mark-for-refile)
    (mu4e-view-quit)))

in the view marks the current messages, then moves point to next message
without opening it.
2023-04-16 11:09:55 +03:00
Dirk-Jan C. Binnema fc1f9b5b0a mu4e-query-item: reset mu4e--last-delta-unread
Fixes #2447.
2023-04-11 09:49:26 +03:00
Dirk-Jan C. Binnema 2285355374 mu4e: remove obsolete TODO 2023-04-08 13:29:48 +03:00
Dirk-Jan C. Binnema c5c9531c37 mu4e: Add display-buffer-list example
To fine-tune the main-buffer display.
2023-04-06 23:48:15 +03:00
Dirk-Jan C. Binnema 1185a5380c
Merge pull request #2464 from malb/display-buffer-mu4e-compose
don't use display-buffer-reuse-window when composing in frame
2023-04-06 07:23:58 +03:00
Dirk-Jan C. Binnema d43f3c58c1
Merge pull request #2468 from nbarrientos/issue2463
mu4e: allow to disable the global mode-line items
2023-04-06 07:22:48 +03:00
Dirk-Jan C. Binnema baac02c5af mu4e: mention mu4e-maildir-shortcuts in main-view section 2023-04-06 07:19:26 +03:00
Dirk-Jan C. Binnema f2a193b4fd
Merge pull request #2449 from seanfarley/detach-rename
[ux bug] mu4e: create random name for newly detached views
2023-04-05 23:20:00 +03:00
Nacho Barrientos 552d65e61c mu4e: allow to disable the global mode-line items
Fixes #2463
2023-04-05 11:36:37 +02:00
Martin R. Albrecht 840d02b848 don't use display-buffer-reuse-window when composing in frame 2023-04-03 17:08:54 +01:00
Dirk-Jan C. Binnema 6e0135da0a
Merge pull request #2459 from rdiaz02/documentation
documentation typo: C-x w ^f places in new frame, not new tab
2023-04-03 16:06:58 +03:00
Nacho Barrientos 3132ceaaff mu4e: correct variable name in manual 2023-04-03 14:44:07 +02:00
ramon diaz-uriarte (at Phelsuma) 7a33fd19a7 documentation typo: C-x w ^f places in new frame, not new tab 2023-04-02 12:28:19 +02:00
Dirk-Jan C. Binnema 5bda666dbc
Merge pull request #2457 from RuijieYu/fix-defcustom-warnings
Fix defcustom type definitions
2023-04-01 19:14:46 +03:00
Ruijie Yu e5b33c29d1 Fix defcustom type definitions
So that the type definitions reflects the docstrings more closely.  In additon,
fixed warnings from flymake about docstring.

* mu4e/mu4e-draft.el
mu4e-compose-keep-self-cc: should be a comma

* mu4e/mu4e-folders.el
mu4e-maildir-shortcuts: recognize new (plist) format

* mu4e/mu4e-helpers.el
mu4e-debug: removed unnecessary double space in docstring

* mu4e/mu4e-query-items.el
mu4e-query-rewrite-function: prepend "\\=" before column 0 "(" in docstring

* mu4e/mu4e-search.el
mu4e-search-sort-field mu4e-search-sort-direction: used radio in types

* mu4e/mu4e-server.el
mu4e-mu-binary: "mu" executable must exist

* mu4e/mu4e-view.el
mu4e-view-fields: fixed type
mu4e-view-actions: for function refs, prefer "#'" rather than "'"
2023-04-01 15:59:16 +08:00
Sean Farley ba6c164ac0 mu4e: create random name for newly detached views
Without creating some kind of a temporary name (which could then be
trivially renamed by the user as the current instructions say) a new
user trying to learn how to detach a view will run into this error when
switching to a new message after detaching:

[mu4e] Detached view buffer from *mu4e-headers*
funcall-interactively: No buffer named *mu4e-article*<2>

It seems like a good default and less friction to create a random name
automatically when detaching.
2023-03-31 09:49:26 -07:00
Dirk-Jan C. Binnema 881c3cb4c1 mu4e: fix mu4e--main-action alt
As per #2439.
2023-03-30 23:58:45 +03:00
Dirk-Jan C. Binnema 189838b030 mu4e: make mu4e-dim-when-loading nil also hide "Loading"
Not the best name, but it's easy. So
  (setq mu4e-dim-when-loading nil)
to complete remove the loading-effect.

Fixes #2451.
2023-03-30 18:45:35 +03:00
Dirk-Jan C. Binnema 5d38ec0c08 mu4e-window: add mu4e--buffer-local-boundp
buffer-local-boundp was introduced in emacs 28.

Fixes #2456.
2023-03-30 18:12:33 +03:00
Dirk-Jan C. Binnema fdc0834951 mu4e-server: attempt to avoid tramp error
Try to ensure default-directory is local; it seems tramp can screw up
shell-command-to-string.
2023-03-29 09:07:33 +03:00
Dirk-Jan C. Binnema e6d6f5014d mu4e: handle functionp queries in mu4e--make-query-items 2023-03-29 09:07:33 +03:00
Dirk-Jan C. Binnema f504327ac4 mu4e: restore support for function bookmarks
Fixes 2446.
2023-03-28 20:57:07 +03:00
Dirk-Jan C. Binnema 318aa40f75 mu4e: tweaks to manual 2023-03-26 10:14:59 +03:00