Commit Graph

2284 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 3caa04fc2b
Merge pull request #2668 from Chris00/master
Update install instructions for icalendar
2024-03-19 21:54:27 +02: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
Christophe Troestler 98d93fc367 Update install instructions for icalendar 2024-03-19 11:19:15 +01: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 ecca83528c mu4e-compose: rework mu4e-compose-goto-(bottom|top)
For backward compat.
2024-03-15 20:33:23 +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 a6c78ab133 mu4e-helpers: fix mu4e-keymap-set for older emacs 2024-03-15 20:09:52 +02:00
Dirk-Jan C. Binnema 4564db845a mu4e-compose: avoid byte-compile warnings on older emacsen 2024-03-15 19:48:25 +02:00
Dirk-Jan C. Binnema a1001a915d mu4e-helpers: check for key-valid-p
It's not available in older emacsen.
2024-03-15 19:47:37 +02:00
Dirk-Jan C. Binnema 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
Dirk-Jan C. Binnema 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
Dirk-Jan C. Binnema 0e05ab8c1d mu4e-compose: only use keymap-set when available
Was added with emacs 29.
2024-03-12 20:46:34 +02:00
Dirk-Jan C. Binnema c45bdca83b mu4e-compose: restore mu4e-compose-goto-(bottom|top)
Bring back from 1.10.
2024-03-12 12:29:37 +02:00
Dirk-Jan C. Binnema 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
Dirk-Jan C. Binnema 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
Dirk-Jan C. Binnema 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
Roman Rudakov f779e30dda
[#2656] Respect `message-cite-reply-position` customization 2024-03-04 15:15:50 +01:00
Roman Rudakov 8c8abe5a23
Fix typo 2024-03-04 11:09:56 +01:00
Dirk-Jan C. Binnema 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
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 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
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 acc4b28eeb mu4e-helpers: fix some typos 2024-02-26 18:30:54 +02:00
Dirk-Jan C. Binnema 5b65717ce8 build: fix doc generation 2024-02-25 17:11:29 +02:00
Dirk-Jan C. Binnema f7ba00ec08 mu4e-view: update docstring for header customization 2024-02-24 13:47:55 +02:00
Dirk-Jan C. Binnema 91eb777946 mu4e-compose: try to avoid buffer/frame mishaps
... when closing a message. Should hopefully be a bit less bad than
before.
2024-02-18 18:02:54 +02:00
Dirk-Jan C. Binnema ffac8409a3 mu4e-message: handle 'first' parameter to message-fetch-field
May as well support it.
2024-01-23 19:14:19 +02:00
Dirk-Jan C. Binnema 91ce40a8bd mu4e-org: fix typo 2024-01-23 18:26:48 +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
Christophe Troestler 7257b3fa3c mu4e-icalendar: Fix getting the organizer from the message 2024-01-03 12:13:40 +01: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 8edddae977 mu4e-server: remove obsolete compose code 2024-01-02 00:15:59 +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
Sean Farley b222a8a3f5 mu4e: add support for macos notifications
The current order in this patch is

1) macos notification
2) built-in dbus notification
3) fallback text notification

because macOS emacs can actually have dbus enabled (for emacs daemon
mode) but that doesn't support notifications. This is a built-in way to
send a simple notification for macs, too. Yay!
2023-12-22 21:34:52 +02:00
Dirk-Jan C. Binnema dd51f5aa12 mu4e-view: handle links with new composer 2023-12-22 21:25:12 +02:00
Dirk-Jan C. Binnema cbd6353058 mu4e-compose: don't attempt deleting frames for now
This needs some more work, so don't try to delete frames for now, which
is better than the alternative.
2023-12-15 12:46:44 +02:00
Dirk-Jan C. Binnema 65e7e7f42d mu4e-compose: be less eager deleting frames
We were deleting frames if it was not the last one; however, emacs can
have a bunch of hidden frames (for tooltips?) that we should not
consider.
2023-12-14 21:38:15 +02:00
Dirk-Jan C. Binnema 8c1466773f mu4e: get rid of mu4e-is-mode-or-derived-p
derived-mode-p is enough
2023-12-06 20:30:47 +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 038d6ea6b6 mu4e-headers: avoid defcustom warning for mu4e-headers-field
Variable may contain custom (user-specified) fields, no need to warn for
that; suggested by @mekeor.

Fixes #2607
2023-12-04 18:52:50 +02:00
Dirk-Jan C. Binnema daf303d444 mu4e-window: fix mu4e--get-current-buffer-type
The change for emacs 30.x does not work for older emacs versions...
2023-12-04 18:52:50 +02:00
Dirk-Jan C. Binnema 526d49f70c mu4e-compose: attempt to delete frame after done with composition
Attempt to delete the frame when
a) it's not the last frame, and
b) there's only a single window on the frame

Fixes #2577
2023-12-04 19:25:55 +02:00
Dirk-Jan C. Binnema 730bd13ea2 mu4e-compose: ensure we switch to composition buffer
When we're done with the setup.

Fixes #2605.
2023-12-02 17:45:51 +02:00
Dirk-Jan C. Binnema d488ab2641 mu4e-compose: combine mu4e-compose-new and mu4e-compose-mail
No need for duplication.
2023-12-02 17:45:51 +02:00
Dirk-Jan C. Binnema 4ea450c29f mu4e: update documentation 2023-12-01 19:11:56 +02:00
Dirk-Jan C. Binnema 149ec143ba mu4e-compose: remove crs from message when decoding
This fixes e.g. forwarding for some mesasges that contain CRs.
2023-12-01 19:11:56 +02:00
Dirk-Jan C. Binnema 18efe9a955 mu4e-compose: improve mu4e-message-kill-buffer
Try to go back to the buffer we were in before. HT: @thierryvolpiatto

Fixes #2600.
2023-11-30 22:16:04 +02:00
Dirk-Jan C. Binnema f3606c0352 mu4e-compose: rework message handling
A number of change in message composition:

Clean up some of the handling function, in particular, only include
headers in mu4e--decoded-message when that is all that's needed.

When forwarding messages, make sure message-reply-headers is filled with
the values for the to-be-forwarded message so the references etc. get
filled correctly.

Fixes #2603
2023-11-30 22:14:36 +02:00
Dirk-Jan C. Binnema 14d9f7ccce mu4e-window: update derived-mode-p call
Don't use the deprecated calling convention
2023-11-30 19:05:34 +02:00
Nicholas Vollmer 4ab0ae5565 mu4e-compose-reply: account for nil REPLY-TYPE in assertion
Previous assertion would fail when REPLY-TYPE is nil, but nil is a valid value
for the argument.

See: https://github.com/djcb/mu/issues/2601
2023-11-22 16:10:08 -05:00