Commit Graph

5354 Commits

Author SHA1 Message Date
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
Dirk-Jan C. Binnema a7508e4a8f meson: bump version to 1.5.9 2021-03-07 17:44:13 +02:00
Dirk-Jan C. Binnema f46a714cd4 configure.ac: bump version to 1.5.9 2021-03-07 17:36:59 +02:00
Dirk-Jan C. Binnema ed2e0ed0c3 mu4e-view: make the gnus-based view the default one
Use
  (setq mu4e-view-use-gnus nil)
to use the old one.
2021-03-07 17:35:30 +02:00
Dirk-Jan C. Binnema c1f08e1683 mu4e-view: split in -gnus and -old
Split out the gnus-based and "old" view code into separate files, and
ensure only one of them is loaded.

Do some initial cleanups, more will follow.
2021-03-07 16:42:55 +02:00
Dirk-Jan C. Binnema 6af47e3a92 meson: sync with autotools re mu4e/obsolete 2021-03-07 16:42:55 +02:00
Dirk-Jan C. Binnema 0bfc4b7ca3 mu4e: move org-mu4e to obsolete/
It's really not supported anymore.
2021-03-04 22:03:23 +02:00
Dirk-Jan C. Binnema fcf5a27347 mu4e-headers: Fix subthread marking
Fixes: #1930.
2021-03-04 21:58:25 +02:00
Dirk-Jan C. Binnema ded1de96e6
Merge pull request #1937 from thierryvolpiatto/Fix_mu4e-view-gnus-save-mime-parts
Fix error in mu4e-view-gnus-save-mime-parts
2021-03-03 12:07:32 +02:00
Dirk-Jan C. Binnema c6d24164b2
Merge pull request #1913 from plantarum/ical-templates
Documented icalendar capture template
2021-03-03 12:06:40 +02:00
Thierry Volpiatto 117f438e10
Fix error in mu4e-view-gnus-save-mime-parts
where `handle' may not be a list (here a marker when I had error).

So ensure it is a list.
2021-02-23 21:24:44 +01:00
Dirk-Jan C. Binnema 775498937d
Merge pull request #1931 from tsdh/query-completion-when-editing-bookmarks
mu4e-headers: Read query with completion also when editing a bookmark
2021-02-17 21:54:04 +02:00
Tassilo Horn 7471536213 Read query with completion also when editing a bookmark
This wraps up some change that somehow didn't get applied when merging PR #1921
and also offers completion when editing a bookmark.

* mu4e/mu4e-headers.el (mu4e-headers-search): Read query with completion also
when editing a bookmark.
2021-02-17 16:26:47 +01:00