* add `mu4e-headers-leave-behavior', to decide what to when updating/quiting

etc. a buffer. From the docstring:
  "What do to when user leaves the headers view (e.g. quit or doing
  a new search). Value is one of the following symbols:
 - ask    (ask the user whether to ignore the marks)
 - apply  (automatically apply the marks before doing anything else)
 - ignore (automatically ignore the marks without asking)."

 the new mu4e-handle-marks uses this.
This commit is contained in:
Dirk-Jan C. Binnema
2012-02-27 23:41:11 +02:00
parent 9021a2ca16
commit 3086b87ca5
2 changed files with 56 additions and 26 deletions

View File

@ -170,6 +170,15 @@ designated shortcut character for the maildir.")
:group 'mu4e-headers)
(defcustom mu4e-headers-leave-behavior 'ask
"What do to when user leaves the headers view (e.g. quit or doing
a new search). Value is one of the following symbols:
- ask (ask the user whether to ignore the marks)
- apply (automatically apply the marks before doing anything else)
- ignore (automatically ignore the marks without asking)."
:type 'symbol
:group 'mu4e-headers)
;; the message view
(defgroup mu4e-view nil
"Settings for the message view."