Commit Graph

5566 Commits

Author SHA1 Message Date
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
Dirk-Jan C. Binnema d0615a959f mu4e-vars: fix some defface declarations
use :weight, :slant rather than :bold, :italic.
2021-03-16 08:56:01 +02:00
Dirk-Jan C. Binnema 931cfe5d86 mu4e: clear up mu4e~view-message
Remove duplicate definition of mu4e~view-message in mu4e-view-old

Set it earlier in mu4e-view-gnus (so it can be used in mode-hooks).
2021-03-15 22:56:30 +02:00
Dirk-Jan C. Binnema e4320147af NEWS.org: fix some typos 2021-03-15 22:55:55 +02:00
Dirk-Jan C. Binnema 0153f7538e mu4e: update documentation
Add the beginning of some docs for the gnus-view.
2021-03-15 22:55:21 +02:00
Dirk-Jan C. Binnema cbda30efe0 configure.ac: fix mu-memcheck setup
and some whitespace cleanups
2021-03-13 14:54:39 +02:00
Dirk-Jan C. Binnema b100c963fc mu4e-view-common: fix typo
its *actions*, not *action*.

Fixes: #1942.
2021-03-13 10:47:45 +02:00
Dirk-Jan C. Binnema 44d801e2b0 mu4e-view-gnus: cleanup keymap
Do not derive the keymap from gnus article mode, so we don't get the
unwanted menu entries, and don't need to disable things manually.
2021-03-12 22:28:51 +02:00
Dirk-Jan C. Binnema 9423212fa0 mu4e: improve mu4e-view-message-text
Attempt to take the Content-Type into consideration when decoding.
2021-03-12 22:26:26 +02:00
Dirk-Jan C. Binnema bcd728651f mu4e-view: move some settings from old->comon
To avoid user config errors when using the new view
2021-03-12 22:22:06 +02:00
Dirk-Jan C. Binnema 6e9a60c385 mu: fix some compiler warnings
and whitespace.
2021-03-12 22:20:48 +02:00
Dirk-Jan C. Binnema 6e9bfb6300 build: bump version to 1.5.10 2021-03-11 19:41:53 +02:00
Dirk-Jan C. Binnema d12d85e187 mu4e: work-around for format-flowed corner-case
Fixes: #1938
(fixes, eh, works around it)
2021-03-11 19:41:53 +02:00
Dirk-Jan C. Binnema 8d1175f511 mu4e: avoid some compiler warnings
(require) necessary things etc.

warnings for using "obsolete" code are still there since things should
work on emacs 25.3
2021-03-11 10:17:00 +02:00
Dirk-Jan C. Binnema e2655ba34b mu4e-view: re-enable the gnus/old split
re-enable the gnus/old split (the key was re-implementing
mu4e-view-message-text for gnus)

split helpers into mu4e-view-common

as a bonus 'go to url' now also works with gnus
2021-03-10 20:53:33 +02:00
Dirk-Jan C. Binnema 316633e1b2 mu4e: unsplit the gnus/old views
Was not quite working.
2021-03-07 23:27:45 +02:00
Dirk-Jan C. Binnema f002379a87 mu: move mu-view-fields to mu-view.el
We need it in both mu-view-old and mu-view-gnus.
2021-03-07 22:03:36 +02:00