]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: document notmuch-fcc-dirs
authorMark Walters <markwalters1009@gmail.com>
Wed, 28 Sep 2016 10:03:46 +0000 (11:03 +0100)
committerDavid Bremner <david@tethera.net>
Thu, 29 Sep 2016 11:07:38 +0000 (08:07 -0300)
This updates the docstring for the variable notmuch-fcc-dirs to match
the new insert code.

emacs/notmuch-maildir-fcc.el

index 1218c01e19e2e51a599c66f98014101187c2e300..3587d045d440e6b481539085c3284cdf4a6dfd6e 100644 (file)
 (defvar notmuch-maildir-fcc-count 0)
 
 (defcustom notmuch-fcc-dirs "sent"
 (defvar notmuch-maildir-fcc-count 0)
 
 (defcustom notmuch-fcc-dirs "sent"
- "Determines the maildir directory in which to save outgoing mail.
+ "Determines the Fcc Header which says where to save outgoing mail.
 
 Three types of values are permitted:
 
 - nil: no Fcc header is added,
 
 
 Three types of values are permitted:
 
 - nil: no Fcc header is added,
 
-- a string: the value of `notmuch-fcc-dirs' is the name of the
-  folder to use,
+- a string: the value of `notmuch-fcc-dirs' is the Fcc header to
+  be used.
 
 - a list: the folder is chosen based on the From address of the
   current message using a list of regular expressions and
 
 - a list: the folder is chosen based on the From address of the
   current message using a list of regular expressions and
@@ -50,12 +50,20 @@ Three types of values are permitted:
   If none of the regular expressions match the From address, no
   Fcc header will be added.
 
   If none of the regular expressions match the From address, no
   Fcc header will be added.
 
-In all cases, a relative FCC directory will be understood to
-specify a directory within the notmuch mail store, (as set by
-the database.path option in the notmuch configuration file).
+If `notmuch-maildir-use-notmuch-insert' is set (the default) then
+the header should be of the form \"folder +tag1 -tag2\" where
+folder is the folder (relative to the notmuch mailstore) to store
+the message in, and tag1 and tag2 are tag changes to apply to the
+stored message.
+
+If `notmuch-maildir-use-notmuch-insert' is nil then the Fcc
+header should be the directory where the message should be
+saved. A relative directory will be understood to specify a
+directory within the notmuch mail store, (as set by the
+database.path option in the notmuch configuration file).
 
 
-You will be prompted to create the directory if it does not exist
-yet when sending a mail."
+In all cases you will be prompted to create the folder or
+directory if it does not exist yet when sending a mail."
 
  :type '(choice
         (const :tag "No FCC header" nil)
 
  :type '(choice
         (const :tag "No FCC header" nil)