Commit Graph

443 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 4440594066 mu4e: implement mu4e-compose-post-hook
A hook for when we're done with message composition.

We populate it with a function to kill created frames and one to attempt
to restore window configuration.
2024-04-28 10:04:27 +03:00
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 48822a3af6 mu4e.texi: add note about bbdb address completion
Fixes #2691
2024-04-14 21:40:30 +03:00
Dirk-Jan C. Binnema 32d73260d3 mu4e.texi: add diary example action 2024-04-12 20:05:20 +03:00
Dirk-Jan C. Binnema dfc179036c mu4e.texi: add example subject-is-empty check
Fixes #2679.
2024-04-05 19:03:42 +03:00
Arthur A. Gleckler 270a58ae8e Fix typos. 2024-04-04 11:17:33 -07:00
Dirk-Jan C. Binnema 5bd0750bce mu4e-compose: split out mu4e-complete-contact
Add a separate public function mu4e-complete-contact which can be used
anywhere (with completion-at-point-functions); and use
mu4e-compose-complete-contact-field in mu4e composition buffers.

Document this as well.
2024-04-02 07:24:56 +03:00
Dirk-Jan C. Binnema 5a07364071 mu4e.texi: fix typo 2024-04-01 00:01:39 +03:00
Dirk-Jan C. Binnema e220b7160a mu4e.texi: add compose-reply-wide-or-not-please-ask example 2024-03-18 19:21:54 +02:00
Dirk-Jan C. Binnema f3d823617e mu4e.texi: add missing node in composer menu 2024-03-15 20:14:11 +02:00
Dirk-Jan C. Binnema 131f084677 mu4e.texi: remove reference to context-switch while editing 2024-03-03 09:31:26 +02:00
Dirk-Jan C. Binnema 8afe3e11a2 mu4e-view: use <mouse-2> for links
Only <mouse-2>, to be consistent with eww.
2024-03-01 23:24:37 +02:00
Dirk-Jan C. Binnema 300ab2b0e1 mu4e-message: improve mu4e-fetch-field
Decode the message, so that encoded fields get decoded as expected.
Also add an example to the doc for using mu4e-fetch-field.
2024-01-04 23:41:46 +02:00
Dirk-Jan C. Binnema ad04f16b09 mu4e: allow sorting by _first_ tag
Fixes #2611
2024-01-02 00:24:03 +02:00
Dirk-Jan C. Binnema 0ee0a26689 mu4e.texi: mention header-line-format misalignment & workaround
We can't fully fix this with the current headers-view, but this may help
some user. Based on code provided by @phil-s.

Fixes #2606.
2023-12-04 18:52:50 +02:00
Dirk-Jan C. Binnema 4ea450c29f mu4e: update documentation 2023-12-01 19:11:56 +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
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 b30e774c12 mu4e: update documentation 2023-10-29 17:15:35 +02:00
Dirk-Jan C. Binnema b2f3a63a3a mu4e.texi: update composer documentationx 2023-10-25 22:05:06 +03: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 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 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 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 c19c011b0b mu4e/NEWS.org: document updated MIME-part handling in view 2023-07-17 21:53:42 +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 ada6ff6260 mu4e/thread: only when available
Fixes #2479.
2023-05-04 01:13:29 +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 4181f6ad07 mu4e-thread: update documentation 2023-04-23 12:03:01 +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 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
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
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 318aa40f75 mu4e: tweaks to manual 2023-03-26 10:14:59 +03:00
Dirk-Jan C. Binnema f94a95b36b Merge branch 'pr-2443' 2023-03-25 13:31:00 +02:00
Dirk-Jan C. Binnema e35f477009 mu4e: use 'l' for the list mark
Small updates to the PR.
2023-03-25 13:22:37 +02:00
Dirk-Jan C. Binnema 93336ae171 mu4e: remove example with internal function
Shouldn't promote their use.
2023-03-25 09:52:58 +02:00
Babak Farrokhi 6facec5bfa
Update documents to reflect List flag change 2023-03-15 11:47:21 +01:00
Dirk-Jan C. Binnema 412256d26f mu4e: doc: fix mu4e-search-toggle-property binding 2023-02-24 07:25:39 +02:00
Dirk-Jan C. Binnema 9feb53a766 mu4e.texi: fix typo 2023-02-18 09:04:46 +02:00
Anton Tetov f444439b5b
typo in mu4e docs Org-mode links
s/%d:date-timestamp-inactive/ %date-timestamp-inactive
2023-02-17 22:27:03 +01:00
Dirk-Jan C. Binnema 92ac6de09c mu4e: support jumping to previous/next thread
in headers view, message view with '{' and '}.
Also update documentation.

Fixes #1523
2023-02-12 12:58:05 +02:00
Dirk-Jan C. Binnema 0ee86ac923 mu4e: make eldoc support configurable
Add new defcustom, mu4e-eldoc-support, turn it off by default.
2023-01-31 19:50:07 +02:00
Dirk-Jan C. Binnema 6271d0119b mu4e: update documentation 2023-01-18 17:11:58 +02:00