Commit Graph

5532 Commits

Author SHA1 Message Date
Christophe Troestler f673911277 mu4e/ical: Compose the response attaching the calendar
This composes the response before any hook is run which is important
so that, if those hooks modify the message, they are aware that some
MML is present.  In particular, this is needed to have the
compatibility with the org-msg package; see
https://github.com/djcb/mu/issues/1956
2021-04-06 15:29:20 +02:00
Christophe Troestler a9dd573c47 mu4e/doc: Describe `mu4e-view-blocked-images' 2021-04-06 10:19:20 +02:00
Dirk-Jan C. Binnema 0f03a03d64
Merge pull request #1962 from Chris00/attach-buffer
mu4e/compose: attach buffers & files setting any property
2021-04-06 00:14:47 +03:00
Dirk-Jan C. Binnema 77151d1984
Merge pull request #1961 from Chris00/master
Enable the user to control which external images not to display
2021-04-06 00:14:03 +03:00
Christophe Troestler b2b8f562f7 mu4e/compose: attach buffers & files setting any property 2021-04-05 22:35:58 +02:00
Christophe Troestler afaf613a92 Enable the user to control which external images not to display 2021-04-05 11:39:44 +02:00
Dirk-Jan C. Binnema f0835b3391
Merge pull request #1960 from sje30/master
Respect switch-function in compose-mail.
2021-04-04 13:08:39 +03:00
Stephen J. Eglen 5d859d005f Respect switch-function in compose-mail.
Emacs has several standard keybindings

C-x m   compose-mail
C-x 4 m compose-mail-other-window
C-x 5 m compose-mail-other-frame

This patch fixes the creation of new mail buffers to respect the
latter two keybindings, C-x 4 m and C-x 5 m.

Note that there is already the variable mu4e-compose-in-new-frame
which if true opens in a new frame.  That will still work for C-x m
and C-x 5 m, but if the user runs C-x 4 m, it switches to other-window
as it assumes the keybinding takes precedence.  This behaviour can be
changed within mu4e~draft-open-file.
2021-04-03 22:23:21 +01:00
Dirk-Jan C. Binnema b63c3c990e
Merge pull request #1959 from nbarrientos/master
Fix typo
2021-04-03 08:27:04 +03:00
Nacho Barrientos ecc96e93f7 Fix typo 2021-04-01 16:06:52 +02:00
Dirk-Jan C. Binnema 82df610362
Merge pull request #1957 from stsquad/remove-excess-messages
mu4e/mu4e-headers: remove excess message output
2021-03-31 20:18:02 +03:00
Alex Bennée 285fdc5d5d mu4e/mu4e-headers: remove excess message output
When marking threads as read things are slowed down by echoing the
thread path to the mini-buffer. I assume this is left over debug but
if needed for something else should probably be a log call.
2021-03-31 10:04:03 +01:00
Dirk-Jan C. Binnema f3e13b5201 mu4e-view-gnus: Implement mu4e-view-massage
Expose some of the Gnus article treatment functions.
2021-03-23 17:39:12 +02:00
Dirk-Jan C. Binnema c44b855d78 mu4e-view-gnus: Update keybindings 2021-03-23 17:39:12 +02:00
Dirk-Jan C. Binnema bae7a198c5 mu4e.texi: Update documentation 2021-03-23 17:39:12 +02:00
Dirk-Jan C. Binnema 33fb6c58cf mu4e-actions/view: Reorganize example actions a bit
The ones that require the "old" view (now or in the near future) are
move to mu4e-view-old.el.
2021-03-23 17:39:12 +02:00
Dirk-Jan C. Binnema 57510dd8a0
Merge pull request #1953 from ahttraga/master
Add ivy completion when saving attachments
2021-03-23 17:38:27 +02:00
cog 3e38c9ec5f Add ivy completion when saving attachments 2021-03-23 10:03:14 +01:00
Dirk-Jan C. Binnema afedfc6708 mu4e-view: Implement actions for gnus-view MIME-parts
In the "old" view, we had `mu4e-view-mime-part-actions`, which describes
various actions on attachments; in the brave new gnus-based view, those
do not work, but we have added something better:
  mu4e-view-mime-part-actions

This needs some more documentation, but is useful already.
2021-03-21 00:14:54 +02:00
Dirk-Jan C. Binnema 62ae9ead6f
Merge pull request #1952 from Chris00/master
mu4e/view-gnus: Make Gnus email clickable links work
2021-03-19 09:01:48 +02:00
Christophe Troestler f311b9455c mu4e/view-gnus: Make Gnus email clickable links work 2021-03-18 19:26:00 +01:00
Dirk-Jan C. Binnema c04d9ceff0 mu4e-view-gnus: Set buffer name earlier
Seems some hooks might depend on the buffer being called *Article* in
hooks.
2021-03-18 00:50:30 +02:00
Dirk-Jan C. Binnema 03c7bb1eab
Merge pull request #1951 from Chris00/master
Make URLs clickable again
2021-03-17 23:14:27 +02:00
Christophe Troestler 76a904be26 mu4e/view: make URLs clickable again 2021-03-17 18:53:25 +01:00
Christophe Troestler b2877a237c mu4e/view-gnus: Gnus view is no longer experimental 2021-03-17 18:03:18 +01:00
Dirk-Jan C. Binnema 6cf1d739ae c.cfg: Remove unused crustify setup 2021-03-17 18:35:12 +02:00
Dirk-Jan C. Binnema 8ec5ece4c2 HACKING: Modernize a little bit 2021-03-17 18:34:24 +02:00
Dirk-Jan C. Binnema 750a9d1626 query: Better debug logging 2021-03-17 18:33:45 +02:00
Dirk-Jan C. Binnema 21374c12a1 guile: Fix and re-enable unit test 2021-03-17 18:33:05 +02:00
Dirk-Jan C. Binnema 811ae26574 Merge branch 'draft-context' 2021-03-17 11:36:12 +02:00
Al Haji-Ali b094da8cd4 mu4e: Added mu4e-compose-context-switch for draft messages
Allow updating the context for the current draft message.
2021-03-17 11:35:09 +02:00
Dirk-Jan C. Binnema 5664f34c78
Merge pull request #1950 from Chris00/master
Fix warnings in mu4e-icalendar
2021-03-17 01:50:00 +02:00
Christophe Troestler 1c9e1f4be1 mu4e/icalendar: Use a closure to trash the original message
This work around the fact that `defun' has an undefined return value.
2021-03-17 00:34:04 +01:00
Dirk-Jan C. Binnema 9bb84f2742 build: Bump version to 1.5.11 2021-03-17 01:25:30 +02:00
Dirk-Jan C. Binnema 1b5b04ff97 guile: Fix doc building 2021-03-17 01:19:25 +02:00
Christophe Troestler 2d67b66506 mu4e/icalendar: Avoid unused lexical variable gnus-icalendar-find-if
This syncs the definition of mu4e-icalendar-reply with the one of
gnus-icalendar-reply and, in turn, avoids the compiler warning
“Unused lexical variable `gnus-icalendar-find-if'”.
2021-03-16 23:55:02 +01:00
Christophe Troestler 339a17852b mu4e/icalendar: Restore the deletion of the citation 2021-03-16 23:55:02 +01:00
Christophe Troestler 3621314ac2 mu4e/icalendar: fix free variable ‘original-msg’ 2021-03-16 23:55:02 +01:00
Dirk-Jan C. Binnema e6d92d4fef meson: Generate version.texi for guile, mu4e
So we can build from a clean git clone.
2021-03-17 00:16:49 +02:00
Dirk-Jan C. Binnema 2fac2bb602 mu4e/view-gnus: Don't allow gnus-button-reply
Since it will reply in *gnus* rather than in mu4e. Perhaps we can hook it
up with mu4e... but not now.

Fixes: #1949.
2021-03-16 23:09:21 +02:00
Dirk-Jan C. Binnema 2437dc27c9 mu4e: Replace mu4e-view-use-gnus with mu4e-view-use-old
Make mu4e-view-use-gnus obsolete (it's the default now), and add a
variable mu4e-view-use-old (which must be set before starting mu4e).

Update documentation / mentions.

Load the correct view when starting mu4e, so people can customize
e.g. the keymap.

Add some sanity checking.
2021-03-16 19:57:36 +02:00
Dirk-Jan C. Binnema 342df5a3ed
Merge pull request #1948 from thierryvolpiatto/fix_mu4e-view-common_header
Fix mu4e-view-common header line
2021-03-16 19:55:54 +02:00
Thierry Volpiatto 723081268d
Fix mu4e-view-common header line 2021-03-16 17:33:59 +01:00
Dirk-Jan C. Binnema 00645d854b toys/mug: Fix some compiler warnings 2021-03-16 17:44:41 +02:00
Dirk-Jan C. Binnema 7f244ee454 mu4e/view: Restore URL activation, TAB
Make URL activation work again (with mouse, M-RET), and TAB in
gnus-view.

Fixes: #1946.
2021-03-16 17:13:36 +02:00
Dirk-Jan C. Binnema 08890dee2d lib/sexp: Clean up contact name/email
Don't allow control characters.

Fixes: #1944.
2021-03-16 17:10:35 +02:00
Dirk-Jan C. Binnema f56aca7c23 lib/contacts: Use remove_ctrl
Use the new helper function rather than `wash'.
2021-03-16 17:09:37 +02:00
Dirk-Jan C. Binnema 15aca5e396 utils: cleanup whitespace 2021-03-16 17:07:39 +02:00
Dirk-Jan C. Binnema 725826231f utils: Add remove_ctrl
Add a helper function to remove control characters / multi-spaces, and a
test.
2021-03-16 16:51:01 +02:00
Dirk-Jan C. Binnema b7660ed33d mu4e-view: decrypt when replying
Let's decrypt a message before replying.

HT: Thierry Volpiato.
2021-03-16 08:58:43 +02:00