Commit Graph

2411 Commits

Author SHA1 Message Date
a3e1293c4c mu4e-compose: bring make mu4e--fake-pop-to-buffer
All but the default mu4e-compose-switch depend on this.
2024-04-15 08:34:32 +03:00
48822a3af6 mu4e.texi: add note about bbdb address completion
Fixes #2691
2024-04-14 21:40:30 +03:00
9f476295e1 mu4e-compose: rework message-sent-hook
Grab the Fcc in the hook (when available).
2024-04-14 10:41:17 +03:00
d3e7b9cf05 mu4e-compose: handle no-fcc-path in sent-hook
Workaround for #2688.
2024-04-13 13:08:05 +03:00
32d73260d3 mu4e.texi: add diary example action 2024-04-12 20:05:20 +03:00
adb560d960 mu4e-icalendar: use message-reply to generate the reply
using mu4e--compose-setup is a little too fragile.
2024-04-12 18:20:41 +03:00
faade24945 mu4e-compose: kill fcc buffer after sending
There's a buried buffer for the fcc file... not quite sure why, but
let's kill it after we've sent the message.

Fixes #2681.
2024-04-11 20:02:01 +03:00
8c29ed56ce mu4e-compose: use find-file-noselect for edit
Oops! This was missing for #2644
2024-04-10 22:57:10 +03:00
6a12137506 mu4e--view-render-buffer: Disable Gnus bookmark-make-record-function
The function 'gnus-summary-bookmark-make-record' does not work properly with the
faux "appeasement" summary buffer, causing undesired changes in the window
configuration when the message rendering buffer's bookmark function is
called (which some packages, like Activities, Burly, and Dogears do routinely).

See <https://github.com/alphapapa/activities.el/issues/55>.

Reported-by: Daniel Goldin <https://github.com/danielgoldin>
2024-04-10 21:47:04 +03:00
ac08a35c5b mu4e-view: re-appease gnus
Otherwise some saving of MIME-parts does not work properly.
2024-04-10 21:47:04 +03:00
884f8d8f19 mu4e-contacts: add mu4e-personal-or-alternative-address-or-empty-p
This can be used as a workaround for #2680.

Fixes #2680.
2024-04-10 21:47:04 +03:00
9a1b30b47e mu4e-compose: update message sending
We no longer need the 'sent' handling; we can do it directly in
mu4e-compose, which simplifies things.
2024-04-10 21:47:04 +03:00
bc51989e65 mu4e-server: get rid of mu4e--server-sent
It's no longer needed.
2024-04-10 21:47:04 +03:00
eda8db0c3b mu4e-compose: simplify buffer creation
Seems we can avoid the advising of message-pop-to-buffer.
2024-04-10 21:47:04 +03:00
1aad948293 mu4e-compose: avoid find-file
Use find-file-noselect instead.

Fixes #2644
2024-04-10 21:47:04 +03:00
51163f3e60 mu4e-mark: query using when killing buffer or emacs
Depending on mu4e-headers-leave-behavior, query user when killing a
buffer or emacs when there's a buffer with outstanding marks.

Fixes #2649.
2024-04-10 21:47:04 +03:00
be63bf2f80 mu4e-compose: use narrow-to-header before fetch 2024-04-05 23:47:25 +03:00
9557ba43a0 mu4e-view: explicitly scroll after rendering
This seems necessary in some cases; for some reason _this week_ that came
up a few time, although the code is old. Could repro with a bare emacs.

