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.
This commit is contained in:
Dirk-Jan C. Binnema
2021-03-16 19:49:27 +02:00
parent 342df5a3ed
commit 2437dc27c9
8 changed files with 52 additions and 60 deletions

View File

@ -39,16 +39,21 @@
*** mu4e
- Use the gnus-based message viewer as the default; the new viewer has quite
a few features compared to the old, mu4e-specific one, such as faster
crypto, support for S/MIME, syntax-highlighting, calendar invitations and
more.
a few extra features compared to the old, mu4e-specific one, such as
faster crypto, support for S/MIME, syntax-highlighting, calendar
invitations and more.
It does not do everything the old viewer does though (e.g., attachment
actions), so if you depend on those, you can use:
actions), so if you depend on those:
#+begin_example
(setq mu4e-view-use-gnus nil)
;; set *before* loading mu4e; and restart emacs if you want to change it
;; users of use-packag~ should can use the :init section for this.
(setq mu4e-view-use-old t)
#+end_example
(The older variable ~mu4e-view-use-gnus~ with the opposite meaning is
obsolete now, and no longer in use).
- Include maildir-shortcuts in the main-view with overall/unread counts,
similar to bookmarks, and with the same ~:hide~ and ~:hide-unread~ properties.
Note that for the latter, you need to update your maildir-shortcuts to the