Fixes #2683.
2024-04-05 20:04:24 +03:00
dfc179036c mu4e.texi: add example subject-is-empty check
Fixes #2679.
2024-04-05 19:03:42 +03:00
7771a56026 mu4e: fix some warnings on older emacsen 2024-04-04 21:30:08 +03:00
7688a2b548 mu4e-view: appease gnus no longer
Seems it's not necessary anymore.
2024-04-04 21:30:08 +03:00
2ebdf23dd0 mu4e-compose: explicitly remove Date: before update
Seems older emacsen require that or they won't update the Date, see
issue #2502.
2024-04-04 21:30:08 +03:00
270a58ae8e Fix typos. 2024-04-04 11:17:33 -07:00
2e40852abc mu4e-compose: turn off message-completion-function
It interferes with mu4e's completion.
2024-04-02 07:39:28 +03:00
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
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
5a07364071 mu4e.texi: fix typo 2024-04-01 00:01:39 +03:00
3caa04fc2b Merge pull request #2668 from Chris00/master
Update install instructions for icalendar
2024-03-19 21:54:27 +02:00
fba0828e49 mu4e: set gnus-icalendar-setup as alias for mu4e-icalendar-setup 2024-03-19 21:53:39 +02:00
98d93fc367 Update install instructions for icalendar 2024-03-19 11:19:15 +01:00
e220b7160a mu4e.texi: add compose-reply-wide-or-not-please-ask example 2024-03-18 19:21:54 +02:00
ecca83528c mu4e-compose: rework mu4e-compose-goto-(bottom|top)
For backward compat.
2024-03-15 20:33:23 +02:00
f3d823617e mu4e.texi: add missing node in composer menu 2024-03-15 20:14:11 +02:00
a6c78ab133 mu4e-helpers: fix mu4e-keymap-set for older emacs 2024-03-15 20:09:52 +02:00
4564db845a mu4e-compose: avoid byte-compile warnings on older emacsen 2024-03-15 19:48:25 +02:00
a1001a915d mu4e-helpers: check for key-valid-p
It's not available in older emacsen.
2024-03-15 19:47:37 +02:00
2929a82246 mu4e-helpers: add mu4e-keymap-set, fix warnings
keymap-set only appeared in Emacs 29, so add a stand-in for now.

Fix some flymake warnings.
2024-03-14 13:41:56 +02:00
6d9cf64286 mu4e-compose: copy message-reply-headers to fake buffer
We need copy the buffer-local value from _another_ buffer

HT: Martin R. Albrecht.
2024-03-13 07:34:19 +02:00
0e05ab8c1d mu4e-compose: only use keymap-set when available
Was added with emacs 29.
2024-03-12 20:46:34 +02:00
c45bdca83b mu4e-compose: restore mu4e-compose-goto-(bottom|top)
Bring back from 1.10.
2024-03-12 12:29:37 +02:00
d9390159bb mu4e-compose: bring back mu4e-compose-context-switch
This is the version from 1.10.x that does not change the draft folder.
2024-03-04 16:59:01 +02:00
2423c38d98 mu4e-compose: bring back mu4e-compose-attach-captured-message
It went missing after the compose refactoring.

Fixes #2654.
2024-03-04 16:59:01 +02:00
4cac4a415c Merge pull request #2657 from rrudakov/fix/2656-cite-reply-position
Respect `message-cite-reply-position` customization
2024-03-04 16:58:36 +02:00
f779e30dda [#2656] Respect message-cite-reply-position customization 2024-03-04 15:15:50 +01:00
8c8abe5a23 Fix typo 2024-03-04 11:09:56 +01:00
e28c2487d3 mu4e-compose: return new buffer from mu4e--compose-setup
I.e, and this applies to all mu4e-compose-* composition functions as
well.

Fixes #2653.
2024-03-03 09:44:30 +02:00
131f084677 mu4e.texi: remove reference to context-switch while editing 2024-03-03 09:31:26 +02:00
20878c8725 mu4e-compose: tweak buffer handler, add display-buffer
Add 'display-buffer as an option for mu4e-compose-switch, which lets you
use the display-buffer function for display.

Remove the mu4e-message-kill-buffer, simply use message-kill-buffer.
2024-03-02 23:23:52 +02:00
8afe3e11a2 mu4e-view: use <mouse-2> for links
Only <mouse-2>, to be consistent with eww.
2024-03-01 23:24:37 +02:00
acc4b28eeb mu4e-helpers: fix some typos 2024-02-26 18:30:54 +02:00