]> granicus.if.org Git - neomutt/commitdiff
docs: mass tidy up
authorRichard Russon <rich@flatcap.org>
Mon, 12 Sep 2016 10:25:08 +0000 (11:25 +0100)
committerRichard Russon <rich@flatcap.org>
Mon, 12 Sep 2016 14:22:10 +0000 (15:22 +0100)
 - tidy muttrc.*
 - tidy vimrc.*
 - sync muttrc to main manual
 - add better xml escaping
 - fix whitespace in muttrc/vimrc/manual
 - refer to features rather than patches
 - fix lots of spelling mistakes
 - sort manual sections
 - add README.notmuch to dist
 - drop unnecessary sample.colors.attach_headers
 - install sample muttrc files
 - add mutt-1.7.0-syntax.vim from vim repo
 - generate neomutt-syntax.vim from features' vimrc files
 - install neomutt-syntax.vim

43 files changed:
.gitignore
Makefile.am
contrib/Makefile.am
contrib/sample.colors.attach_headers [deleted file]
doc/Makefile.am
doc/manual.xml.head
doc/mutt-1.7.0-syntax.vim [new file with mode: 0644]
doc/muttrc.attach-headers-color
doc/muttrc.compress
doc/muttrc.cond-date
doc/muttrc.encrypt-to-self
doc/muttrc.forgotten-attachment
doc/muttrc.ifdef
doc/muttrc.index-color
doc/muttrc.initials
doc/muttrc.keywords
doc/muttrc.limit-current-thread
doc/muttrc.nested-if
doc/muttrc.new-mail
doc/muttrc.nntp
doc/muttrc.notmuch
doc/muttrc.progress
doc/muttrc.quasi-delete
doc/muttrc.reply-with-xorig
doc/muttrc.sidebar
doc/muttrc.skip-quoted
doc/muttrc.status-color
doc/muttrc.timeout
doc/vimrc.attach-headers-color
doc/vimrc.compress
doc/vimrc.encrypt-to-self
doc/vimrc.forgotten-attachment
doc/vimrc.ifdef
doc/vimrc.index-color
doc/vimrc.keywords
doc/vimrc.new-mail
doc/vimrc.nntp
doc/vimrc.notmuch
doc/vimrc.progress
doc/vimrc.quasi-delete
doc/vimrc.reply-with-xorig
doc/vimrc.sidebar
doc/vimrc.timeout

index f28a8c098f3c1fc3142b833b7b2fc955ad04cf44..ca8c3b6e501721b72d6e127f82324cd68d34bf86 100644 (file)
@@ -25,8 +25,10 @@ doc/muttrc.man
 doc/stamp-doc-chunked
 doc/stamp-doc-rc
 doc/stamp-doc-xml
+doc/neomutt-syntax.vim
 
 po/POTFILES
+po/neomutt.pot
 
 .version
 aclocal.m4
@@ -42,6 +44,7 @@ depcomp
 hcachever.sh
 hcversion.h
 install-sh
+keymap_alldefs.h
 keymap_defs.h
 missing
 mutt
@@ -55,3 +58,6 @@ pgpring
 smime_keys
 stamp-h1
 txt2c
+
+neomutt-*.tar.gz
+
index 48747488b2ceaa679fceb2a27997116e560299cc..c35518729db74b274b6b6ca49c8d5da2fe01f7da 100644 (file)
@@ -71,7 +71,7 @@ EXTRA_DIST = COPYRIGHT GPL OPS OPS.PGP OPS.CRYPT OPS.SMIME TODO UPDATING \
        nntp.h ChangeLog.nntp \
        _regex.h OPS.MIX README.SECURITY remailer.c remailer.h browser.h \
        mbyte.h lib.h extlib.c pgpewrap.c smime_keys.pl pgplib.h \
-       README.SSL README.md README.neomutt smime.h group.h \
+       README.SSL README.md README.neomutt README.notmuch smime.h group.h \
        pgppacket.h depcomp ascii.h PATCHES patchlist.sh \
        ChangeLog ChangeLog.neomutt mutt_idna.h sidebar.h OPS.SIDEBAR \
        snprintf.c regex.c crypt-gpgme.h hcachever.sh.in \
index 65862e674e27225a37b1f92455d3b4fed0ff1692..69c2ea879f4d619a2cfec84c17c4625bb05b3c68 100644 (file)
@@ -5,8 +5,7 @@ subdir = contrib
 SAMPLES = Mush.rc Pine.rc gpg.rc pgp2.rc pgp5.rc pgp6.rc Tin.rc \
        sample.mailcap sample.muttrc sample.muttrc-sidebar sample.muttrc-tlr \
        sample.vimrc-sidebar colors.default colors.linux smime.rc \
-       ca-bundle.crt smime_keys_test.pl mutt_xtitle \
-       sample.colors.attach_headers
+       ca-bundle.crt smime_keys_test.pl mutt_xtitle
 
 EXTRA_DIST = language.txt language50.txt  \
        patch.slang-1.2.2.keypad.1      \
diff --git a/contrib/sample.colors.attach_headers b/contrib/sample.colors.attach_headers
deleted file mode 100644 (file)
index d7e6c0c..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-# Color if the attachment is autoviewed
-color   attach_headers     brightgreen     default        "Autoview"
-
-# Color only the brackets around the headers
-color   attach_headers     brightyellow    default        "^\\[--"
-color   attach_headers     brightyellow    default        "--]$"
-
-# Color the mime type and the size
-color   attach_headers     green           default        "Type: [a-z]+/[a-z0-9\-]+"
-color   attach_headers     green           default        "Size: [0-9\.]+[KM]"
-
-# Color GPGME signature checks
-color   attach_headers     brightgreen     default        "Good signature from.*"
-color   attach_headers     brightred       default        "Bad signature from.*"
-color   attach_headers     brightred       default        "BAD signature from.*"
-color   attach_headers     brightred       default        "Note: This key has expired!"
-color   attach_headers     brightmagenta   default        "Problem signature from.*"
-color   attach_headers     brightmagenta   default        "WARNING: This key is not certified with a trusted signature!"
-color   attach_headers     brightmagenta   default        "         There is no indication that the signature belongs to the owner."
-color   attach_headers     brightmagenta   default        "can't handle these multiple signatures"
-color   attach_headers     brightmagenta   default        "signature verification suppressed"
-color   attach_headers     brightmagenta   default        "invalid node with packet of type"
index eb82f3b7b65b2efc016091d5d3910832292d6f02..a82eaa9f11184a2269e2785b5a7429a3dff40808 100644 (file)
@@ -32,7 +32,22 @@ EXTRA_DIST = dotlock.man             \
        smime-notes.txt                 \
        Muttrc Muttrc.head stamp-doc-rc \
        makedoc.c makedoc-defs.h        \
-       mutt.css mutt.xsl html.xsl chunk.xsl $(BUILT_DISTFILES)
+       mutt.css mutt.xsl html.xsl chunk.xsl \
+       $(BUILT_DISTFILES) $(SAMPLE_MUTTRC) $(SAMPLE_VIMRC) \
+       mutt-1.7.0-syntax.vim neomutt-syntax.vim
+
+SAMPLE_MUTTRC = muttrc.attach-headers-color muttrc.compress muttrc.cond-date \
+       muttrc.encrypt-to-self muttrc.forgotten-attachment muttrc.ifdef \
+       muttrc.index-color muttrc.initials muttrc.keywords \
+       muttrc.limit-current-thread muttrc.nested-if muttrc.new-mail \
+       muttrc.nntp muttrc.notmuch muttrc.progress muttrc.quasi-delete \
+       muttrc.reply-with-xorig muttrc.sidebar muttrc.skip-quoted \
+       muttrc.status-color muttrc.timeout
+
+SAMPLE_VIMRC = vimrc.attach-headers-color vimrc.compress vimrc.encrypt-to-self \
+       vimrc.forgotten-attachment vimrc.ifdef vimrc.index-color vimrc.keywords \
+       vimrc.new-mail vimrc.nntp vimrc.notmuch vimrc.progress \
+       vimrc.quasi-delete vimrc.reply-with-xorig vimrc.sidebar vimrc.timeout
 
 CHUNKED_DOCFILES = index.html intro.html gettingstarted.html \
        configuration.html mimesupport.html advancedusage.html \
@@ -50,7 +65,7 @@ topsrcdir_DOCFILES = COPYRIGHT GPL INSTALL ChangeLog ChangeLog.neomutt        \
 
 all: makedoc-all
 
-makedoc-all: mutt.1 smime_keys.1 muttrc.man manual.html stamp-doc-rc stamp-doc-chunked manual.txt pgpewrap.1 pgpring.1
+makedoc-all: mutt.1 smime_keys.1 muttrc.man manual.html stamp-doc-rc stamp-doc-chunked manual.txt pgpewrap.1 pgpring.1 neomutt-syntax.vim
 
 install-data-local: makedoc-all instdoc
        $(MKDIR_P) $(DESTDIR)$(mandir)/man1
@@ -76,6 +91,9 @@ install-data-local: makedoc-all instdoc
        -for f in $(HTML_DOCFILES) ; do \
                $(INSTALL) -m 644 $$f $(DESTDIR)$(docdir) ; \
        done
+       -for f in $(SAMPLE_MUTTRC) ; do \
+               $(INSTALL) -m 644 $$f $(DESTDIR)$(docdir) ; \
+       done
        $(INSTALL) -m 644 Muttrc $(DESTDIR)$(sysconfdir)/Muttrc.dist
        -if [ -f $(DESTDIR)$(pkgdatadir)/Muttrc ] ; then \
                mv $(DESTDIR)$(pkgdatadir)/Muttrc* $(DESTDIR)$(sysconfdir) ; \
@@ -84,6 +102,7 @@ install-data-local: makedoc-all instdoc
        elif [ ! -f $(DESTDIR)$(sysconfdir)/Muttrc ] ; then \
                $(INSTALL) -m 644 Muttrc $(DESTDIR)$(sysconfdir) ; \
        fi
+       -$(INSTALL) -m 644 neomutt-syntax.vim $(DESTDIR)$(docdir)
 
 uninstall-local:
        for f in mutt.1 mutt_dotlock.1 smime_keys.1 pgpewrap.1 pgpring.1; do \
@@ -92,7 +111,7 @@ uninstall-local:
        for f in muttrc.5 mbox.5 mmdf.5 ; do \
                rm -f $(DESTDIR)$(mandir)/man5/$$f ; \
        done
-       for f in $(srcdir_DOCFILES) $(topsrcdir_DOCFILES) $(HTML_DOCFILES) ; \
+       for f in $(srcdir_DOCFILES) $(topsrcdir_DOCFILES) $(HTML_DOCFILES) $(SAMPLE_MUTTRC); \
        do \
                rm -f $(DESTDIR)$(docdir)/$$f ; \
        done
@@ -103,6 +122,7 @@ uninstall-local:
          fi ; \
          rm $(DESTDIR)$(sysconfdir)/$${i}.dist ; \
        done
+       rm -f $(DESTDIR)$(docdir)/neomutt-syntax.vim
 
 check:
 manual.txt: manual.html
@@ -136,6 +156,9 @@ manual.tex: stamp-doc-xml
          openjade -t tex -D $(DSLROOT) -d print/docbook.dsl dtds/decls/xml.dcl manual.xml; \
        fi
 
+neomutt-syntax.vim: $(SAMPLE_VIMRC)
+       cat mutt-1.7.0-syntax.vim $^ > $@
+
 validate: stamp-doc-xml
        xmllint --noout --noblanks --postvalid manual.xml
 
index 8d815ad5b0ebdb6874a417cb379ac720bd7b3487..df90ec61cbd7f27b26490791af3cc9d0d7f0ce8d 100644 (file)
@@ -777,7 +777,7 @@ set sidebar_divider_char = '│'          <emphasis role="comment"># Pretty line
           after the last separator.
         </para>
         <para>
-          Add some mailboxes of diffent depths.
+          Add some mailboxes of different depths.
         </para>
 <screen>
 set folder="~/mail"
@@ -815,7 +815,7 @@ set sidebar_delim_chars="/"             <emphasis role="comment"># Delete everyt
           in a tree.
         </para>
         <para>
-          Add some mailboxes of diffent depths.
+          Add some mailboxes of different depths.
         </para>
 <screen>
 set folder="~/mail"
@@ -858,7 +858,7 @@ set sidebar_indent_string="  "          <emphasis role="comment"># Indent with t
         <para>
           Sometimes, it will be necessary to add mailboxes, that you
           don't use, to fill in part of the tree.  This will trade
-          vertical space for horizonal space (but it looks good).
+          vertical space for horizontal space (but it looks good).
         </para>
       </sect5>
     </sect4>
@@ -919,7 +919,7 @@ color sidebar_divider   color8  default         <emphasis role="comment"># Dark
           <row>
             <entry></entry>
             <entry><literal>sidebar_highlight</literal></entry>
-            <entry>Mailbox is highlighed</entry>
+            <entry>Mailbox is highlighted</entry>
           </row>
           <row>
             <entry></entry>
@@ -2383,7 +2383,7 @@ See also the <link linkend="postpone">$postpone</link> quad-option.
 </para>
 
 <para>
-  You may specify your own location for the user config file using the 
+  You may specify your own location for the user config file using the
   <quote>-F</quote> option on the <link linkend="commandline">command line</link>.
 </para>
 
@@ -6706,7 +6706,7 @@ threads and quickly find topics of value.
 <para>
 Mutt has supported textual labels (usually known as X-Labels after
 the header that we use to store them) for many years.  Since we
-initially added support for X-Lanels, however, the larger community
+initially added support for X-Labels, however, the larger community
 has evolved more common ways of using and managing such labels, often
 known as <quote>keywords</quote> or <quote>tags</quote>.
 </para>
@@ -8289,128 +8289,6 @@ for example, in a global <literal>.muttrc</literal>.
 
 </sect1>
 
-<sect1 id="sensible-browser">
-  <title>Sensible-Browser Patch</title>
-  <subtitle>Make the file browser behave</subtitle>
-
-  <sect2 id="sensible-browser-patch">
-    <title>Patch</title>
-
-    <para>
-      To check if Mutt supports <quote>sensible-browser</quote>, look for
-      <quote>patch-sensible-browser</quote> in the mutt version.
-      See: <xref linkend="mutt-patches"/>.
-    </para>
-
-    <itemizedlist>
-      <title>Dependencies:</title>
-      <listitem><para>mutt-1.7.0</para></listitem>
-    </itemizedlist>
-
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
-  </sect2>
-
-  <sect2 id="sensible-browser-intro">
-    <title>Introduction</title>
-
-    <para>
-      The <quote>sensible browser</quote> is a set of small changes to NeoMutt's
-      mailbox browser which make the browser behave in a more predictable way.
-    </para>
-
-    <para>
-      The behaviour is divided into two use cases: Fixed Order; Variable Order.
-    </para>
-
-    <sect3 id="sensible-browser-sort-fixed">
-      <title>A Fixed Order of Mailboxes</title>
-
-      <para>
-        This is for users who like their mailboxes in a fixed order, e.g.
-        alphabetical, or unsorted (in the order of the config file).
-      </para>
-
-<screen>
-<emphasis role="comment"># Fixed order</emphasis>
-set sort_browser="alpha"
-set sort_browser="unsorted"
-</screen>
-
-      <para>
-        When you first start the browser, e.g. <literal>c?</literal> your current
-        mailbox will be highlighted.
-      </para>
-
-      <para>
-        When you navigate to a parent mailbox (<quote>..</quote>) your old mailbox
-        will be highlighted.
-      </para>
-
-      <para>
-        <quote>..</quote> will always be listed at the top, however the rest of
-        the list is sorted.
-      </para>
-
-    </sect3>
-
-    <sect3 id="sensible-browser-sort-variable">
-      <title>A Variable Order of Mailboxes</title>
-
-      <para>
-        This is for users who like their mailboxes sorted by a characteristic
-        that changes, e.g. count of new mail, or the size of mailbox.
-      </para>
-
-<screen>
-<emphasis role="comment"># Variable order</emphasis>
-set sort_browser="reverse-count"
-set sort_browser="reverse-size"
-</screen>
-
-      <para>
-        When you first start the browser, e.g. <literal>c?</literal> the
-        highlight will be on the first mailbox, e.g. the one with the most new
-        mail.
-      </para>
-
-      <para>
-        When you navigate to a parent mailbox (<quote>..</quote>) your old mailbox
-        will be highlighted.
-      </para>
-
-      <para>
-        <quote>..</quote> will always be listed at the top, however the rest of
-        the list is sorted.
-      </para>
-
-    </sect3>
-
-  </sect2>
-
-  <sect2 id="sensible-browser-see-also">
-    <title>See Also</title>
-
-    <itemizedlist>
-      <listitem><para><ulink url="http://www.neomutt.org/">NeoMutt Project</ulink></para></listitem>
-      <listitem><para><link linkend="folder-format">$folder_format</link></para></listitem>
-    </itemizedlist>
-  </sect2>
-
-  <sect2 id="sensible-browser-known-bugs">
-    <title>Known Bugs</title>
-    <para>None</para>
-  </sect2>
-
-  <sect2 id="sensible-browser-credits">
-    <title>Credits</title>
-    <itemizedlist>
-    <listitem><para>Pierre-Elliott Bécue <email>becue@crans.org</email></para></listitem>
-    <listitem><para>Haakon Riiser <email>haakon.riiser@fys.uio.no</email></para></listitem>
-    <listitem><para>Richard Russon <email>rich@flatcap.org</email></para></listitem>
-    </itemizedlist>
-  </sect2>
-</sect1>
-
 </chapter>
 
 <chapter id="optionalfeatures">
@@ -9069,15 +8947,15 @@ please have a look at the mixmaster documentation.
 </sect1>
 
 <sect1 id="attach-headers-color">
-  <title>attach-headers-color Patch</title>
+  <title>attach-headers-color Feature</title>
   <subtitle>Color attachment headers using regexp, just like mail bodies</subtitle>
 
-  <sect2 id="attach-headers-color-patch">
-    <title>Patch</title>
+  <sect2 id="attach-headers-color-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>attach-headers-color</quote>, look for
-      <quote>patch-attach-headers-color</quote> in the mutt version.
+      To check if NeoMutt supports <quote>attach-headers-color</quote>, look for
+      <quote>patch-attach-headers-color</quote> in the version info.
       See: <xref linkend="mutt-patches"/>.
     </para>
 
@@ -9086,14 +8964,14 @@ please have a look at the mixmaster documentation.
       <listitem><para>mutt-1.7.0</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="attach-headers-color-intro">
     <title>Introduction</title>
 
     <para>
-      This patch allows specifying regexps to color attachment headers just like the mail body would.
+      This feature allows specifying regexps to color attachment headers just like the mail body would.
       The headers are the parts colored by the <literal>attachment</literal> color. Coloring them is
       useful to highlight the results of GPGME's signature checks or simply the mimetype or size of
       the attachment. Only the part matched by the regexp is colored.
@@ -9117,28 +8995,32 @@ color attach_headers foreground background pattern
   <sect2 id="attach-headers-color-muttrc">
     <title>Muttrc</title>
 <screen>
-<emphasis role="comment"># Color if the attachment is autoviewed</emphasis>
-color   attach_headers     brightgreen     default        "Autoview"
+<emphasis role="comment"># Example NeoMutt config file for the attach-headers-color feature.
+
+# Color if the attachment is autoviewed</emphasis>
+color   attach_headers     brightgreen     default        &quot;Autoview&quot;
+
 <emphasis role="comment"># Color only the brackets around the headers</emphasis>
-color   attach_headers     brightyellow    default        "^\\[--"
-color   attach_headers     brightyellow    default        "--]$"
-<emphasis role="comment"># Highlight the mime type and size</emphasis>
-color   attach_headers     green           default        "Type: [a-z]+/[a-z]"
-color   attach_headers     green           default        "Size: [0-9\.]+[KM]"
+color   attach_headers     brightyellow    default        &quot;^\\[--&quot;
+color   attach_headers     brightyellow    default        &quot;--]$&quot;
+
+<emphasis role="comment"># Color the mime type and the size</emphasis>
+color   attach_headers     green           default        &quot;Type: [a-z]+/[a-z0-9\-]+&quot;
+color   attach_headers     green           default        &quot;Size: [0-9\.]+[KM]&quot;
+
 <emphasis role="comment"># Color GPGME signature checks</emphasis>
-color   attach_headers     brightgreen     default        "Good signature from.*"
-color   attach_headers     brightred       default        "Bad signature from.*"
-color   attach_headers     brightred       default        "BAD signature from.*"
-color   attach_headers     brightred       default        "Note: This key has expired!"
-color   attach_headers     brightmagenta   default        "Problem signature from.*"
-color   attach_headers     brightmagenta   default        "WARNING: This key is not certified with a trusted signature!"
-color   attach_headers     brightmagenta   default        "         There is no indication that the signature belongs to the owner."
-color   attach_headers     brightmagenta   default        "can't handle these multiple signatures"
-color   attach_headers     brightmagenta   default        "signature verification suppressed"
-color   attach_headers     brightmagenta   default        "invalid node with packet of type"
+color   attach_headers     brightgreen     default        &quot;Good signature from.*&quot;
+color   attach_headers     brightred       default        &quot;Bad signature from.*&quot;
+color   attach_headers     brightred       default        &quot;BAD signature from.*&quot;
+color   attach_headers     brightred       default        &quot;Note: This key has expired!&quot;
+color   attach_headers     brightmagenta   default        &quot;Problem signature from.*&quot;
+color   attach_headers     brightmagenta   default        &quot;WARNING: This key is not certified with a trusted signature!&quot;
+color   attach_headers     brightmagenta   default        &quot;         There is no indication that the signature belongs to the owner.&quot;
+color   attach_headers     brightmagenta   default        &quot;can't handle these multiple signatures&quot;
+color   attach_headers     brightmagenta   default        &quot;signature verification suppressed&quot;
+color   attach_headers     brightmagenta   default        &quot;invalid node with packet of type&quot;
+
+<emphasis role="comment"># vim: syntax=muttrc</emphasis>
 </screen>
   </sect2>
 
@@ -9166,15 +9048,15 @@ color   attach_headers     brightmagenta   default        "invalid node with pac
 </sect1>
 
 <sect1 id="compress">
-  <title>Compressed Folders Patch</title>
+  <title>Compressed Folders Feature</title>
   <subtitle>Read from/write to compressed mailboxes</subtitle>
 
-  <sect2 id="compress-patch">
-    <title>Patch</title>
+  <sect2 id="compress-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>Compress Folders</quote>, look for
-      <quote>+USE_COMPRESSED</quote> in the mutt version.
+      To check if NeoMutt supports <quote>Compress Folders</quote>, look for
+      <quote>+USE_COMPRESSED</quote> in the version info.
       See: <xref linkend="compile-time-features"/>.
     </para>
 
@@ -9183,7 +9065,7 @@ color   attach_headers     brightmagenta   default        "invalid node with pac
       <listitem><para>mutt-1.7.0</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="compress-intro">
@@ -9351,7 +9233,7 @@ color   attach_headers     brightmagenta   default        "invalid node with pac
 
       <note>
         <para>
-          If the folder has not been modifed, the
+          If the folder has not been modified, the
           <literal>close-hook</literal> will not be called.
         </para>
       </note>
@@ -9453,43 +9335,43 @@ color   attach_headers     brightmagenta   default        "invalid node with pac
   <sect2 id="compress-muttrc">
     <title>Muttrc</title>
 <screen>
-<emphasis role="comment"># Example Mutt config file for the 'compressed folders' feature.
+<emphasis role="comment"># Example NeoMutt config file for the compress feature.
+
 # This feature adds three hooks to Mutt which allow it to
 # work with compressed, or encrypted, mailboxes.
+
 # The hooks are of the form:
 #       open-hook   regexp &quot;shell-command&quot;
 #       close-hook  regexp &quot;shell-command&quot;
 #       append-hook regexp &quot;shell-command&quot;
+
 # The 'append-hook' is optional.
-# Hander for gzip compressed mailboxes</emphasis>
+
+# Handler for gzip compressed mailboxes</emphasis>
 open-hook   '\.gz$'  &quot;gzip -cd  '%f' &gt;  '%t'&quot;
 close-hook  '\.gz$'  &quot;gzip -c   '%t' &gt;  '%f'&quot;
 append-hook '\.gz$'  &quot;gzip -c   '%t' &gt;&gt; '%f'&quot;
-<emphasis role="comment"># Hander for bzip2 compressed mailboxes</emphasis>
+
+<emphasis role="comment"># Handler for bzip2 compressed mailboxes</emphasis>
 open-hook   '\.bz2$' &quot;bzip2 -cd '%f' &gt;  '%t'&quot;
 close-hook  '\.bz2$' &quot;bzip2 -c  '%t' &gt;  '%f'&quot;
 append-hook '\.bz2$' &quot;bzip2 -c  '%t' &gt;&gt; '%f'&quot;
-<emphasis role="comment"># Hander for xz compressed mailboxes</emphasis>
+
+<emphasis role="comment"># Handler for xz compressed mailboxes</emphasis>
 open-hook   '\.xz$'  &quot;xz    -cd '%f' &gt;  '%t'&quot;
 close-hook  '\.xz$'  &quot;xz    -c  '%t' &gt;  '%f'&quot;
 append-hook '\.xz$'  &quot;xz    -c  '%t' &gt;&gt; '%f'&quot;
-<emphasis role="comment"># Hander for pgp encrypted mailboxes
+
+<emphasis role="comment"># Handler for pgp encrypted mailboxes
 # PGP does not support appending to an encrypted file</emphasis>
 open-hook   '\.pgp$' &quot;pgp -f &lt; '%f' &gt; '%t'&quot;
 close-hook  '\.pgp$' &quot;pgp -fe YourPgpUserIdOrKeyId &lt; '%t' &gt; '%f'&quot;
-<emphasis role="comment"># Hander for gpg encrypted mailboxes
+
+<emphasis role="comment"># Handler for gpg encrypted mailboxes
 # gpg does not support appending to an encrypted file</emphasis>
 open-hook   '\.gpg$' &quot;gpg --decrypt &lt; '%f' &gt; '%t'&quot;
 close-hook  '\.gpg$' &quot;gpg --encrypt --recipient YourGpgUserIdOrKeyId &lt; '%t' &gt; '%f'&quot;
+
 <emphasis role="comment"># vim: syntax=muttrc</emphasis>
 </screen>
   </sect2>
@@ -9529,15 +9411,15 @@ close-hook  '\.gpg$' &quot;gpg --encrypt --recipient YourGpgUserIdOrKeyId &lt; '
 </sect1>
 
 <sect1 id="cond-date">
-  <title>Conditional Dates Patch</title>
+  <title>Conditional Dates Feature</title>
   <subtitle>Use rules to choose date format</subtitle>
 
-  <sect2 id="cond-date-patch">
-    <title>Patch</title>
+  <sect2 id="cond-date-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>Conditional Dates</quote>, look for
-      <quote>patch-cond-date</quote> in the mutt version.
+      To check if NeoMutt supports <quote>Conditional Dates</quote>, look for
+      <quote>patch-cond-date</quote> in the version info.
       See: <xref linkend="mutt-patches"/>.
     </para>
 
@@ -9548,7 +9430,7 @@ close-hook  '\.gpg$' &quot;gpg --encrypt --recipient YourGpgUserIdOrKeyId &lt; '
     </itemizedlist>
 
     <para>
-      This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.
+      This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.
     </para>
   </sect2>
 
@@ -9566,7 +9448,7 @@ close-hook  '\.gpg$' &quot;gpg --encrypt --recipient YourGpgUserIdOrKeyId &lt; '
     </para>
 
     <para>
-    The format is configurable but only per-mailbox.  This patch allows you
+    The format is configurable but only per-mailbox.  This feature allows you
     to configure the display depending on the age of the email.
     </para>
 
@@ -9752,7 +9634,7 @@ close-hook  '\.gpg$' &quot;gpg --encrypt --recipient YourGpgUserIdOrKeyId &lt; '
 <screen>
 %?[1m?%[%b %d]&amp;%[%Y-%m-%d]?
 </screen>
+
       <para>
         Reparsed a little, for clarity, you can see the
         test condition and the two format strings.
@@ -9813,7 +9695,7 @@ close-hook  '\.gpg$' &quot;gpg --encrypt --recipient YourGpgUserIdOrKeyId &lt; '
       </table>
 
       <para>The $index_format string would contain:</para>
+
 <screen>
 %&lt;[y?%&lt;[m?%&lt;[d?%[%H:%M ]&amp;%[%a %d]&gt;&amp;%[%b %d]&gt;&amp;%[%m/%y ]&gt;
 </screen>
@@ -9860,21 +9742,21 @@ DDD = %[%m/%y ]
   <sect2 id="cond-date-muttrc">
     <title>Muttrc</title>
 <screen>
-<emphasis role="comment"># Example Mutt config file for the 'cond-date' feature.
+<emphasis role="comment"># Example NeoMutt config file for the cond-date feature.
 #
 # The default index_format is:
 #       '%4C %Z %{%b %d} %-15.15L (%?l?%4l&amp;%4c?) %s'
 #
 # We replace the date field '%{%b %d}', giving:</emphasis>
 set index_format='%4C %Z %&lt;[y?%&lt;[m?%&lt;[d?%[%H:%M ]&amp;%[%a %d]&gt;&amp;%[%b %d]&gt;&amp;%[%m/%y ]&gt; %-15.15L (%?l?%4l&amp;%4c?) %s'
+
 <emphasis role="comment"># Test  Date Range  Format String  Example
 # --------------------------------------------
 # %[d   Today       %[%H:%M ]      12:34
 # %[m   This month  %[%a %d]       Thu 12
 # %[y   This year   %[%b %d]       Dec 10
 # -     Older       %[%m/%y ]      06/15
+
 # vim: syntax=muttrc</emphasis>
 </screen>
   </sect2>
@@ -9897,7 +9779,7 @@ set index_format='%4C %Z %&lt;[y?%&lt;[m?%&lt;[d?%[%H:%M ]&amp;%[%a %d]&gt;&amp;
       Date parsing doesn't quite do what you expect.
       <quote>1w</quote> doesn't mean the <quote>in the last 7 days</quote>, but
       <quote><emphasis>this</emphasis> week</quote>.  This doesn't match
-      the normal Mutt behaviour: for example <literal>~d>1w</literal>
+      the normal Mutt behavior: for example <literal>~d>1w</literal>
       means emails dated in the last 7 days.
     </para>
 
@@ -9914,15 +9796,15 @@ set index_format='%4C %Z %&lt;[y?%&lt;[m?%&lt;[d?%[%H:%M ]&amp;%[%a %d]&gt;&amp;
 </sect1>
 
 <sect1 id="encrypt-to-self">
-  <title>Encrypt-to-Self Patch</title>
+  <title>Encrypt-to-Self Feature</title>
   <subtitle>Save a self-encrypted copy of emails</subtitle>
 
-  <sect2 id="encrypt-to-self-patch">
-    <title>Patch</title>
+  <sect2 id="encrypt-to-self-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>encrypt-to-self</quote>, look for
-      <quote>patch-encrypt-to-self</quote> in the mutt version.
+      To check if NeoMutt supports <quote>encrypt-to-self</quote>, look for
+      <quote>patch-encrypt-to-self</quote> in the version info.
       See: <xref linkend="mutt-patches"/>.
     </para>
 
@@ -9931,7 +9813,7 @@ set index_format='%4C %Z %&lt;[y?%&lt;[m?%&lt;[d?%[%H:%M ]&amp;%[%a %d]&gt;&amp;
       <listitem><para>mutt-1.7.0</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="encrypt-to-self-intro">
@@ -9956,7 +9838,7 @@ set smime_default_key  = bb345e23.0
 </screen>
 
     <para>
-      Or, if you use PGP, 
+      Or, if you use PGP,
       <link linkend="pgp-encrypt-self">$pgp_encrypt_self</link>, then set
       <link linkend="pgp-sign-as">$pgp_sign_as</link> to your
       personal PGP key id.
@@ -10001,18 +9883,18 @@ set pgp_sign_as      = A4AF18C5582473BD35A1E9CE78BB3D480042198E
   <sect2 id="encrypt-to-self-muttrc">
     <title>Muttrc</title>
 <screen>
-<emphasis role="comment"># This is a complete list of encrypt-self-related configuration.
+<emphasis role="comment"># Example NeoMutt config file for the encrypt-to-self feature.
+
 # --------------------------------------------------------------------------
 # VARIABLES - shown with their default values
 # --------------------------------------------------------------------------
-# Save a copy of outgoing email, encrypted to yourself using SMIME</emphasis>
-set smime_encrypt_self = "no"
-<emphasis role="comment"># Save a copy of outgoing email, encrypted to yourself using PGP</emphasis>
-set pgp_encrypt_self = "no"
+
+# Save a copy of outgoing email, encrypted to yourself</emphasis>
+set smime_encrypt_self = &quot;no&quot;
+
+<emphasis role="comment"># Save a copy of outgoing email, encrypted to yourself</emphasis>
+set pgp_encrypt_self = &quot;no&quot;
+
 <emphasis role="comment"># vim: syntax=muttrc</emphasis>
 </screen>
   </sect2>
@@ -10041,15 +9923,15 @@ set pgp_encrypt_self = "no"
 </sect1>
 
 <sect1 id="fmemopen">
-  <title>Fmemopen Patch</title>
+  <title>Fmemopen Feature</title>
   <subtitle>Replace some temporary files with memory buffers</subtitle>
 
-  <sect2 id="fmemopen-patch">
-    <title>Patch</title>
+  <sect2 id="fmemopen-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>fmemopen</quote>, look for
-      <quote>patch-fmemopen</quote> in the mutt version.
+      To check if NeoMutt supports <quote>fmemopen</quote>, look for
+      <quote>patch-fmemopen</quote> in the version info.
       See: <xref linkend="mutt-patches"/>.
     </para>
 
@@ -10060,11 +9942,11 @@ set pgp_encrypt_self = "no"
     </itemizedlist>
 
     <para>
-      This patch can be disabled by running <literal>configure</literal> with
+      This feature can be disabled by running <literal>configure</literal> with
       the option <literal>--disable-fmemopen</literal>
     </para>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="fmemopen-intro">
@@ -10075,7 +9957,7 @@ set pgp_encrypt_self = "no"
         </para>
 
         <para>
-    This patch changes a few places where Mutt creates temporary files.
+    This feature changes a few places where Mutt creates temporary files.
     It replaces them with in-memory buffers.  This should improve the
     performance when searching the header or body using the
     <link linkend="thorough-search">$thorough_search</link> option.
@@ -10086,17 +9968,12 @@ set pgp_encrypt_self = "no"
         </para>
 
         <para>
-    This patch depends on <literal>open_memstream()</literal> and
+    This feature depends on <literal>open_memstream()</literal> and
     <literal>fmemopen()</literal>.  They are provided by glibc.  Without
     them, Mutt will simply create temporary files.
         </para>
   </sect2>
 
-  <sect2 id="fmemopen-muttrc">
-    <title>Muttrc</title>
-    <para>None</para>
-  </sect2>
-
   <sect2 id="fmemopen-see-also">
     <title>See Also</title>
 
@@ -10121,16 +9998,16 @@ set pgp_encrypt_self = "no"
   </sect2>
 </sect1>
 
-<sect1 id="forgotten-attachments">
-  <title>forgotten-attachments Patch</title>
+<sect1 id="forgotten-attachment">
+  <title>forgotten-attachment Feature</title>
   <subtitle>Alert user when (s)he forgets to attach a file to an outgoing email.</subtitle>
 
-  <sect2 id="forgotten-attachments-patch">
-    <title>Patch</title>
+  <sect2 id="forgotten-attachment-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>forgotten-attachments</quote>, look for
-      <quote>patch-forgotten-attachments</quote> in the mutt version.
+      To check if NeoMutt supports <quote>forgotten-attachment</quote>, look for
+      <quote>patch-forgotten-attachment</quote> in the version info.
       See: <xref linkend="mutt-patches"/>.
     </para>
 
@@ -10139,25 +10016,25 @@ set pgp_encrypt_self = "no"
       <listitem><para>mutt-1.7.0</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
-  <sect2 id="forgotten-attachments-intro">
+  <sect2 id="forgotten-attachment-intro">
     <title>Introduction</title>
 
     <para>
-      The 'forgotten attachments' patch provides a new setting for Mutt that
+      The 'forgotten-attachment' patch provides a new setting for Mutt that
       alerts the user if the message body contains a certain keyword but there are
       no attachments added. This is meant to ensure that the user does not forget
       to attach a file after promising to do so in the mail.
     </para>
   </sect2>
 
-  <sect2 id="forgotten-attachments-variables">
+  <sect2 id="forgotten-attachment-variables">
     <title>Variables</title>
 
-    <table id="table-forgotten-attachments-variables">
-      <title>forgotten-attachments Variables</title>
+    <table id="table-forgotten-attachment-variables">
+      <title>forgotten-attachment Variables</title>
       <tgroup cols="3">
         <thead>
           <row>
@@ -10185,29 +10062,25 @@ set pgp_encrypt_self = "no"
   <sect2 id="forgotten-attachment-muttrc">
 <title>Muttrc</title>
 <screen>
-<emphasis role="comment"># This is a complete list of forgotten-attachments-related configuration.
-# --------------------------------------------------------------------------
-# VARIABLES - shown with their default values
-# --------------------------------------------------------------------------
-# The 'forgotten attachments' patch provides a new setting for Mutt that
+<emphasis role="comment"># Example NeoMutt config file for the forgotten-attachment feature.
+
+# The 'forgotten-attachment' feature provides a new setting for Mutt that
 # alerts the user if the message body contains a certain keyword but there are
 # no attachments added. This is meant to ensure that the user does not forget
 # to attach a file after promising to do so in the mail.
+
 # Search for the following keyword in the body of the email</emphasis>
-set attach_keyword = "attached"
+set attach_keyword = &quot;attached&quot;
+
 <emphasis role="comment"># Ask if the user wishes to abort sending if $attach_keyword is found in the
 # body, but no attachments have been added</emphasis>
 set abort_noattach = ask-yes
+
 <emphasis role="comment"># vim: syntax=muttrc</emphasis>
 </screen>
   </sect2>
 
-  <sect2 id="forgotten-attachments-see-also">
+  <sect2 id="forgotten-attachment-see-also">
     <title>See Also</title>
 
     <itemizedlist>
@@ -10217,12 +10090,12 @@ set abort_noattach = ask-yes
     </itemizedlist>
   </sect2>
 
-  <sect2 id="forgotten-attachments-known-bugs">
+  <sect2 id="forgotten-attachment-known-bugs">
     <title>Known Bugs</title>
     <para>None</para>
   </sect2>
 
-  <sect2 id="forgotten-attachments-credits">
+  <sect2 id="forgotten-attachment-credits">
     <title>Credits</title>
     <itemizedlist>
     <listitem><para>Darshit Shah <email>darnir@gmail.com</email></para></listitem>
@@ -10232,15 +10105,15 @@ set abort_noattach = ask-yes
 </sect1>
 
 <sect1 id="ifdef">
-  <title>Ifdef Patch</title>
+  <title>Ifdef Feature</title>
   <subtitle>Conditional config options</subtitle>
 
-  <sect2 id="ifdef-patch">
-    <title>Patch</title>
+  <sect2 id="ifdef-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>ifdef</quote>, look for
-      <quote>patch-ifdef</quote> in the mutt version.
+      To check if NeoMutt supports <quote>ifdef</quote>, look for
+      <quote>patch-ifdef</quote> in the version info.
       See: <xref linkend="mutt-patches"/>.
     </para>
 
@@ -10249,7 +10122,7 @@ set abort_noattach = ask-yes
       <listitem><para>mutt-1.7.0</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="ifdef-intro">
@@ -10310,37 +10183,37 @@ ifndef USE_SIDEBAR finish
   <sect2 id="ifdef-muttrc">
     <title>Muttrc</title>
 <screen>
-<emphasis role="comment"># Example Mutt config file for the 'ifdef' feature.
+<emphasis role="comment"># Example NeoMutt config file for the ifdef feature.
+
 # This feature introduces three useful commands which allow you to share
 # one config file between versions of Mutt that may have different
 # features compiled in.
-#     ifdef  symbol config-command [args...]
-#     ifndef symbol config-command [args...]
-#     finish
+
+#   ifdef  symbol config-command [args...]
+#   ifndef symbol config-command [args...]
+#   finish
+
 # The 'ifdef' command tests whether Mutt understands the name of
 # a variable, function, command or compile-time symbol.
 # If it does, then it executes a config command.
+
 # The 'ifndef' command tests whether a symbol does NOT exist.
+
 # The 'finish' command tells Mutt to stop reading current config file.
+
 # If the 'trash' variable exists, set it.</emphasis>
 ifdef trash 'set trash=~/Mail/trash'
+
 <emphasis role="comment"># If the 'tag-pattern' function exists, bind a key to it.</emphasis>
 ifdef tag-pattern 'bind index &lt;F6&gt; tag-pattern'
+
 <emphasis role="comment"># If the 'imap-fetch-mail' command exists, read my IMAP config.</emphasis>
 ifdef imap-fetch-mail 'source ~/.mutt/imap.rc'
+
 <emphasis role="comment"># If the compile-time symbol 'USE_SIDEBAR' does not exist, then
 # stop reading the current config file.</emphasis>
 ifndef USE_SIDEBAR finish
+
 <emphasis role="comment"># vim: syntax=muttrc</emphasis>
 </screen>
   </sect2>
@@ -10369,15 +10242,15 @@ ifndef USE_SIDEBAR finish
 </sect1>
 
 <sect1 id="index-color">
-  <title>Index Color Patch</title>
+  <title>Index Color Feature</title>
   <subtitle>Custom rules for theming the email index</subtitle>
 
-  <sect2 id="index-color-patch">
-    <title>Patch</title>
+  <sect2 id="index-color-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>Index Color</quote>, look for
-      <quote>patch-index-color</quote> in the mutt version.
+      To check if NeoMutt supports <quote>Index Color</quote>, look for
+      <quote>patch-index-color</quote> in the version info.
       See: <xref linkend="mutt-patches"/>.
     </para>
 
@@ -10387,7 +10260,7 @@ ifndef USE_SIDEBAR finish
       <listitem><para><link linkend="status-color">status-color patch</link></para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="index-color-intro">
@@ -10498,42 +10371,42 @@ color index-object foreground background pattern
   <sect2 id="index-color-muttrc">
     <title>Muttrc</title>
 <screen>
-<emphasis role="comment"># Example Mutt config file for the 'index-color' feature.
+<emphasis role="comment"># Example NeoMutt config file for the index-color feature.
+
 # Entire index line</emphasis>
 color index white black '.*'
+
 <emphasis role="comment"># Author name, %A %a %F %L %n
+
 # Give the author column a dark grey background</emphasis>
 color index_author default color234 '.*'
+
 <emphasis role="comment"># Highlight a particular from (~f)</emphasis>
 color index_author brightyellow color234 '~fRay Charles'
+
 <emphasis role="comment"># Message flags, %S %Z
 # Highlight the flags for flagged (~F) emails</emphasis>
 color index_flags default red '~F'
+
 <emphasis role="comment"># Subject, %s
 # Look for a particular subject (~s)</emphasis>
 color index_subject brightcyan default '~s\(closes #[0-9]+\)'
+
 <emphasis role="comment"># Number of messages in a collapsed thread, %M</emphasis>
 color index_collapsed default brightblue
+
 <emphasis role="comment"># Date field</emphasis>
 color index_date green default
+
 <emphasis role="comment"># Message label, %y %Y</emphasis>
 color index_label default brightgreen
+
 <emphasis role="comment"># Message number, %C</emphasis>
 color index_number red default
+
 <emphasis role="comment"># Message size, %c %l</emphasis>
 color index_size cyan default
+
 <emphasis role="comment"># vim: syntax=muttrc</emphasis>
 </screen>
   </sect2>
@@ -10571,15 +10444,15 @@ color index_size cyan default
 </sect1>
 
 <sect1 id="initials">
-  <title>Initials Expando Patch</title>
+  <title>Initials Expando Feature</title>
   <subtitle>Expando for author's initials</subtitle>
 
-  <sect2 id="initials-patch">
-    <title>Patch</title>
+  <sect2 id="initials-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>Initials</quote>, look for
-      <quote>patch-initials</quote> in the mutt version.
+      To check if NeoMutt supports <quote>Initials</quote>, look for
+      <quote>patch-initials</quote> in the version info.
       See: <xref linkend="mutt-patches"/>.
     </para>
 
@@ -10588,7 +10461,7 @@ color index_size cyan default
       <listitem><para>mutt-1.7.0</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="initials-intro">
@@ -10611,7 +10484,7 @@ color index_size cyan default
     <title>Variables</title>
 
         <para>
-        This patch has no config of its own.  It adds an expando which can be
+        This feature has no config of its own.  It adds an expando which can be
     used in the <link linkend="index-format">$index_format</link> variable.
         </para>
   </sect2>
@@ -10619,32 +10492,32 @@ color index_size cyan default
   <sect2 id="initials-muttrc">
     <title>Muttrc</title>
 <screen>
-<emphasis role="comment"># Example Mutt config file for the 'initials' patch.
-# The 'initials' patch has no config of its own.
+<emphasis role="comment"># Example NeoMutt config file for the initials feature.
+
+# The 'initials' feature has no config of its own.
 # It adds an expando for an author's initials,
 # which can be used in the 'index_format' variable.
+
 # The default 'index_format' is:</emphasis>
 set index_format='%4C %Z %{%b %d} %-15.15L (%?l?%4l&amp;%4c?) %s'
+
 <emphasis role="comment"># Where %L represents the author/recipient
+
 # This might look like:
 #       1   + Nov 17 David Bowie   Changesbowie    ( 689)
 #       2   ! Nov 17 Stevie Nicks  Rumours         ( 555)
 #       3   + Nov 16 Jimi Hendrix  Voodoo Child    ( 263)
 #       4   + Nov 16 Debbie Harry  Parallel Lines  ( 540)
+
 # Using the %I expando:</emphasis>
 set index_format='%4C %Z %{%b %d} %I (%?l?%4l&amp;%4c?) %s'
+
 <emphasis role="comment"># This might look like:
 #       1   + Nov 17 DB Changesbowie    ( 689)
 #       2   ! Nov 17 SN Rumours         ( 555)
 #       3   + Nov 16 JH Voodoo Child    ( 263)
 #       4   + Nov 16 DH Parallel Lines  ( 540)
+
 # vim: syntax=muttrc</emphasis>
 </screen>
   </sect2>
@@ -10675,15 +10548,15 @@ set index_format='%4C %Z %{%b %d} %I (%?l?%4l&amp;%4c?) %s'
 </sect1>
 
 <sect1 id="keywords">
-  <title>Keywords Patch</title>
+  <title>Keywords Feature</title>
   <subtitle>Labels/Tagging for emails</subtitle>
 
-  <sect2 id="keywords-patch">
-    <title>Patch</title>
+  <sect2 id="keywords-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>Keywords</quote>, look for
-      <quote>patch-keywords</quote> in the mutt version.
+      To check if NeoMutt supports <quote>Keywords</quote>, look for
+      <quote>patch-keywords</quote> in the version info.
       See: <xref linkend="mutt-patches"/>.
     </para>
 
@@ -10692,7 +10565,7 @@ set index_format='%4C %Z %{%b %d} %I (%?l?%4l&amp;%4c?) %s'
       <listitem><para>mutt-1.7.0</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="keywords-intro">
@@ -10712,7 +10585,7 @@ set index_format='%4C %Z %{%b %d} %I (%?l?%4l&amp;%4c?) %s'
     <para>
     We start by changing mutt's internal keyword storage from a single
     string which may contain whitespace to a list of discrete keywords.
-    This has advantages for keyword completion as well as for portabilty
+    This has advantages for keyword completion as well as for portability
     among varying "standards" for keyword storage.  This may represent
     a significant change for existing mutt users who have set x-labels
     containing spaces, and should be regarded with suspicion.  The
@@ -10847,31 +10720,29 @@ set index_format='%4C %Z %{%b %d} %I (%?l?%4l&amp;%4c?) %s'
     <title>Muttrc</title>
 
 <screen>
-<emphasis role="comment"># This is a complete list of keywords-related configuration.
+<emphasis role="comment"># Example NeoMutt config file for the keywords feature.
+
 # --------------------------------------------------------------------------
 # VARIABLES - shown with their default values
 # --------------------------------------------------------------------------
+
 # Should Mutt save the keywords to whatever keyword it came from?</emphasis>
 set keywords_legacy = yes
-<emphasis role="comment"># Should Mutt use the "Keywords:" header?</emphasis>
+
+<emphasis role="comment"># Should Mutt use the &quot;Keywords:&quot; header?</emphasis>
 set keywords_standard = no
+
 <emphasis role="comment"># How should the keywords be separated?</emphasis>
-set xlabel_delimiter = ""
+set xlabel_delimiter = &quot;&quot;
+
 <emphasis role="comment"># --------------------------------------------------------------------------
 # FUNCTIONS - shown with an example mapping
 # --------------------------------------------------------------------------
+
 # Bind 'y' to edit labels/keywords</emphasis>
 bind index,pager y edit-label
-<emphasis role="comment"># --------------------------------------------------------------------------
-# vim: syntax=muttrc</emphasis>
+
+<emphasis role="comment"># vim: syntax=muttrc</emphasis>
 </screen>
   </sect2>
 
@@ -10903,15 +10774,15 @@ bind index,pager y edit-label
 </sect1>
 
 <sect1 id="limit-current-thread">
-  <title>Limit-Current-Thread Patch</title>
+  <title>Limit-Current-Thread Feature</title>
   <subtitle>Focus on one Email Thread</subtitle>
 
-  <sect2 id="limit-current-thread-patch">
-    <title>Patch</title>
+  <sect2 id="limit-current-thread-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>limit-current-thread</quote>, look for
-      <quote>patch-limit-current-thread</quote> in the mutt version.
+      To check if NeoMutt supports <quote>limit-current-thread</quote>, look for
+      <quote>patch-limit-current-thread</quote> in the version info.
       See: <xref linkend="mutt-patches"/>.
     </para>
 
@@ -10920,14 +10791,14 @@ bind index,pager y edit-label
       <listitem><para>mutt-1.7.0</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="limit-current-thread-intro">
     <title>Introduction</title>
 
     <para>
-      This patch adds a new way of using the
+      This feature adds a new way of using the
       <link linkend="tuning-search">Limit Command</link>.
       The <literal>&lt;limit-current-thread&gt;</literal>
       function restricts the view to just the current thread.
@@ -10971,11 +10842,11 @@ bind index,pager y edit-label
     <title>Muttrc</title>
 
 <screen>
-<emphasis role="comment"># Example Mutt config file for the 'limit-current-thread' patch.
+<emphasis role="comment"># Example NeoMutt config file for the limit-current-thread feature.
+
 # Limit view to current thread</emphasis>
 bind index &lt;esc&gt;L limit-current-thread
+
 <emphasis role="comment"># vim: syntax=muttrc</emphasis>
 </screen>
   </sect2>
@@ -11003,15 +10874,15 @@ bind index &lt;esc&gt;L limit-current-thread
 </sect1>
 
 <sect1 id="lmdb">
-  <title>LMDB Patch</title>
+  <title>LMDB Feature</title>
   <subtitle>LMDB backend for the header cache</subtitle>
 
-  <sect2 id="lmdb-patch">
-    <title>Patch</title>
+  <sect2 id="lmdb-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>lmdb</quote>, look for
-      <quote>patch-lmdb</quote> in the mutt version.
+      To check if NeoMutt supports <quote>lmdb</quote>, look for
+      <quote>patch-lmdb</quote> in the version info.
       See: <xref linkend="mutt-patches"/>.
     </para>
 
@@ -11020,14 +10891,14 @@ bind index &lt;esc&gt;L limit-current-thread
       <listitem><para>mutt-1.7.0</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="lmdb-intro">
     <title>Introduction</title>
 
     <para>
-      This patch adds support for using LMDB as a storage backend for
+      This feature adds support for using LMDB as a storage backend for
       Mutt's header cache (hcache). It is enabled at configure time with
       the <emphasis>--with-lmdb=&lt;path&gt;</emphasis> switch.
     </para>
@@ -11063,15 +10934,15 @@ bind index &lt;esc&gt;L limit-current-thread
 </sect1>
 
 <sect1 id="multiple-fcc">
-  <title>multiple-fcc Patch</title>
+  <title>multiple-fcc Feature</title>
   <subtitle>Save multiple copies of outgoing mail</subtitle>
 
-  <sect2 id="multiple-fcc-patch">
-    <title>Patch</title>
+  <sect2 id="multiple-fcc-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>multiple-fcc</quote>, look for
-      <quote>patch-multiple-fcc</quote> in the mutt version.
+      To check if NeoMutt supports <quote>multiple-fcc</quote>, look for
+      <quote>patch-multiple-fcc</quote> in the version info.
       See: <xref linkend="mutt-patches"/>.
     </para>
 
@@ -11080,14 +10951,14 @@ bind index &lt;esc&gt;L limit-current-thread
       <listitem><para>mutt-1.7.0</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="multiple-fcc-intro">
     <title>Introduction</title>
 
     <para>
-      This patch allows the user to save outgoing emails in multiple folders.
+      This feature allows the user to save outgoing emails in multiple folders.
     </para>
 
     <para>
@@ -11129,15 +11000,15 @@ bind index &lt;esc&gt;L limit-current-thread
 </sect1>
 
 <sect1 id="nested-if">
-  <title>Nested If Patch</title>
+  <title>Nested If Feature</title>
   <subtitle>Allow complex nested conditions in format strings</subtitle>
 
-  <sect2 id="nested-if-patch">
-    <title>Patch</title>
+  <sect2 id="nested-if-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>Nested If</quote>, look for
-      <quote>patch-nested-if</quote> in the mutt version.
+      To check if NeoMutt supports <quote>Nested If</quote>, look for
+      <quote>patch-nested-if</quote> in the version info.
       See: <xref linkend="mutt-patches"/>.
     </para>
 
@@ -11146,7 +11017,7 @@ bind index &lt;esc&gt;L limit-current-thread
       <listitem><para>mutt-1.7.0</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="nested-if-intro">
@@ -11183,7 +11054,7 @@ if (%S &gt; 0) {
 
     <para>
       These conditions are useful, but in Mutt they cannot be nested
-      within one another.  This patch uses the notation
+      within one another.  This feature uses the notation
       <literal>%&lt;VAR?TRUE&amp;FALSE&gt;</literal> and allows them to be nested.
     </para>
 
@@ -11272,11 +11143,11 @@ else
   <sect2 id="nested-if-muttrc">
     <title>Muttrc</title>
 <screen>
-<emphasis role="comment"># Example Mutt config file for the 'nested-if' feature.
-# This patch uses the format: '%&lt;VAR?TRUE&amp;FALSE&gt;' for conditional
+<emphasis role="comment"># Example NeoMutt config file for the nested-if feature.
+
+# This feature uses the format: '%&lt;VAR?TRUE&amp;FALSE&gt;' for conditional
 # format strings that can be nested.
+
 # Example 1
 # if a thread is folded
 #       display the number of messages (%M)
@@ -11284,7 +11155,7 @@ else
 #       display lines in message (%l)
 # else display the size of the message in bytes (%c)</emphasis>
 set index_format='%4C %Z %{%b %d} %-25.25n %s%&gt; %&lt;M?%M Msgs &amp;%&lt;l?%l Lines&amp;%c Bytes&gt;&gt;'
+
 <emphasis role="comment"># Example 2
 # if a thread is folded
 #       display the number of messages (%M)
@@ -11294,7 +11165,7 @@ set index_format='%4C %Z %{%b %d} %-25.25n %s%&gt; %&lt;M?%M Msgs &amp;%&lt;l?%l
 # else
 #       display the size of the message in bytes (%c)</emphasis>
 set index_format='%4C %Z %{%b %d} %-25.25n %&lt;M?[%M] %s&amp;%s%* %&lt;l?%l&amp;%c&gt;&gt;'
+
 <emphasis role="comment"># vim: syntax=muttrc</emphasis>
 </screen>
   </sect2>
@@ -11327,15 +11198,15 @@ set index_format='%4C %Z %{%b %d} %-25.25n %&lt;M?[%M] %s&amp;%s%* %&lt;l?%l&amp
 </sect1>
 
 <sect1 id="new-mail-hook">
-  <title>new-mail Patch</title>
+  <title>new-mail Feature</title>
   <subtitle>Execute a command upon the receipt of new mail.</subtitle>
 
-  <sect2 id="new-mail-patch">
-    <title>Patch</title>
+  <sect2 id="new-mail-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>new-mail</quote>, look for
-      <quote>patch-new-mail</quote> in the mutt version.
+      To check if NeoMutt supports <quote>new-mail</quote>, look for
+      <quote>patch-new-mail</quote> in the version info.
       See: <xref linkend="mutt-patches"/>.
     </para>
 
@@ -11344,14 +11215,14 @@ set index_format='%4C %Z %{%b %d} %-25.25n %&lt;M?[%M] %s&amp;%s%* %&lt;l?%l&amp
       <listitem><para>mutt-1.7.0</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="new-mail-intro">
     <title>Introduction</title>
 
     <para>
-      This patch enables the new_mail_command setting, which can be used to
+      This feature enables the new_mail_command setting, which can be used to
       execute a custom script (e.g., a notification handler) upon receiving a
       new mail.
     </para>
@@ -11409,20 +11280,20 @@ set new_mail_command="terminal-notifier -title '%v' -subtitle 'New Mail in %f' -
   <sect2 id="new-mail-muttrc">
     <title>Muttrc</title>
 <screen>
-<emphasis role="comment"># Example Mutt config file for the 'new-mail-command' patch.
+<emphasis role="comment"># Example NeoMutt config file for the new-mail feature.
+
 # --------------------------------------------------------------------------
 # VARIABLES - shown with their default values
 # --------------------------------------------------------------------------
+
 # Set the command you want mutt to execute upon the receipt of a new email</emphasis>
-set new_mail_command = ""
+set new_mail_command = &quot;&quot;
+
 <emphasis role="comment"># Linux example:
-# set new_command="notify-send --icon='/home/santiago/Pictures/mutt.png' 'New Email in %f' '%n new messages, %u unread.' &amp;"
+# set new_command=&quot;notify-send --icon='/home/santiago/Pictures/mutt.png' 'New Email in %f' '%n new messages, %u unread.' &amp;&quot;
+
 # OS X example:
-# set new_mail_command="terminal-notifier -title '%v' -subtitle 'New Mail in %f' -message '%n new messages, %u unread.' -activate 'com.apple.Terminal'"
+# set new_mail_command=&quot;terminal-notifier -title '%v' -subtitle 'New Mail in %f' -message '%n new messages, %u unread.' -activate 'com.apple.Terminal'&quot;
 
 # --------------------------------------------------------------------------
 
@@ -11469,15 +11340,15 @@ set new_mail_command = ""
 </sect1>
 
 <sect1 id="nntp">
-  <title>NNTP Patch</title>
+  <title>NNTP Feature</title>
   <subtitle>Talk to a Usenet news server</subtitle>
 
-  <sect2 id="nntp-patch">
-    <title>Patch</title>
+  <sect2 id="nntp-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>NNTP</quote>, look for
-      <quote>+USE_NNTP</quote> in the mutt version.
+      To check if NeoMutt supports <quote>NNTP</quote>, look for
+      <quote>+USE_NNTP</quote> in the version info.
       See: <xref linkend="compile-time-features"/>.
     </para>
 
@@ -11486,7 +11357,7 @@ set new_mail_command = ""
       <listitem><para>mutt-1.7.0</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="nntp-intro">
@@ -11766,7 +11637,7 @@ set new_mail_command = ""
     <title>Muttrc</title>
 
 <screen>
-<emphasis role="comment"># This is a complete list of nntp configuration.
+<emphasis role="comment"># Example NeoMutt config file for the nntp feature.
 
 # --------------------------------------------------------------------------
 # VARIABLES - shown with their default values
@@ -11801,61 +11672,61 @@ set x_comment_to = no
 # --------------------------------------------------------------------------
 
 # mark all articles in newsgroup as read</emphasis>
-bind browser,index y catchup 
+bind browser,index y catchup
 
 <emphasis role="comment"># open a different newsgroup</emphasis>
-bind index,pager i change-newsgroup 
+bind index,pager i change-newsgroup
 
 <emphasis role="comment"># edit the Followup-To field</emphasis>
-bind compose o edit-followup-to 
+bind compose o edit-followup-to
 
 <emphasis role="comment"># edit the newsgroups list</emphasis>
-bind compose N edit-newsgroups 
+bind compose N edit-newsgroups
 
 <emphasis role="comment"># edit the X-Comment-To field</emphasis>
-bind compose x edit-x-comment-to 
+bind compose x edit-x-comment-to
 
 <emphasis role="comment"># followup to newsgroup</emphasis>
-bind attach,index,pager F followup-message 
+bind attach,index,pager F followup-message
 
 <emphasis role="comment"># post message to newsgroup</emphasis>
-bind index,pager P post-message 
+bind index,pager P post-message
 
 <emphasis role="comment"># load list of all newsgroups from NNTP server</emphasis>
-bind browser g reload-active 
+bind browser g reload-active
 
 <emphasis role="comment"># subscribe to current mbox (IMAP/NNTP only)</emphasis>
-bind browser s subscribe 
+bind browser s subscribe
 
 <emphasis role="comment"># subscribe to newsgroups matching a pattern</emphasis>
-bind browser S subscribe-pattern 
+bind browser S subscribe-pattern
 
 <emphasis role="comment"># mark all articles in newsgroup as unread</emphasis>
-bind browser Y uncatchup 
+bind browser Y uncatchup
 
 <emphasis role="comment"># unsubscribe from current mbox (IMAP/NNTP only)</emphasis>
-bind browser u unsubscribe 
+bind browser u unsubscribe
 
 <emphasis role="comment"># unsubscribe from newsgroups matching a pattern</emphasis>
-bind browser U unsubscribe-pattern 
+bind browser U unsubscribe-pattern
 
 <emphasis role="comment"># open a different newsgroup in read only mode</emphasis>
-bind index,pager \ei change-newsgroup-readonly 
+bind index,pager \ei change-newsgroup-readonly
 
 <emphasis role="comment"># forward to newsgroup</emphasis>
-bind attach,index,pager \eF forward-to-group 
+bind attach,index,pager \eF forward-to-group
 
-<emphasis role="comment"># get all children of the current message</emphasis>
-# bind index ??? get-children 
+<emphasis role="comment"># get all children of the current message
+# bind index ??? get-children
 
-<emphasis role="comment"># get parent of the current message</emphasis>
-bind index \eG get-parent 
+# get parent of the current message</emphasis>
+bind index \eG get-parent
 
-# reconstruct thread containing current message
-# bind index ??? reconstruct-thread 
+<emphasis role="comment"># reconstruct thread containing current message
+# bind index ??? reconstruct-thread
 
-<emphasis role="comment"># get message with Message-Id</emphasis>
-bind index \CG get-message 
+# get message with Message-Id</emphasis>
+bind index \CG get-message
 
 <emphasis role="comment"># --------------------------------------------------------------------------
 
@@ -11890,15 +11761,15 @@ bind index \CG get-message
 </sect1>
 
 <sect1 id="notmuch">
-  <title>Notmuch Patch</title>
+  <title>Notmuch Feature</title>
   <subtitle>Email search engine</subtitle>
 
-  <sect2 id="notmuch-patch">
-    <title>Patch</title>
+  <sect2 id="notmuch-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>Notmuch</quote>, look for
-      <quote>+USE_NOTMUCH</quote> in the mutt version.
+      To check if NeoMutt supports <quote>Notmuch</quote>, look for
+      <quote>+USE_NOTMUCH</quote> in the version info.
       See: <xref linkend="compile-time-features"/>.
     </para>
 
@@ -11910,7 +11781,7 @@ bind index \CG get-message
       <listitem><para>Notmuch libraries</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="notmuch-intro">
@@ -11921,7 +11792,7 @@ bind index \CG get-message
     </para>
 
     <itemizedlist>
-      <listitem><para>For more information, see: 
+      <listitem><para>For more information, see:
       <ulink url="http://notmuchmail.org/">http://notmuchmail.org/</ulink>
       </para></listitem>
       <listitem><para>Home page (wiki) and git:
@@ -12062,17 +11933,17 @@ virtual-mailboxes "My INBOX" "notmuch://?query=tag:inbox"
               </row>
               <row>
                 <entry>%&gt;X</entry>
-                <entry>right justify the rest of the string and pad with character 
+                <entry>right justify the rest of the string and pad with character
                 <quote>X</quote></entry>
               </row>
               <row>
                 <entry>%|X</entry>
-                <entry>pad to the end of the line with character 
+                <entry>pad to the end of the line with character
                 <quote>X</quote></entry>
               </row>
               <row>
                 <entry>%*X</entry>
-                <entry>soft-fill with character 
+                <entry>soft-fill with character
                 <quote>X</quote>as pad</entry>
               </row>
             </tbody>
@@ -12307,119 +12178,119 @@ virtual-mailboxes "My INBOX" "notmuch://?query=tag:inbox"
     <title>Muttrc</title>
 
 <screen>
-<emphasis role="comment"># This is a complete list of notmuch-related configuration.
+<emphasis role="comment"># Example NeoMutt config file for the notmuch feature.
+
 # --------------------------------------------------------------------------
 # VARIABLES - shown with their default values
 # --------------------------------------------------------------------------
+
 # This variable specifies notmuch query limit.</emphasis>
 set nm_db_limit = 0
+
 <emphasis role="comment"># This variable specifies the default Notmuch database in format:
 # notmuch://&lt;absolute path&gt;</emphasis>
-set nm_default_uri = ""
+set nm_default_uri = &quot;&quot;
+
 <emphasis role="comment"># The messages tagged with these tags are excluded and not loaded
 # from notmuch DB to mutt unless specified explicitly.</emphasis>
-set nm_exclude_tags = ""
+set nm_exclude_tags = &quot;&quot;
+
 <emphasis role="comment"># This variable specifies private notmuch tags which should not be printed
 # on screen (index, pager).</emphasis>
-set nm_hidden_tags = "unread,draft,flagged,passed,replied,attachment,signed,encrypted"
+set nm_hidden_tags = &quot;unread,draft,flagged,passed,replied,attachment,signed,encrypted&quot;
+
 <emphasis role="comment"># This option specifies timeout for Notmuch database. Default is 5 seconds.</emphasis>
 set nm_open_timeout = 5
+
 <emphasis role="comment"># This variable specifies notmuch query type, supported types: 'threads' and
 # 'messages'.</emphasis>
 set nm_query_type = messages
+
 <emphasis role="comment"># Add messages stored to the mutt record (see $record in the mutt docs)
 # also to notmuch DB.</emphasis>
 set nm_record = no
+
 <emphasis role="comment"># Tags that should be removed or added to the to the messages stored in the mutt record.</emphasis>
-set nm_record_tags = ""
+set nm_record_tags = &quot;&quot;
+
 <emphasis role="comment"># This variable specifies notmuch tag which is used for unread messages.</emphasis>
 set nm_unread_tag = unread
+
 <emphasis role="comment"># This variable allows you to customize the file browser display for virtual
 # folders to your personal taste.</emphasis>
-set vfolder_format = "%2C %?n?%4n/&amp;     ?%4m %N %f"
+set vfolder_format = &quot;%6n(%6N) %f&quot;
+
 <emphasis role="comment"># When set, mutt will use the first virtual mailbox (see virtual-mailboxes)
 # as a spoolfile.</emphasis>
 set virtual_spoolfile = no
+
 <emphasis role="comment"># --------------------------------------------------------------------------
 # FUNCTIONS - shown with an example mapping
 # --------------------------------------------------------------------------
+
 # open a different virtual folder</emphasis>
-bind index,pager X change-vfolder 
+bind index,pager X change-vfolder
+
 <emphasis role="comment"># read entire thread of the current message</emphasis>
-bind index,pager + entire-thread 
+bind index,pager + entire-thread
+
 <emphasis role="comment"># modify (notmuch) tags</emphasis>
-bind index,pager \` modify-labels 
+bind index,pager \` modify-labels
+
 <emphasis role="comment"># generate virtual folder from query</emphasis>
-bind index,pager \eX vfolder-from-query 
+bind index,pager \eX vfolder-from-query
+
 <emphasis role="comment"># modify labels and then hide message
-# bind index,pager ??? modify-labels-then-hide 
+# bind index,pager ??? modify-labels-then-hide
+
 # toggle between mailboxes and virtual mailboxes
-# bind index,pager ??? sidebar-toggle-virtual 
+# bind index,pager ??? sidebar-toggle-virtual
+
 # --------------------------------------------------------------------------
 # COMMANDS - shown with an example
 # --------------------------------------------------------------------------
+
 # virtual-mailboxes description notmuch-URI { description notmuch-URI ...}
-# virtual-mailboxes "Climbing" "notmuch://?query=climbing"
+# virtual-mailboxes &quot;Climbing&quot; &quot;notmuch://?query=climbing&quot;
+
 # Replace some tags with icons
 # tag-transforms tag transformed-string { tag transformed-string ...}
-# tag-transforms "inbox"   "i"   \
-#                "unread"  "u"   \
-#                "replied" "↻ "  \
-#                "sent"    "➥ "  \
-#                "todo"    "T"   \
-#                "deleted" "DEL" \
-#                "invites" "CAL"
+# tag-transforms &quot;inbox&quot;   &quot;i&quot;   \
+#                &quot;unread&quot;  &quot;u&quot;   \
+#                &quot;replied&quot; &quot;↻ &quot;  \
+#                &quot;sent&quot;    &quot;➥ &quot;  \
+#                &quot;todo&quot;    &quot;T&quot;   \
+#                &quot;deleted&quot; &quot;DEL&quot; \
+#                &quot;invites&quot; &quot;CAL&quot;
+
 # See README.notmuch for an explanation
 # tag-formats tag format-string { tag format-string ...}
-# tag-formats "inbox"   "GI" \
-#              "unread"  "GU" \
-#              "replied" "GR" \
-#              "sent"    "GS" \
-#              "todo"    "Gt" \
-#              "deleted" "GD" \
-#              "invites" "Gi"
+# tag-formats &quot;inbox&quot;   &quot;GI&quot; \
+#              &quot;unread&quot;  &quot;GU&quot; \
+#              &quot;replied&quot; &quot;GR&quot; \
+#              &quot;sent&quot;    &quot;GS&quot; \
+#              &quot;todo&quot;    &quot;Gt&quot; \
+#              &quot;deleted&quot; &quot;GD&quot; \
+#              &quot;invites&quot; &quot;Gi&quot;
+
 # set index_format='4C %S %[%y.%m.%d] %-18.18n %?GU?%GU&amp; ? %?GR?%GR&amp; ? %?GI?%GI&amp; ? %s'
+
 # --------------------------------------------------------------------------
 # COLORS - some unpleasant examples are given
 # --------------------------------------------------------------------------
-# These symbols are added to the index-color patch:
+
+# These symbols are added to the index-color feature:
+
 # an individual message tag, %G, uses tag name
 # this symbol uses a pattern</emphasis>
-color index_tag red white "inbox"
+color index_tag red white &quot;inbox&quot;
+
 <emphasis role="comment"># the transformed message tags, %g
 # this symbol does not use a pattern</emphasis>
 color index_tags green default
+
 <emphasis role="comment"># --------------------------------------------------------------------------
+
 # vim: syntax=muttrc</emphasis>
 </screen>
   </sect2>
@@ -12470,15 +12341,15 @@ color index_tags green default
 </sect1>
 
 <sect1 id="progress">
-  <title>Progress Bar Patch</title>
+  <title>Progress Bar Feature</title>
   <subtitle>Show a visual progress bar on slow operations</subtitle>
 
-  <sect2 id="progress-patch">
-    <title>Patch</title>
+  <sect2 id="progress-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>Progress Bar</quote>, look for
-      <quote>patch-progress</quote> in the mutt version.
+      To check if NeoMutt supports <quote>Progress Bar</quote>, look for
+      <quote>patch-progress</quote> in the version info.
       See: <xref linkend="mutt-patches"/>.
     </para>
 
@@ -12487,7 +12358,7 @@ color index_tags green default
       <listitem><para>mutt-1.7.0</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="progress-intro">
@@ -12525,15 +12396,15 @@ color index_tags green default
   <sect2 id="progress-muttrc">
     <title>Muttrc</title>
 <screen>
-<emphasis role="comment"># Example Mutt config file for the 'progress' patch.
-# The 'progress' patch provides clear visual feedback for
+<emphasis role="comment"># Example NeoMutt config file for the progress feature.
+
+# The 'progress' feature provides clear visual feedback for
 # slow tasks, such as indexing a large folder over the net.
+
 # Set the color of the progress bar
 # White text on a red background</emphasis>
 color progress white red
+
 <emphasis role="comment"># vim: syntax=muttrc</emphasis>
 </screen>
   </sect2>
@@ -12565,15 +12436,15 @@ color progress white red
 </sect1>
 
 <sect1 id="quasi-delete">
-  <title>Quasi-Delete Patch</title>
+  <title>Quasi-Delete Feature</title>
   <subtitle>Mark emails that should be hidden, but not deleted</subtitle>
 
-  <sect2 id="quasi-delete-patch">
-    <title>Patch</title>
+  <sect2 id="quasi-delete-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>Quasi-Delete</quote>, look for
-      <quote>patch-quasi-delete</quote> in the mutt version.
+      To check if NeoMutt supports <quote>Quasi-Delete</quote>, look for
+      <quote>patch-quasi-delete</quote> in the version info.
       See: <xref linkend="mutt-patches"/>.
     </para>
 
@@ -12582,21 +12453,21 @@ color progress white red
       <listitem><para>mutt-1.7.0</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="quasi-delete-intro">
     <title>Introduction</title>
 
-        <para>
+    <para>
     The <quote>quasi-delete</quote> function marks an email that should be
     hidden from the index, but NOT deleted.
-        </para>
+    </para>
 
-        <para>
-    On its own, this patch isn't very useful.  It forms a useful part of
+    <para>
+    On its own, this feature isn't very useful.  It forms a useful part of
     the notmuch plugin.
-        </para>
+    </para>
   </sect2>
 
   <sect2 id="quasi-delete-functions">
@@ -12627,12 +12498,12 @@ color progress white red
   <sect2 id="quasi-delete-muttrc">
     <title>Muttrc</title>
 <screen>
-<emphasis role="comment"># Example Mutt config file for the 'quasi-delete' feature.
+<emphasis role="comment"># Example NeoMutt config file for the quasi-delete feature.
+
 # The 'quasi-delete' function marks an email that should be hidden
 # from the index, but NOT deleted.</emphasis>
 bind index,pager Q quasi-delete
+
 <emphasis role="comment"># vim: syntax=muttrc</emphasis>
 </screen>
   </sect2>
@@ -12661,17 +12532,17 @@ bind index,pager Q quasi-delete
 </sect1>
 
 <sect1 id="reply-with-xorig-patch">
-  <title>Reply With X-Original-To Patch</title>
+  <title>Reply With X-Original-To Feature</title>
   <subtitle>Adds a configuration variable to allow direct reply to a mail using X-Original-To header
       as a From: in the answer.
   </subtitle>
 
-  <sect2 id="reply-with-xorig-patch2">
-    <title>Patch</title>
+  <sect2 id="reply-with-xorig-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>Reply With X-Original-To</quote>, look for
-      <quote>patch-reply-with-xorig</quote> in the mutt version.
+      To check if NeoMutt supports <quote>Reply With X-Original-To</quote>, look for
+      <quote>patch-reply-with-xorig</quote> in the version info.
       See: <xref linkend="mutt-patches"/>.
     </para>
 
@@ -12680,7 +12551,7 @@ bind index,pager Q quasi-delete
       <listitem><para>mutt-1.7.0</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="reply-with-xorig-intro">
@@ -12720,16 +12591,16 @@ bind index,pager Q quasi-delete
   <sect2 id="reply-with-xorig-muttrc">
     <title>Muttrc</title>
 <screen>
-<emphasis role="comment"># This is a complete list of reply-with-xorig-related configuration.
+<emphasis role="comment"># Example NeoMutt config file for the reply-with-xorig feature.
+
 # --------------------------------------------------------------------------
 # VARIABLES - shown with their default values
 # --------------------------------------------------------------------------
+
 # Use X-Original-To header to reply when reverse is disabled or no alternate
 # is found.</emphasis>
-set reply_with_xorig = "yes"
+set reply_with_xorig = &quot;yes&quot;
+
 <emphasis role="comment"># vim: syntax=muttrc</emphasis>
 </screen>
   </sect2>
@@ -12742,16 +12613,138 @@ set reply_with_xorig = "yes"
   </sect2>
 </sect1>
 
+<sect1 id="sensible-browser">
+  <title>Sensible-Browser Feature</title>
+  <subtitle>Make the file browser behave</subtitle>
+
+  <sect2 id="sensible-browser-support">
+    <title>Support</title>
+
+    <para>
+      To check if NeoMutt supports <quote>sensible-browser</quote>, look for
+      <quote>patch-sensible-browser</quote> in the version info.
+      See: <xref linkend="mutt-patches"/>.
+    </para>
+
+    <itemizedlist>
+      <title>Dependencies:</title>
+      <listitem><para>mutt-1.7.0</para></listitem>
+    </itemizedlist>
+
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+  </sect2>
+
+  <sect2 id="sensible-browser-intro">
+    <title>Introduction</title>
+
+    <para>
+      The <quote>sensible browser</quote> is a set of small changes to NeoMutt's
+      mailbox browser which make the browser behave in a more predictable way.
+    </para>
+
+    <para>
+      The behavior is divided into two use cases: Fixed Order; Variable Order.
+    </para>
+
+    <sect3 id="sensible-browser-sort-fixed">
+      <title>A Fixed Order of Mailboxes</title>
+
+      <para>
+        This is for users who like their mailboxes in a fixed order, e.g.
+        alphabetical, or unsorted (in the order of the config file).
+      </para>
+
+<screen>
+<emphasis role="comment"># Fixed order</emphasis>
+set sort_browser="alpha"
+set sort_browser="unsorted"
+</screen>
+
+      <para>
+        When you first start the browser, e.g. <literal>c?</literal> your current
+        mailbox will be highlighted.
+      </para>
+
+      <para>
+        When you navigate to a parent mailbox (<quote>..</quote>) your old mailbox
+        will be highlighted.
+      </para>
+
+      <para>
+        <quote>..</quote> will always be listed at the top, however the rest of
+        the list is sorted.
+      </para>
+
+    </sect3>
+
+    <sect3 id="sensible-browser-sort-variable">
+      <title>A Variable Order of Mailboxes</title>
+
+      <para>
+        This is for users who like their mailboxes sorted by a characteristic
+        that changes, e.g. count of new mail, or the size of mailbox.
+      </para>
+
+<screen>
+<emphasis role="comment"># Variable order</emphasis>
+set sort_browser="reverse-count"
+set sort_browser="reverse-size"
+</screen>
+
+      <para>
+        When you first start the browser, e.g. <literal>c?</literal> the
+        highlight will be on the first mailbox, e.g. the one with the most new
+        mail.
+      </para>
+
+      <para>
+        When you navigate to a parent mailbox (<quote>..</quote>) your old mailbox
+        will be highlighted.
+      </para>
+
+      <para>
+        <quote>..</quote> will always be listed at the top, however the rest of
+        the list is sorted.
+      </para>
+
+    </sect3>
+
+  </sect2>
+
+  <sect2 id="sensible-browser-see-also">
+    <title>See Also</title>
+
+    <itemizedlist>
+      <listitem><para><ulink url="http://www.neomutt.org/">NeoMutt Project</ulink></para></listitem>
+      <listitem><para><link linkend="folder-format">$folder_format</link></para></listitem>
+    </itemizedlist>
+  </sect2>
+
+  <sect2 id="sensible-browser-known-bugs">
+    <title>Known Bugs</title>
+    <para>None</para>
+  </sect2>
+
+  <sect2 id="sensible-browser-credits">
+    <title>Credits</title>
+    <itemizedlist>
+    <listitem><para>Pierre-Elliott Bécue <email>becue@crans.org</email></para></listitem>
+    <listitem><para>Haakon Riiser <email>haakon.riiser@fys.uio.no</email></para></listitem>
+    <listitem><para>Richard Russon <email>rich@flatcap.org</email></para></listitem>
+    </itemizedlist>
+  </sect2>
+</sect1>
+
 <sect1 id="sidebar">
-  <title>Sidebar Patch</title>
+  <title>Sidebar Feature</title>
   <subtitle>Overview of mailboxes</subtitle>
 
-  <sect2 id="sidebar-patch">
-    <title>Patch</title>
+  <sect2 id="sidebar-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>Sidebar</quote>, look for
-      <quote>+USE_SIDEBAR</quote> in the mutt version.
+      To check if NeoMutt supports <quote>Sidebar</quote>, look for
+      <quote>+USE_SIDEBAR</quote> in the version info.
       See: <xref linkend="compile-time-features"/>.
     </para>
 
@@ -12760,7 +12753,7 @@ set reply_with_xorig = "yes"
       <listitem><para>mutt-1.7.0</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="sidebar-intro">
@@ -12850,11 +12843,6 @@ set reply_with_xorig = "yes"
             <entry>boolean</entry>
             <entry><literal>no</literal></entry>
           </row>
-          <row>
-            <entry><literal>sidebar_whitelist</literal></entry>
-            <entry>list</entry>
-            <entry>(empty)</entry>
-          </row>
           <row>
             <entry><literal>sidebar_width</literal></entry>
             <entry>number</entry>
@@ -13055,127 +13043,127 @@ set reply_with_xorig = "yes"
   <sect2 id="sidebar-muttrc">
     <title>Muttrc</title>
 <screen>
-<emphasis role="comment"># This is a complete list of sidebar-related configuration.
+<emphasis role="comment"># Example NeoMutt config file for the sidebar feature.
+
 # --------------------------------------------------------------------------
 # VARIABLES - shown with their default values
 # --------------------------------------------------------------------------
+
 # Should the Sidebar be shown?</emphasis>
 set sidebar_visible = no
+
 <emphasis role="comment"># How wide should the Sidebar be in screen columns?
 # Note: Some characters, e.g. Chinese, take up two columns each.</emphasis>
 set sidebar_width = 20
+
 <emphasis role="comment"># Should the mailbox paths be abbreviated?</emphasis>
 set sidebar_short_path = no
+
 <emphasis role="comment"># When abbreviating mailbox path names, use any of these characters as path
 # separators.  Only the part after the last separators will be shown.
 # For file folders '/' is good.  For IMAP folders, often '.' is useful.</emphasis>
 set sidebar_delim_chars = '/.'
+
 <emphasis role="comment"># If the mailbox path is abbreviated, should it be indented?</emphasis>
 set sidebar_folder_indent = no
+
 <emphasis role="comment"># Indent mailbox paths with this string.</emphasis>
 set sidebar_indent_string = '  '
+
 <emphasis role="comment"># Make the Sidebar only display mailboxes that contain new, or flagged,
 # mail.</emphasis>
 set sidebar_new_mail_only = no
+
 <emphasis role="comment"># Any mailboxes that are whitelisted will always be visible, even if the
 # sidebar_new_mail_only option is enabled.</emphasis>
 sidebar_whitelist '/home/user/mailbox1'
 sidebar_whitelist '/home/user/mailbox2'
+
 <emphasis role="comment"># When searching for mailboxes containing new mail, should the search wrap
 # around when it reaches the end of the list?</emphasis>
 set sidebar_next_new_wrap = no
+
 <emphasis role="comment"># Show the Sidebar on the right-hand side of the screen</emphasis>
 set sidebar_on_right = no
+
 <emphasis role="comment"># The character to use as the divider between the Sidebar and the other Mutt
 # panels.
 # Note: Only the first character of this string is used.</emphasis>
 set sidebar_divider_char = '|'
-<emphasis role="comment"># Display the Sidebar mailboxes using this format string.</emphasis>
-set sidebar_format = '%B%*  %n'
-<emphasis role="comment"># If you want to display more information, this is a useful format:</emphasis>
+
+<emphasis role="comment"># Enable extended buffy mode to calculate total, new, and flagged
+# message counts for each mailbox.</emphasis>
 set mail_check_stats
+
+<emphasis role="comment"># Display the Sidebar mailboxes using this format string.</emphasis>
 set sidebar_format = '%B%?F? [%F]?%* %?N?%N/?%S'
+
 <emphasis role="comment"># Sort the mailboxes in the Sidebar using this method:
 #       count    - total number of messages
 #       flagged  - number of flagged messages
 #       new      - number of new messages
 #       path     - mailbox path
-#       unsorted - order of the mailboxes command</emphasis>
+#       unsorted - do not sort the mailboxes</emphasis>
 set sidebar_sort_method = 'unsorted'
+
 <emphasis role="comment"># --------------------------------------------------------------------------
 # FUNCTIONS - shown with an example mapping
 # --------------------------------------------------------------------------
+
 # Move the highlight to the previous mailbox</emphasis>
 bind index,pager \Cp sidebar-prev
+
 <emphasis role="comment"># Move the highlight to the next mailbox</emphasis>
 bind index,pager \Cn sidebar-next
+
 <emphasis role="comment"># Open the highlighted mailbox</emphasis>
 bind index,pager \Co sidebar-open
+
 <emphasis role="comment"># Move the highlight to the previous page
 # This is useful if you have a LOT of mailboxes.</emphasis>
 bind index,pager &lt;F3&gt; sidebar-page-up
+
 <emphasis role="comment"># Move the highlight to the next page
 # This is useful if you have a LOT of mailboxes.</emphasis>
 bind index,pager &lt;F4&gt; sidebar-page-down
+
 <emphasis role="comment"># Move the highlight to the previous mailbox containing new, or flagged,
 # mail.</emphasis>
 bind index,pager &lt;F5&gt; sidebar-prev-new
+
 <emphasis role="comment"># Move the highlight to the next mailbox containing new, or flagged, mail.</emphasis>
 bind index,pager &lt;F6&gt; sidebar-next-new
+
 <emphasis role="comment"># Toggle the visibility of the Sidebar.</emphasis>
 bind index,pager B sidebar-toggle-visible
+
 <emphasis role="comment"># --------------------------------------------------------------------------
 # COLORS - some unpleasant examples are given
 # --------------------------------------------------------------------------
 # Note: All color operations are of the form:
 #       color OBJECT FOREGROUND BACKGROUND
+
 # Color of the current, open, mailbox
 # Note: This is a general Mutt option which colors all selected items.</emphasis>
 color indicator cyan black
+
 <emphasis role="comment"># Color of the highlighted, but not open, mailbox.</emphasis>
 color sidebar_highlight black color8
+
 <emphasis role="comment"># Color of the divider separating the Sidebar from Mutt panels</emphasis>
 color sidebar_divider color8 black
+
 <emphasis role="comment"># Color to give mailboxes containing flagged mail</emphasis>
 color sidebar_flagged red black
+
 <emphasis role="comment"># Color to give mailboxes containing new mail</emphasis>
 color sidebar_new green black
+
 <emphasis role="comment"># Color to give mailboxes containing no new/flagged mail, etc</emphasis>
 color sidebar_ordinary color245 default
+
 <emphasis role="comment"># --------------------------------------------------------------------------
+
 # vim: syntax=muttrc</emphasis>
 </screen>
   </sect2>
@@ -13217,15 +13205,15 @@ color sidebar_ordinary color245 default
 </sect1>
 
 <sect1 id="skip-quoted-patch">
-  <title>Skip-Quoted Patch</title>
+  <title>Skip-Quoted Feature</title>
   <subtitle>Leave some context visible</subtitle>
 
-  <sect2 id="skip-quoted-patch2">
-    <title>Patch</title>
+  <sect2 id="skip-quoted-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>skip-quoted</quote>, look for
-      <quote>patch-skip-quoted</quote> in the mutt version.
+      To check if NeoMutt supports <quote>skip-quoted</quote>, look for
+      <quote>patch-skip-quoted</quote> in the version info.
       See: <xref linkend="mutt-patches"/>.
     </para>
 
@@ -13234,7 +13222,7 @@ color sidebar_ordinary color245 default
       <listitem><para>mutt-1.7.0</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="skip-quoted-intro">
@@ -13280,15 +13268,15 @@ color sidebar_ordinary color245 default
     <title>Muttrc</title>
 
 <screen>
-<emphasis role="comment"># Example Mutt config file for the 'skip-quoted' patch.
+<emphasis role="comment"># Example NeoMutt config file for the skip-quoted feature.
+
 # The 'S' (skip-quoted) command scrolls the pager past the quoted text (usually
 # indented with '&gt; '.  Setting 'skip_quoted_offset' leaves some lines of quoted
 # text on screen for context.
+
 # Show three quoted lines before the reply</emphasis>
 set skip_quoted_offset = 3
+
 <emphasis role="comment"># vim: syntax=muttrc</emphasis>
 </screen>
   </sect2>
@@ -13316,15 +13304,15 @@ set skip_quoted_offset = 3
 </sect1>
 
 <sect1 id="status-color">
-  <title>Status Color Patch</title>
+  <title>Status Color Feature</title>
   <subtitle>Custom rules for theming the status bar</subtitle>
 
-  <sect2 id="status-color-patch">
-    <title>Patch</title>
+  <sect2 id="status-color-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>Status Color</quote>, look for
-      <quote>patch-status-color</quote> in the mutt version.
+      To check if NeoMutt supports <quote>Status Color</quote>, look for
+      <quote>patch-status-color</quote> in the version info.
       See: <xref linkend="mutt-patches"/>.
     </para>
 
@@ -13333,7 +13321,7 @@ set skip_quoted_offset = 3
       <listitem><para>mutt-1.7.0</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="status-color-intro">
@@ -13418,54 +13406,54 @@ set skip_quoted_offset = 3
   <sect2 id="status-color-muttrc">
     <title>Muttrc</title>
 <screen>
-<emphasis role="comment"># Example Mutt config file for the 'status-color' patch.
-# The 'status-color' patch allows you to theme different parts of
+<emphasis role="comment"># Example NeoMutt config file for the status-color feature.
+
+# The 'status-color' feature allows you to theme different parts of
 # the status bar (also when it's used by the index).
+
 # For the examples below, set some defaults</emphasis>
 set status_format='-%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%&gt;-(%P)---'
 set index_format='%4C %Z %{%b %d} %-15.15L (%?l?%4l&amp;%4c?) %s'
 set sort=threads
 set sort_aux=last-date-received
+
 <emphasis role="comment"># 'status color' can take up to 2 extra parameters
+
 # color status foreground background [ regex [ num ]]
+
 # 0 extra parameters
 # Set the default color for the entire status line</emphasis>
 color status blue white
+
 <emphasis role="comment"># 1 extra parameter
 # Set the color for a matching pattern
 # color status foreground background regexp
+
 # Highlight New, Deleted, or Flagged emails</emphasis>
 color status brightred white '(New|Del|Flag):[0-9]+'
+
 <emphasis role="comment"># Highlight mailbox ordering if it's different from the default
 # First, highlight anything (*/*)</emphasis>
 color status brightred default '\([^)]+/[^)]+\)'
+
 <emphasis role="comment"># Then override the color for one specific case</emphasis>
 color status default   default '\(threads/last-date-received\)'
+
 <emphasis role="comment"># 2 extra parameters
 # Set the color for the nth submatch of a pattern
 # color status foreground background regexp num
+
 # Highlight the contents of the []s but not the [] themselves</emphasis>
 color status red default '\[([^]]+)\]' 1
+
 <emphasis role="comment"># The '1' refers to the first regex submatch, which is the inner
 # part in ()s
+
 # Highlight the mailbox</emphasis>
 color status brightwhite default 'Mutt: ([^ ]+)' 1
+
 <emphasis role="comment"># Search for 'Mutt: ' but only highlight what comes after it
+
 # vim: syntax=muttrc</emphasis>
 </screen>
   </sect2>
@@ -13500,15 +13488,15 @@ color status brightwhite default 'Mutt: ([^ ]+)' 1
 </sect1>
 
 <sect1 id="timeout-hook">
-  <title>Timeout Patch</title>
+  <title>Timeout Feature</title>
   <subtitle>Run a command periodically</subtitle>
 
-  <sect2 id="timeout-patch">
-    <title>Patch</title>
+  <sect2 id="timeout-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>timeout</quote>, look for
-      <quote>patch-timeout</quote> in the mutt version.
+      To check if NeoMutt supports <quote>timeout</quote>, look for
+      <quote>patch-timeout</quote> in the version info.
       See: <xref linkend="mutt-patches"/>.
     </para>
 
@@ -13517,14 +13505,14 @@ color status brightwhite default 'Mutt: ([^ ]+)' 1
       <listitem><para>mutt-1.7.0</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="timeout-intro">
     <title>Introduction</title>
 
     <para>
-      This patch implements a new hook that is called periodically when Mutt
+      This feature implements a new hook that is called periodically when Mutt
       checks for new mail. This hook is called every <literal>$timeout</literal> seconds.
     </para>
   </sect2>
@@ -13545,7 +13533,7 @@ color status brightwhite default 'Mutt: ([^ ]+)' 1
   <sect2 id="timeout-muttrc">
     <title>Muttrc</title>
 <screen>
-<emphasis role="comment"># This is a complete list of timeout configuration.
+<emphasis role="comment"># Example NeoMutt config file for the timeout feature.
 
 # --------------------------------------------------------------------------
 # COMMANDS - shown with an example arguments
@@ -13582,15 +13570,15 @@ timeout-hook . 'exec sync-mailbox'
 </sect1>
 
 <sect1 id="tls-sni">
-  <title>TLS-SNI Patch</title>
+  <title>TLS-SNI Feature</title>
   <subtitle>Negotiate with a server for a TSL/SSL certificate</subtitle>
 
-  <sect2 id="tls-sni-patch">
-    <title>Patch</title>
+  <sect2 id="tls-sni-support">
+    <title>Support</title>
 
     <para>
-      To check if Mutt supports <quote>TLS-SNI</quote>, look for
-      <quote>patch-tls-sni</quote> in the mutt version.
+      To check if NeoMutt supports <quote>TLS-SNI</quote>, look for
+      <quote>patch-tls-sni</quote> in the version info.
       See: <xref linkend="mutt-patches"/>.
     </para>
 
@@ -13600,7 +13588,7 @@ timeout-hook . 'exec sync-mailbox'
       <listitem><para>OpenSSL</para></listitem>
     </itemizedlist>
 
-    <para>This patch is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
+    <para>This feature is part of the <ulink url="http://www.neomutt.org/">NeoMutt Project</ulink>.</para>
   </sect2>
 
   <sect2 id="tls-sni-intro">
@@ -13624,20 +13612,15 @@ timeout-hook . 'exec sync-mailbox'
     and can perform vhosting.
     </para>
 
-        <para>
+    <para>
     To verify TLS SNI support by a server, you can use:
-        </para>
+    </para>
 
 <screen>
 openssl s_client -host &lt;imap server&gt; -port &lt;port&gt; -tls1 -servername &lt;imap server&gt;
 </screen>
   </sect2>
 
-  <sect2 id="tls-sni-muttrc">
-    <title>Muttrc</title>
-    <para>None</para>
-  </sect2>
-
   <sect2 id="tls-sni-see-also">
     <title>See Also</title>
 
@@ -14867,13 +14850,14 @@ The following are the commands understood by Mutt:
 <cmdsynopsis>
 <command><link linkend="sidebar-whitelist">sidebar_whitelist</link></command>
 <arg choice="plain">
-<replaceable class="parameter">item</replaceable>
+<replaceable class="parameter">mailbox</replaceable>
 </arg>
-<arg choice="plain">
-<replaceable class="parameter">command</replaceable>
+<arg choice="opt" rep="repeat">
+<replaceable class="parameter">mailbox</replaceable>
 </arg>
 </cmdsynopsis>
 </listitem>
+
 <listitem>
 <cmdsynopsis>
 <command><link linkend="source">source</link></command>
diff --git a/doc/mutt-1.7.0-syntax.vim b/doc/mutt-1.7.0-syntax.vim
new file mode 100644 (file)
index 0000000..e4395fd
--- /dev/null
@@ -0,0 +1,781 @@
+" Vim syntax file
+" Language:    Mutt setup files
+" Original:    Preben 'Peppe' Guldberg <peppe-vim@wielders.org>
+" Maintainer:  Kyle Wheeler <kyle-muttrc.vim@memoryhole.net>
+" Last Change: 18 August 2016
+
+" This file covers mutt version 1.7.0
+
+" quit when a syntax file was already loaded
+if exists("b:current_syntax")
+  finish
+endif
+
+let s:cpo_save = &cpo
+set cpo&vim
+
+" Set the keyword characters
+setlocal isk=@,48-57,_,-
+
+" handling optional variables
+if !exists("use_mutt_sidebar")
+  let use_mutt_sidebar=0
+endif
+
+syn match muttrcComment                "^# .*$" contains=@Spell
+syn match muttrcComment                "^#[^ ].*$"
+syn match muttrcComment                "^#$"
+syn match muttrcComment                "[^\\]#.*$"lc=1
+
+" Escape sequences (back-tick and pipe goes here too)
+syn match muttrcEscape         +\\[#tnr"'Cc ]+
+syn match muttrcEscape         +[`|]+
+syn match muttrcEscape         +\\$+
+
+" The variables takes the following arguments
+"syn match  muttrcString               contained "=\s*[^ #"'`]\+"lc=1 contains=muttrcEscape
+syn region muttrcString                contained keepend start=+"+ms=e skip=+\\"+ end=+"+ contains=muttrcEscape,muttrcCommand,muttrcAction,muttrcShellString
+syn region muttrcString                contained keepend start=+'+ms=e skip=+\\'+ end=+'+ contains=muttrcEscape,muttrcCommand,muttrcAction
+syn match muttrcStringNL       contained skipwhite skipnl "\s*\\$" nextgroup=muttrcString,muttrcStringNL
+
+syn region muttrcShellString   matchgroup=muttrcEscape keepend start=+`+ skip=+\\`+ end=+`+ contains=muttrcVarStr,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcCommand
+
+syn match  muttrcRXChars       contained /[^\\][][.*?+]\+/hs=s+1
+syn match  muttrcRXChars       contained /[][|()][.*?+]*/
+syn match  muttrcRXChars       contained /['"]^/ms=s+1
+syn match  muttrcRXChars       contained /$['"]/me=e-1
+syn match  muttrcRXChars       contained /\\/
+" Why does muttrcRXString2 work with one \ when muttrcRXString requires two?
+syn region muttrcRXString      contained skipwhite start=+'+ skip=+\\'+ end=+'+ contains=muttrcRXChars
+syn region muttrcRXString      contained skipwhite start=+"+ skip=+\\"+ end=+"+ contains=muttrcRXChars
+syn region muttrcRXString      contained skipwhite start=+[^   "'^]+ skip=+\\\s+ end=+\s+re=e-1 contains=muttrcRXChars
+" For some reason, skip refuses to match backslashes here...
+syn region muttrcRXString      contained matchgroup=muttrcRXChars skipwhite start=+\^+ end=+[^\\]\s+re=e-1 contains=muttrcRXChars
+syn region muttrcRXString      contained matchgroup=muttrcRXChars skipwhite start=+\^+ end=+$\s+ contains=muttrcRXChars
+syn region muttrcRXString2     contained skipwhite start=+'+ skip=+\'+ end=+'+ contains=muttrcRXChars
+syn region muttrcRXString2     contained skipwhite start=+"+ skip=+\"+ end=+"+ contains=muttrcRXChars
+
+" these must be kept synchronized with muttrcRXString, but are intended for
+" muttrcRXHooks
+syn region muttrcRXHookString  contained keepend skipwhite start=+'+ skip=+\\'+ end=+'+ contains=muttrcRXString nextgroup=muttrcString,muttrcStringNL
+syn region muttrcRXHookString  contained keepend skipwhite start=+"+ skip=+\\"+ end=+"+ contains=muttrcRXString nextgroup=muttrcString,muttrcStringNL
+syn region muttrcRXHookString  contained keepend skipwhite start=+[^   "'^]+ skip=+\\\s+ end=+\s+re=e-1 contains=muttrcRXString nextgroup=muttrcString,muttrcStringNL
+syn region muttrcRXHookString  contained keepend skipwhite start=+\^+ end=+[^\\]\s+re=e-1 contains=muttrcRXString nextgroup=muttrcString,muttrcStringNL
+syn region muttrcRXHookString  contained keepend matchgroup=muttrcRXChars skipwhite start=+\^+ end=+$\s+ contains=muttrcRXString nextgroup=muttrcString,muttrcStringNL
+syn match muttrcRXHookStringNL contained skipwhite skipnl "\s*\\$" nextgroup=muttrcRXHookString,muttrcRXHookStringNL
+
+" these are exclusively for args lists (e.g. -rx pat pat pat ...)
+syn region muttrcRXPat         contained keepend skipwhite start=+'+ skip=+\\'+ end=+'\s*+ contains=muttrcRXString nextgroup=muttrcRXPat
+syn region muttrcRXPat         contained keepend skipwhite start=+"+ skip=+\\"+ end=+"\s*+ contains=muttrcRXString nextgroup=muttrcRXPat
+syn match muttrcRXPat          contained /[^-'"#!]\S\+/ skipwhite contains=muttrcRXChars nextgroup=muttrcRXPat
+syn match muttrcRXDef          contained "-rx\s\+" skipwhite nextgroup=muttrcRXPat
+
+syn match muttrcSpecial                +\(['"]\)!\1+
+
+syn match muttrcSetStrAssignment contained skipwhite /=\s*\%(\\\?\$\)\?[0-9A-Za-z_-]\+/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr contains=muttrcVariable,muttrcEscapedVariable
+syn region muttrcSetStrAssignment contained skipwhite keepend start=+=\s*"+hs=s+1 end=+"+ skip=+\\"+ nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr contains=muttrcString
+syn region muttrcSetStrAssignment contained skipwhite keepend start=+=\s*'+hs=s+1 end=+'+ skip=+\\'+ nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr contains=muttrcString
+syn match muttrcSetBoolAssignment contained skipwhite /=\s*\\\?\$\w\+/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr contains=muttrcVariable,muttrcEscapedVariable
+syn match muttrcSetBoolAssignment contained skipwhite /=\s*\%(yes\|no\)/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn match muttrcSetBoolAssignment contained skipwhite /=\s*"\%(yes\|no\)"/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn match muttrcSetBoolAssignment contained skipwhite /=\s*'\%(yes\|no\)'/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn match muttrcSetQuadAssignment contained skipwhite /=\s*\\\?\$\w\+/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr contains=muttrcVariable,muttrcEscapedVariable
+syn match muttrcSetQuadAssignment contained skipwhite /=\s*\%(ask-\)\?\%(yes\|no\)/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn match muttrcSetQuadAssignment contained skipwhite /=\s*"\%(ask-\)\?\%(yes\|no\)"/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn match muttrcSetQuadAssignment contained skipwhite /=\s*'\%(ask-\)\?\%(yes\|no\)'/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn match muttrcSetNumAssignment contained skipwhite /=\s*\\\?\$\w\+/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr contains=muttrcVariable,muttrcEscapedVariable
+syn match muttrcSetNumAssignment contained skipwhite /=\s*\d\+/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn match muttrcSetNumAssignment contained skipwhite /=\s*"\d\+"/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn match muttrcSetNumAssignment contained skipwhite /=\s*'\d\+'/hs=s+1 nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+
+" Now catch some email addresses and headers (purified version from mail.vim)
+syn match muttrcEmail          "[a-zA-Z0-9._-]\+@[a-zA-Z0-9./-]\+"
+syn match muttrcHeader         "\<\c\%(From\|To\|C[Cc]\|B[Cc][Cc]\|Reply-To\|Subject\|Return-Path\|Received\|Date\|Replied\|Attach\)\>:\="
+
+syn match   muttrcKeySpecial   contained +\%(\\[Cc'"]\|\^\|\\[01]\d\{2}\)+
+syn match   muttrcKey          contained "\S\+"                        contains=muttrcKeySpecial,muttrcKeyName
+syn region  muttrcKey          contained start=+"+ skip=+\\\\\|\\"+ end=+"+    contains=muttrcKeySpecial,muttrcKeyName
+syn region  muttrcKey          contained start=+'+ skip=+\\\\\|\\'+ end=+'+    contains=muttrcKeySpecial,muttrcKeyName
+syn match   muttrcKeyName      contained "\<f\%(\d\|10\)\>"
+syn match   muttrcKeyName      contained "\\[trne]"
+syn match   muttrcKeyName      contained "\c<\%(BackSpace\|BackTab\|Delete\|Down\|End\|Enter\|Esc\|Home\|Insert\|Left\|PageDown\|PageUp\|Return\|Right\|Space\|Tab\|Up\)>"
+syn match   muttrcKeyName      contained "<F[0-9]\+>"
+
+syn keyword muttrcVarBool      skipwhite contained 
+                       \ allow_8bit allow_ansi arrow_cursor ascii_chars askbcc askcc attach_split
+                       \ auto_tag autoedit beep beep_new bounce_delivered braille_friendly
+                       \ check_mbox_size check_new collapse_unread confirmappend confirmcreate
+                       \ crypt_autoencrypt crypt_autopgp crypt_autosign crypt_autosmime
+                       \ crypt_confirmhook crypt_opportunistic_encrypt crypt_replyencrypt
+                       \ crypt_replysign crypt_replysignencrypted crypt_timestamp crypt_use_gpgme
+                       \ crypt_use_pka delete_untag digest_collapse duplicate_threads edit_hdrs
+                       \ edit_headers encode_from envelope_from fast_reply fcc_clear followup_to
+                       \ force_name forw_decode forw_decrypt forw_quote forward_decode forward_decrypt
+                       \ forward_quote hdrs header help hidden_host hide_limited hide_missing
+                       \ hide_thread_subject hide_top_limited hide_top_missing honor_disposition
+                       \ idn_decode idn_encode ignore_linear_white_space ignore_list_reply_to
+                       \ imap_check_subscribed imap_list_subscribed imap_passive imap_peek
+                       \ imap_servernoise implicit_autoview include_onlyfirst keep_flagged
+                       \ mail_check_recent mail_check_stats mailcap_sanitize maildir_check_cur
+                       \ maildir_header_cache_verify maildir_trash mark_old markers menu_move_off
+                       \ menu_scroll message_cache_clean meta_key metoo mh_purge mime_forward_decode
+                       \ narrow_tree pager_stop pgp_auto_decode pgp_auto_traditional pgp_autoencrypt
+                       \ pgp_autoinline pgp_autosign pgp_check_exit pgp_create_traditional
+                       \ pgp_ignore_subkeys pgp_long_ids pgp_replyencrypt pgp_replyinline pgp_replysign
+                       \ pgp_replysignencrypted pgp_retainable_sigs pgp_show_unusable pgp_strict_enc
+                       \ pgp_use_gpg_agent pipe_decode pipe_split pop_auth_try_all pop_last
+                       \ postpone_encrypt postpone_encrypt_as print_decode print_split prompt_after
+                       \ read_only reflow_space_quotes reflow_text reflow_wrap reply_self resolve
+                       \ resume_draft_files resume_edited_draft_files reverse_alias reverse_name
+                       \ reverse_realname rfc2047_parameters save_address save_empty save_name score
+                       \ sidebar_folder_indent sidebar_new_mail_only sidebar_next_new_wrap
+                       \ sidebar_short_path sidebar_sort sidebar_visible sig_dashes sig_on_top
+                       \ smart_wrap smime_ask_cert_label smime_decrypt_use_default_key smime_is_default
+                       \ sort_re ssl_force_tls ssl_use_sslv2 ssl_use_sslv3 ssl_use_tlsv1
+                       \ ssl_usesystemcerts ssl_verify_dates ssl_verify_host status_on_top strict_mime
+                       \ strict_threads suspend text_flowed thorough_search thread_received tilde
+                       \ ts_enabled uncollapse_jump use_8bitmime use_domain use_envelope_from use_from
+                       \ use_idn use_ipv6 user_agent wait_key weed wrap_search write_bcc
+                       \ nextgroup=muttrcSetBoolAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+
+syn keyword muttrcVarBool      skipwhite contained 
+                       \ noallow_8bit noallow_ansi noarrow_cursor noascii_chars noaskbcc noaskcc noattach_split
+                       \ noauto_tag noautoedit nobeep nobeep_new nobounce_delivered nobraille_friendly
+                       \ nocheck_mbox_size nocheck_new nocollapse_unread noconfirmappend noconfirmcreate
+                       \ nocrypt_autoencrypt nocrypt_autopgp nocrypt_autosign nocrypt_autosmime
+                       \ nocrypt_confirmhook nocrypt_opportunistic_encrypt nocrypt_replyencrypt
+                       \ nocrypt_replysign nocrypt_replysignencrypted nocrypt_timestamp nocrypt_use_gpgme
+                       \ nocrypt_use_pka nodelete_untag nodigest_collapse noduplicate_threads noedit_hdrs
+                       \ noedit_headers noencode_from noenvelope_from nofast_reply nofcc_clear nofollowup_to
+                       \ noforce_name noforw_decode noforw_decrypt noforw_quote noforward_decode noforward_decrypt
+                       \ noforward_quote nohdrs noheader nohelp nohidden_host nohide_limited nohide_missing
+                       \ nohide_thread_subject nohide_top_limited nohide_top_missing nohonor_disposition
+                       \ noidn_decode noidn_encode noignore_linear_white_space noignore_list_reply_to
+                       \ noimap_check_subscribed noimap_list_subscribed noimap_passive noimap_peek
+                       \ noimap_servernoise noimplicit_autoview noinclude_onlyfirst nokeep_flagged
+                       \ nomail_check_recent nomail_check_stats nomailcap_sanitize nomaildir_check_cur
+                       \ nomaildir_header_cache_verify nomaildir_trash nomark_old nomarkers nomenu_move_off
+                       \ nomenu_scroll nomessage_cache_clean nometa_key nometoo nomh_purge nomime_forward_decode
+                       \ nonarrow_tree nopager_stop nopgp_auto_decode nopgp_auto_traditional nopgp_autoencrypt
+                       \ nopgp_autoinline nopgp_autosign nopgp_check_exit nopgp_create_traditional
+                       \ nopgp_ignore_subkeys nopgp_long_ids nopgp_replyencrypt nopgp_replyinline nopgp_replysign
+                       \ nopgp_replysignencrypted nopgp_retainable_sigs nopgp_show_unusable nopgp_strict_enc
+                       \ nopgp_use_gpg_agent nopipe_decode nopipe_split nopop_auth_try_all nopop_last
+                       \ nopostpone_encrypt nopostpone_encrypt_as noprint_decode noprint_split noprompt_after
+                       \ noread_only noreflow_space_quotes noreflow_text noreflow_wrap noreply_self noresolve
+                       \ noresume_draft_files noresume_edited_draft_files noreverse_alias noreverse_name
+                       \ noreverse_realname norfc2047_parameters nosave_address nosave_empty nosave_name noscore
+                       \ nosidebar_folder_indent nosidebar_new_mail_only nosidebar_next_new_wrap
+                       \ nosidebar_short_path nosidebar_sort nosidebar_visible nosig_dashes nosig_on_top
+                       \ nosmart_wrap nosmime_ask_cert_label nosmime_decrypt_use_default_key nosmime_is_default
+                       \ nosort_re nossl_force_tls nossl_use_sslv2 nossl_use_sslv3 nossl_use_tlsv1
+                       \ nossl_usesystemcerts nossl_verify_dates nossl_verify_host nostatus_on_top nostrict_mime
+                       \ nostrict_threads nosuspend notext_flowed nothorough_search nothread_received notilde
+                       \ nots_enabled nouncollapse_jump nouse_8bitmime nouse_domain nouse_envelope_from nouse_from
+                       \ nouse_idn nouse_ipv6 nouser_agent nowait_key noweed nowrap_search nowrite_bcc
+                       \ nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+
+syn keyword muttrcVarBool      skipwhite contained
+                       \ invallow_8bit invallow_ansi invarrow_cursor invascii_chars invaskbcc invaskcc invattach_split
+                       \ invauto_tag invautoedit invbeep invbeep_new invbounce_delivered invbraille_friendly
+                       \ invcheck_mbox_size invcheck_new invcollapse_unread invconfirmappend invconfirmcreate
+                       \ invcrypt_autoencrypt invcrypt_autopgp invcrypt_autosign invcrypt_autosmime
+                       \ invcrypt_confirmhook invcrypt_opportunistic_encrypt invcrypt_replyencrypt
+                       \ invcrypt_replysign invcrypt_replysignencrypted invcrypt_timestamp invcrypt_use_gpgme
+                       \ invcrypt_use_pka invdelete_untag invdigest_collapse invduplicate_threads invedit_hdrs
+                       \ invedit_headers invencode_from invenvelope_from invfast_reply invfcc_clear invfollowup_to
+                       \ invforce_name invforw_decode invforw_decrypt invforw_quote invforward_decode invforward_decrypt
+                       \ invforward_quote invhdrs invheader invhelp invhidden_host invhide_limited invhide_missing
+                       \ invhide_thread_subject invhide_top_limited invhide_top_missing invhonor_disposition
+                       \ invidn_decode invidn_encode invignore_linear_white_space invignore_list_reply_to
+                       \ invimap_check_subscribed invimap_list_subscribed invimap_passive invimap_peek
+                       \ invimap_servernoise invimplicit_autoview invinclude_onlyfirst invkeep_flagged
+                       \ invmail_check_recent invmail_check_stats invmailcap_sanitize invmaildir_check_cur
+                       \ invmaildir_header_cache_verify invmaildir_trash invmark_old invmarkers invmenu_move_off
+                       \ invmenu_scroll invmessage_cache_clean invmeta_key invmetoo invmh_purge invmime_forward_decode
+                       \ invnarrow_tree invpager_stop invpgp_auto_decode invpgp_auto_traditional invpgp_autoencrypt
+                       \ invpgp_autoinline invpgp_autosign invpgp_check_exit invpgp_create_traditional
+                       \ invpgp_ignore_subkeys invpgp_long_ids invpgp_replyencrypt invpgp_replyinline invpgp_replysign
+                       \ invpgp_replysignencrypted invpgp_retainable_sigs invpgp_show_unusable invpgp_strict_enc
+                       \ invpgp_use_gpg_agent invpipe_decode invpipe_split invpop_auth_try_all invpop_last
+                       \ invpostpone_encrypt invpostpone_encrypt_as invprint_decode invprint_split invprompt_after
+                       \ invread_only invreflow_space_quotes invreflow_text invreflow_wrap invreply_self invresolve
+                       \ invresume_draft_files invresume_edited_draft_files invreverse_alias invreverse_name
+                       \ invreverse_realname invrfc2047_parameters invsave_address invsave_empty invsave_name invscore
+                       \ invsidebar_folder_indent invsidebar_new_mail_only invsidebar_next_new_wrap
+                       \ invsidebar_short_path invsidebar_sort invsidebar_visible invsig_dashes invsig_on_top
+                       \ invsmart_wrap invsmime_ask_cert_label invsmime_decrypt_use_default_key invsmime_is_default
+                       \ invsort_re invssl_force_tls invssl_use_sslv2 invssl_use_sslv3 invssl_use_tlsv1
+                       \ invssl_usesystemcerts invssl_verify_dates invssl_verify_host invstatus_on_top invstrict_mime
+                       \ invstrict_threads invsuspend invtext_flowed invthorough_search invthread_received invtilde
+                       \ invts_enabled invuncollapse_jump invuse_8bitmime invuse_domain invuse_envelope_from invuse_from
+                       \ invuse_idn invuse_ipv6 invuser_agent invwait_key invweed invwrap_search invwrite_bcc
+                       \ nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+
+syn keyword muttrcVarQuad      skipwhite contained
+                       \ abort_nosubject abort_unmodified bounce copy crypt_verify_sig delete
+                       \ fcc_attach forward_edit honor_followup_to include mime_forward
+                       \ mime_forward_rest mime_fwd move pgp_mime_auto pgp_verify_sig pop_delete
+                       \ pop_reconnect postpone print quit recall reply_to ssl_starttls
+                       \ nextgroup=muttrcSetQuadAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+
+syn keyword muttrcVarQuad      skipwhite contained
+                       \ noabort_nosubject noabort_unmodified nobounce nocopy nocrypt_verify_sig nodelete
+                       \ nofcc_attach noforward_edit nohonor_followup_to noinclude nomime_forward
+                       \ nomime_forward_rest nomime_fwd nomove nopgp_mime_auto nopgp_verify_sig nopop_delete
+                       \ nopop_reconnect nopostpone noprint noquit norecall noreply_to nossl_starttls
+                       \ nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+
+syn keyword muttrcVarQuad      skipwhite contained
+                       \ invabort_nosubject invabort_unmodified invbounce invcopy invcrypt_verify_sig invdelete
+                       \ invfcc_attach invforward_edit invhonor_followup_to invinclude invmime_forward
+                       \ invmime_forward_rest invmime_fwd invmove invpgp_mime_auto invpgp_verify_sig invpop_delete
+                       \ invpop_reconnect invpostpone invprint invquit invrecall invreply_to invssl_starttls
+                       \ nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+
+syn keyword muttrcVarNum       skipwhite contained
+                       \ connect_timeout history imap_keepalive imap_pipeline_depth mail_check
+                       \ mail_check_stats_interval menu_context net_inc pager_context pager_index_lines
+                       \ pgp_timeout pop_checkinterval read_inc save_history score_threshold_delete
+                       \ score_threshold_flag score_threshold_read search_context sendmail_wait
+                       \ sidebar_width sleep_time smime_timeout ssl_min_dh_prime_bits time_inc timeout
+                       \ wrap wrap_headers wrapmargin write_inc
+                       \ nextgroup=muttrcSetNumAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+
+syn match muttrcFormatErrors contained /%./
+
+syn match muttrcStrftimeEscapes contained /%[AaBbCcDdeFGgHhIjklMmnpRrSsTtUuVvWwXxYyZz+%]/
+syn match muttrcStrftimeEscapes contained /%E[cCxXyY]/
+syn match muttrcStrftimeEscapes contained /%O[BdeHImMSuUVwWy]/
+
+syn region muttrcIndexFormatStr        contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcIndexFormatEscapes,muttrcIndexFormatConditionals,muttrcFormatErrors,muttrcTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcIndexFormatStr        contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcIndexFormatEscapes,muttrcIndexFormatConditionals,muttrcFormatErrors,muttrcTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcQueryFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcQueryFormatEscapes,muttrcQueryFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcAliasFormatStr        contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcAliasFormatEscapes,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcAliasFormatStr        contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcAliasFormatEscapes,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcAttachFormatStr       contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcAttachFormatEscapes,muttrcAttachFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcAttachFormatStr       contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcAttachFormatEscapes,muttrcAttachFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcComposeFormatStr      contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcComposeFormatEscapes,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcComposeFormatStr      contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcComposeFormatEscapes,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcFolderFormatStr       contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcFolderFormatEscapes,muttrcFolderFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcFolderFormatStr       contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcFolderFormatEscapes,muttrcFolderFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcMixFormatStr  contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcMixFormatEscapes,muttrcMixFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcMixFormatStr  contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcMixFormatEscapes,muttrcMixFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcPGPFormatStr  contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcPGPFormatEscapes,muttrcPGPFormatConditionals,muttrcFormatErrors,muttrcPGPTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcPGPFormatStr  contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcPGPFormatEscapes,muttrcPGPFormatConditionals,muttrcFormatErrors,muttrcPGPTimeEscapes nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcPGPCmdFormatStr       contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcPGPCmdFormatEscapes,muttrcPGPCmdFormatConditionals,muttrcVariable,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcPGPCmdFormatStr       contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcPGPCmdFormatEscapes,muttrcPGPCmdFormatConditionals,muttrcVariable,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcStatusFormatStr       contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcStatusFormatEscapes,muttrcStatusFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcStatusFormatStr       contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcStatusFormatEscapes,muttrcStatusFormatConditionals,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcPGPGetKeysFormatStr   contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcPGPGetKeysFormatEscapes,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcPGPGetKeysFormatStr   contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcPGPGetKeysFormatEscapes,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcSmimeFormatStr        contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcSmimeFormatEscapes,muttrcSmimeFormatConditionals,muttrcVariable,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcSmimeFormatStr        contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcSmimeFormatEscapes,muttrcSmimeFormatConditionals,muttrcVariable,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcStrftimeFormatStr contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcStrftimeEscapes,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn region muttrcStrftimeFormatStr contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcStrftimeEscapes,muttrcFormatErrors nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+
+" The following info was pulled from hdr_format_str in hdrline.c
+syn match muttrcIndexFormatEscapes contained /%\%(\%(-\?[0-9]\+\)\?\%(\.[0-9]\+\)\?\)\?[:_]\?[aAbBcCdDeEfFHilLmMnNOPsStTuvXyYZ%]/
+syn match muttrcIndexFormatEscapes contained /%[>|*]./
+syn match muttrcIndexFormatConditionals contained /%?[EFHlLMNOXyY]?/ nextgroup=muttrcFormatConditionals2
+" The following info was pulled from alias_format_str in addrbook.c
+syn match muttrcAliasFormatEscapes contained /%\%(\%(-\?[0-9]\+\)\?\%(\.[0-9]\+\)\?\)\?[:_]\?[afnrt%]/
+" The following info was pulled from query_format_str in query.c
+syn match muttrcQueryFormatEscapes contained /%\%(\%(-\?[0-9]\+\)\?\%(\.[0-9]\+\)\?\)\?[:_]\?[acent%]/
+syn match muttrcQueryFormatConditionals contained /%?[e]?/ nextgroup=muttrcFormatConditionals2
+" The following info was pulled from mutt_attach_fmt in recvattach.c
+syn match muttrcAttachFormatEscapes contained /%\%(\%(-\?[0-9]\+\)\?\%(\.[0-9]\+\)\?\)\?[:_]\?[CcDdefImMnQstTuX%]/
+syn match muttrcAttachFormatEscapes contained /%[>|*]./
+syn match muttrcAttachFormatConditionals contained /%?[CcdDefInmMQstTuX]?/ nextgroup=muttrcFormatConditionals2
+syn match muttrcFormatConditionals2 contained /[^?]*?/
+" The following info was pulled from compose_format_str in compose.c
+syn match muttrcComposeFormatEscapes contained /%\%(\%(-\?[0-9]\+\)\?\%(\.[0-9]\+\)\?\)\?[:_]\?[ahlv%]/
+syn match muttrcComposeFormatEscapes contained /%[>|*]./
+" The following info was pulled from folder_format_str in browser.c
+syn match muttrcFolderFormatEscapes contained /%\%(\%(-\?[0-9]\+\)\?\%(\.[0-9]\+\)\?\)\?[:_]\?[CDdfFglNstu%]/
+syn match muttrcFolderFormatEscapes contained /%[>|*]./
+syn match muttrcFolderFormatConditionals contained /%?[N]?/
+" The following info was pulled from mix_entry_fmt in remailer.c
+syn match muttrcMixFormatEscapes contained /%\%(\%(-\?[0-9]\+\)\?\%(\.[0-9]\+\)\?\)\?[:_]\?[ncsa%]/
+syn match muttrcMixFormatConditionals contained /%?[ncsa]?/
+" The following info was pulled from crypt_entry_fmt in crypt-gpgme.c 
+" and pgp_entry_fmt in pgpkey.c (note that crypt_entry_fmt supports 
+" 'p', but pgp_entry_fmt does not).
+syn match muttrcPGPFormatEscapes contained /%\%(\%(-\?[0-9]\+\)\?\%(\.[0-9]\+\)\?\)\?[:_]\?[nkualfctp%]/
+syn match muttrcPGPFormatConditionals contained /%?[nkualfct]?/
+" The following info was pulled from _mutt_fmt_pgp_command in 
+" pgpinvoke.c
+syn match muttrcPGPCmdFormatEscapes contained /%\%(\%(-\?[0-9]\+\)\?\%(\.[0-9]\+\)\?\)\?[:_]\?[pfsar%]/
+syn match muttrcPGPCmdFormatConditionals contained /%?[pfsar]?/ nextgroup=muttrcFormatConditionals2
+" The following info was pulled from status_format_str in status.c
+syn match muttrcStatusFormatEscapes contained /%\%(\%(-\?[0-9]\+\)\?\%(\.[0-9]\+\)\?\)\?[:_]\?[bdfFhlLmMnopPrsStuvV%]/
+syn match muttrcStatusFormatEscapes contained /%[>|*]./
+syn match muttrcStatusFormatConditionals contained /%?[bdFlLmMnoptuV]?/ nextgroup=muttrcFormatConditionals2
+" This matches the documentation, but directly contradicts the code 
+" (according to the code, this should be identical to the 
+" muttrcPGPCmdFormatEscapes
+syn match muttrcPGPGetKeysFormatEscapes contained /%\%(\%(-\?[0-9]\+\)\?\%(\.[0-9]\+\)\?\)\?[:_]\?[r%]/
+" The following info was pulled from _mutt_fmt_smime_command in 
+" smime.c
+syn match muttrcSmimeFormatEscapes contained /%\%(\%(-\?[0-9]\+\)\?\%(\.[0-9]\+\)\?\)\?[:_]\?[Cciskaf%]/
+syn match muttrcSmimeFormatConditionals contained /%?[Cciskaf]?/ nextgroup=muttrcFormatConditionals2
+
+syn region muttrcTimeEscapes contained start=+%{+ end=+}+ contains=muttrcStrftimeEscapes
+syn region muttrcTimeEscapes contained start=+%\[+ end=+\]+ contains=muttrcStrftimeEscapes
+syn region muttrcTimeEscapes contained start=+%(+ end=+)+ contains=muttrcStrftimeEscapes
+syn region muttrcTimeEscapes contained start=+%<+ end=+>+ contains=muttrcStrftimeEscapes
+syn region muttrcPGPTimeEscapes contained start=+%\[+ end=+\]+ contains=muttrcStrftimeEscapes
+
+syn keyword muttrcVarStr       contained skipwhite attribution index_format message_format pager_format nextgroup=muttrcVarEqualsIdxFmt
+syn match muttrcVarEqualsIdxFmt contained skipwhite "=" nextgroup=muttrcIndexFormatStr
+syn keyword muttrcVarStr       contained skipwhite alias_format nextgroup=muttrcVarEqualsAliasFmt
+syn match muttrcVarEqualsAliasFmt contained skipwhite "=" nextgroup=muttrcAliasFormatStr
+syn keyword muttrcVarStr       contained skipwhite attach_format nextgroup=muttrcVarEqualsAttachFmt
+syn match muttrcVarEqualsAttachFmt contained skipwhite "=" nextgroup=muttrcAttachFormatStr
+syn keyword muttrcVarStr       contained skipwhite compose_format nextgroup=muttrcVarEqualsComposeFmt
+syn match muttrcVarEqualsComposeFmt contained skipwhite "=" nextgroup=muttrcComposeFormatStr
+syn keyword muttrcVarStr       contained skipwhite folder_format nextgroup=muttrcVarEqualsFolderFmt
+syn match muttrcVarEqualsFolderFmt contained skipwhite "=" nextgroup=muttrcFolderFormatStr
+syn keyword muttrcVarStr       contained skipwhite mix_entry_format nextgroup=muttrcVarEqualsMixFmt
+syn match muttrcVarEqualsMixFmt contained skipwhite "=" nextgroup=muttrcMixFormatStr
+syn keyword muttrcVarStr       contained skipwhite pgp_entry_format nextgroup=muttrcVarEqualsPGPFmt
+syn match muttrcVarEqualsPGPFmt contained skipwhite "=" nextgroup=muttrcPGPFormatStr
+syn keyword muttrcVarStr       contained skipwhite query_format nextgroup=muttrcVarEqualsQueryFmt
+syn match muttrcVarEqualsQueryFmt contained skipwhite "=" nextgroup=muttrcQueryFormatStr
+syn keyword muttrcVarStr       contained skipwhite pgp_decode_command pgp_verify_command pgp_decrypt_command pgp_clearsign_command pgp_sign_command pgp_encrypt_sign_command pgp_encrypt_only_command pgp_import_command pgp_export_command pgp_verify_key_command pgp_list_secring_command pgp_list_pubring_command nextgroup=muttrcVarEqualsPGPCmdFmt
+syn match muttrcVarEqualsPGPCmdFmt contained skipwhite "=" nextgroup=muttrcPGPCmdFormatStr
+syn keyword muttrcVarStr       contained skipwhite ts_icon_format ts_status_format status_format nextgroup=muttrcVarEqualsStatusFmt
+syn match muttrcVarEqualsStatusFmt contained skipwhite "=" nextgroup=muttrcStatusFormatStr
+syn keyword muttrcVarStr       contained skipwhite pgp_getkeys_command nextgroup=muttrcVarEqualsPGPGetKeysFmt
+syn match muttrcVarEqualsPGPGetKeysFmt contained skipwhite "=" nextgroup=muttrcPGPGetKeysFormatStr
+syn keyword muttrcVarStr       contained skipwhite smime_decrypt_command smime_verify_command smime_verify_opaque_command smime_sign_command smime_sign_opaque_command smime_encrypt_command smime_pk7out_command smime_get_cert_command smime_get_signer_cert_command smime_import_cert_command smime_get_cert_email_command nextgroup=muttrcVarEqualsSmimeFmt
+syn match muttrcVarEqualsSmimeFmt contained skipwhite "=" nextgroup=muttrcSmimeFormatStr
+syn keyword muttrcVarStr       contained skipwhite date_format nextgroup=muttrcVarEqualsStrftimeFmt
+syn match muttrcVarEqualsStrftimeFmt contained skipwhite "=" nextgroup=muttrcStrftimeFormatStr
+
+syn match muttrcVPrefix                contained /[?&]/ nextgroup=muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+
+syn match muttrcVarStr         contained skipwhite 'my_[a-zA-Z0-9_]\+' nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn keyword muttrcVarStr       contained skipwhite
+                       \ alias_file assumed_charset attach_charset attach_sep certificate_file charset
+                       \ config_charset content_type default_hook display_filter dotlock_program
+                       \ dsn_notify dsn_return editor entropy_file envelope_from_address escape folder
+                       \ forw_format forward_format from gecos_mask hdr_format header_cache
+                       \ header_cache_compress header_cache_pagesize history_file hostname
+                       \ imap_authenticators imap_delim_chars imap_headers imap_idle imap_login
+                       \ imap_pass imap_user indent_str indent_string ispell locale mailcap_path mask
+                       \ mbox mbox_type message_cachedir mh_seq_flagged mh_seq_replied mh_seq_unseen
+                       \ mixmaster msg_format pager pgp_decryption_okay pgp_good_sign
+                       \ pgp_mime_signature_description pgp_mime_signature_filename pgp_sign_as
+                       \ pgp_sort_keys pipe_sep pop_authenticators pop_host pop_pass pop_user
+                       \ post_indent_str post_indent_string postpone_encrypt_as postponed preconnect
+                       \ print_cmd print_command query_command quote_regexp realname record
+                       \ reply_regexp send_charset sendmail shell sidebar_delim sidebar_delim_chars
+                       \ sidebar_divider_char sidebar_format sidebar_indent_string sidebar_sort_method
+                       \ signature simple_search smileys smime_ca_location smime_certificates
+                       \ smime_default_key smime_encrypt_with smime_keys smime_sign_as
+                       \ smime_sign_digest_alg smtp_authenticators smtp_pass smtp_url sort sort_alias
+                       \ sort_aux sort_browser spam_separator spoolfile ssl_ca_certificates_file
+                       \ ssl_ciphers ssl_client_cert status_chars tmpdir to_chars trash ts_icon_format
+                       \ ts_status_format tunnel visual
+                       \ nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+
+" Present in 1.4.2.1 (pgp_create_traditional was a bool then)
+syn keyword muttrcVarBool      contained skipwhite imap_force_ssl noimap_force_ssl invimap_force_ssl nextgroup=muttrcSetBoolAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+"syn keyword muttrcVarQuad     contained pgp_create_traditional nopgp_create_traditional invpgp_create_traditional
+syn keyword muttrcVarStr       contained skipwhite alternates nextgroup=muttrcSetStrAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+
+syn keyword muttrcMenu         contained alias attach browser compose editor index pager postpone pgp mix query generic
+syn match muttrcMenuList "\S\+" contained contains=muttrcMenu
+syn match muttrcMenuCommas /,/ contained
+
+syn keyword muttrcHooks                contained skipwhite account-hook charset-hook iconv-hook message-hook folder-hook mbox-hook save-hook fcc-hook fcc-save-hook send-hook send2-hook reply-hook crypt-hook
+
+syn keyword muttrcCommand      skipwhite
+                       \ alternative_order auto_view exec hdr_order iconv-hook ignore mailboxes
+                       \ mailto_allow mime_lookup my_hdr pgp-hook push score sidebar_whitelist source
+                       \ unalternative_order unalternative_order unauto_view ungroup unhdr_order
+                       \ unignore unmailboxes unmailto_allow unmime_lookup unmono unmy_hdr unscore
+syn keyword muttrcCommand      skipwhite charset-hook nextgroup=muttrcRXString
+syn keyword muttrcCommand      skipwhite unhook nextgroup=muttrcHooks
+
+syn keyword muttrcCommand      skipwhite spam nextgroup=muttrcSpamPattern
+syn region muttrcSpamPattern   contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcPattern nextgroup=muttrcString,muttrcStringNL
+syn region muttrcSpamPattern   contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcPattern nextgroup=muttrcString,muttrcStringNL
+
+syn keyword muttrcCommand      skipwhite nospam nextgroup=muttrcNoSpamPattern
+syn region muttrcNoSpamPattern contained skipwhite keepend start=+'+ skip=+\\'+ end=+'+ contains=muttrcPattern
+syn region muttrcNoSpamPattern contained skipwhite keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcPattern
+
+syn match muttrcAttachmentsMimeType contained "[*a-z0-9_-]\+/[*a-z0-9._-]\+\s*" skipwhite nextgroup=muttrcAttachmentsMimeType
+syn match muttrcAttachmentsFlag contained "[+-]\%([AI]\|inline\|attachment\)\s\+" skipwhite nextgroup=muttrcAttachmentsMimeType
+syn match muttrcAttachmentsLine "^\s*\%(un\)\?attachments\s\+" skipwhite nextgroup=muttrcAttachmentsFlag
+
+syn match muttrcUnHighlightSpace contained "\%(\s\+\|\\$\)"
+
+syn keyword muttrcAsterisk     contained *
+syn keyword muttrcListsKeyword lists skipwhite nextgroup=muttrcGroupDef,muttrcComment
+syn keyword muttrcListsKeyword unlists skipwhite nextgroup=muttrcAsterisk,muttrcComment
+
+syn keyword muttrcSubscribeKeyword     subscribe nextgroup=muttrcGroupDef,muttrcComment
+syn keyword muttrcSubscribeKeyword     unsubscribe nextgroup=muttrcAsterisk,muttrcComment
+
+syn keyword muttrcAlternateKeyword contained alternates unalternates
+syn region muttrcAlternatesLine keepend start=+^\s*\%(un\)\?alternates\s+ skip=+\\$+ end=+$+ contains=muttrcAlternateKeyword,muttrcGroupDef,muttrcRXPat,muttrcUnHighlightSpace,muttrcComment
+
+" muttrcVariable includes a prefix because partial strings are considered
+" valid.
+syn match muttrcVariable       contained "\\\@<![a-zA-Z_-]*\$[a-zA-Z_-]\+" contains=muttrcVariableInner
+syn match muttrcVariableInner  contained "\$[a-zA-Z_-]\+"
+syn match muttrcEscapedVariable        contained "\\\$[a-zA-Z_-]\+"
+
+syn match muttrcBadAction      contained "[^<>]\+" contains=muttrcEmail
+syn match muttrcFunction       contained "\<\%(attach\|bounce\|copy\|delete\|display\|flag\|forward\|parent\|pipe\|postpone\|print\|purge\|recall\|resend\|save\|send\|tag\|undelete\)-message\>"
+syn match muttrcFunction       contained "\<\%(delete\|next\|previous\|read\|tag\|break\|undelete\)-thread\>"
+syn match muttrcFunction       contained "\<link-threads\>"
+syn match muttrcFunction       contained "\<\%(backward\|capitalize\|downcase\|forward\|kill\|upcase\)-word\>"
+syn match muttrcFunction       contained "\<\%(delete\|filter\|first\|last\|next\|pipe\|previous\|print\|save\|select\|tag\|undelete\)-entry\>"
+syn match muttrcFunction       contained "\<attach-\%(file\|key\)\>"
+syn match muttrcFunction       contained "\<change-\%(dir\|folder\|folder-readonly\)\>"
+syn match muttrcFunction       contained "\<check-\%(new\|traditional-pgp\)\>"
+syn match muttrcFunction       contained "\<current-\%(bottom\|middle\|top\)\>"
+syn match muttrcFunction       contained "\<decode-\%(copy\|save\)\>"
+syn match muttrcFunction       contained "\<delete-\%(char\|pattern\|subthread\)\>"
+syn match muttrcFunction       contained "\<display-\%(address\|toggle-weed\)\>"
+syn match muttrcFunction       contained "\<edit\%(-\%(bcc\|cc\|description\|encoding\|fcc\|file\|from\|headers\|mime\|reply-to\|subject\|to\|type\)\)\?\>"
+syn match muttrcFunction       contained "\<enter-\%(command\|mask\)\>"
+syn match muttrcFunction       contained "\<half-\%(up\|down\)\>"
+syn match muttrcFunction       contained "\<history-\%(up\|down\)\>"
+syn match muttrcFunction       contained "\<kill-\%(eol\|eow\|line\)\>"
+syn match muttrcFunction       contained "\<next-\%(line\|new\%(-then-unread\)\?\|page\|subthread\|undeleted\|unread\|unread-mailbox\)\>"
+syn match muttrcFunction       contained "\<previous-\%(line\|new\%(-then-unread\)\?\|page\|subthread\|undeleted\|unread\)\>"
+syn match muttrcFunction       contained "\<search\%(-\%(next\|opposite\|reverse\|toggle\)\)\?\>"
+syn match muttrcFunction       contained "\<show-\%(limit\|version\)\>"
+syn match muttrcFunction       contained "\<sort-\%(mailbox\|reverse\)\>"
+syn match muttrcFunction       contained "\<tag-\%(pattern\|\%(sub\)\?thread\|prefix\%(-cond\)\?\)\>"
+syn match muttrcFunction       contained "\<end-cond\>"
+syn match muttrcFunction       contained "\<sidebar-\%(next\|next-new\|open\|page-down\|page-up\|prev\|prev-new\|toggle-visible\)\>"
+syn match muttrcFunction       contained "\<toggle-\%(mailboxes\|new\|quoted\|subscribed\|unlink\|write\)\>"
+syn match muttrcFunction       contained "\<undelete-\%(pattern\|subthread\)\>"
+syn match muttrcFunction       contained "\<collapse-\%(parts\|thread\|all\)\>"
+syn match muttrcFunction       contained "\<view-\%(attach\|attachments\|file\|mailcap\|name\|text\)\>"
+syn match muttrcFunction       contained "\<\%(backspace\|backward-char\|bol\|bottom\|bottom-page\|buffy-cycle\|clear-flag\|complete\%(-query\)\?\|copy-file\|create-alias\|detach-file\|eol\|exit\|extract-keys\|\%(imap-\)\?fetch-mail\|forget-passphrase\|forward-char\|group-reply\|help\|ispell\|jump\|limit\|list-reply\|mail\|mail-key\|mark-as-new\|middle-page\|new-mime\|noop\|pgp-menu\|query\|query-append\|quit\|quote-char\|read-subthread\|redraw-screen\|refresh\|rename-file\|reply\|select-new\|set-flag\|shell-escape\|skip-quoted\|sort\|subscribe\|sync-mailbox\|top\|top-page\|transpose-chars\|unsubscribe\|untag-pattern\|verify-key\|what-key\|write-fcc\)\>"
+syn keyword muttrcFunction     contained imap-logout-all
+if use_mutt_sidebar == 1
+    syn match muttrcFunction    contained "\<sidebar-\%(prev\|next\|open\|scroll-up\|scroll-down\)"
+endif
+syn match muttrcAction         contained "<[^>]\{-}>" contains=muttrcBadAction,muttrcFunction,muttrcKeyName
+
+syn keyword muttrcCommand      set     skipwhite nextgroup=muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn keyword muttrcCommand      unset   skipwhite nextgroup=muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn keyword muttrcCommand      reset   skipwhite nextgroup=muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syn keyword muttrcCommand      toggle  skipwhite nextgroup=muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+
+" First, functions that take regular expressions:
+syn match  muttrcRXHookNot     contained /!\s*/ skipwhite nextgroup=muttrcRXHookString,muttrcRXHookStringNL
+syn match  muttrcRXHooks       /\<\%(account\|folder\)-hook\>/ skipwhite nextgroup=muttrcRXHookNot,muttrcRXHookString,muttrcRXHookStringNL
+
+" Now, functions that take patterns
+syn match muttrcPatHookNot     contained /!\s*/ skipwhite nextgroup=muttrcPattern
+syn match muttrcPatHooks       /\<\%(mbox\|crypt\)-hook\>/ skipwhite nextgroup=muttrcPatHookNot,muttrcPattern
+syn match muttrcPatHooks       /\<\%(message\|reply\|send\|send2\|save\|\|fcc\%(-save\)\?\)-hook\>/ skipwhite nextgroup=muttrcPatHookNot,muttrcOptPattern
+
+syn match muttrcBindFunction   contained /\S\+\>/ skipwhite contains=muttrcFunction
+syn match muttrcBindFunctionNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcBindFunction,muttrcBindFunctionNL
+syn match muttrcBindKey                contained /\S\+/ skipwhite contains=muttrcKey nextgroup=muttrcBindFunction,muttrcBindFunctionNL
+syn match muttrcBindKeyNL      contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcBindKey,muttrcBindKeyNL
+syn match muttrcBindMenuList   contained /\S\+/ skipwhite contains=muttrcMenu,muttrcMenuCommas nextgroup=muttrcBindKey,muttrcBindKeyNL
+syn match muttrcBindMenuListNL contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcBindMenuList,muttrcBindMenuListNL
+syn keyword muttrcCommand      skipwhite bind nextgroup=muttrcBindMenuList,muttrcBindMenuListNL
+
+syn region muttrcMacroDescr    contained keepend skipwhite start=+\s*\S+ms=e skip=+\\ + end=+ \|$+me=s
+syn region muttrcMacroDescr    contained keepend skipwhite start=+'+ms=e skip=+\\'+ end=+'+me=s
+syn region muttrcMacroDescr    contained keepend skipwhite start=+"+ms=e skip=+\\"+ end=+"+me=s
+syn match muttrcMacroDescrNL   contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcMacroDescr,muttrcMacroDescrNL
+syn region muttrcMacroBody     contained skipwhite start="\S" skip='\\ \|\\$' end=' \|$' contains=muttrcEscape,muttrcSet,muttrcUnset,muttrcReset,muttrcToggle,muttrcCommand,muttrcAction nextgroup=muttrcMacroDescr,muttrcMacroDescrNL
+syn region muttrcMacroBody matchgroup=Type contained skipwhite start=+'+ms=e skip=+\\'+ end=+'\|\%(\%(\\\\\)\@<!$\)+me=s contains=muttrcEscape,muttrcSet,muttrcUnset,muttrcReset,muttrcToggle,muttrcSpam,muttrcNoSpam,muttrcCommand,muttrcAction,muttrcVariable nextgroup=muttrcMacroDescr,muttrcMacroDescrNL
+syn region muttrcMacroBody matchgroup=Type contained skipwhite start=+"+ms=e skip=+\\"+ end=+"\|\%(\%(\\\\\)\@<!$\)+me=s contains=muttrcEscape,muttrcSet,muttrcUnset,muttrcReset,muttrcToggle,muttrcSpam,muttrcNoSpam,muttrcCommand,muttrcAction,muttrcVariable nextgroup=muttrcMacroDescr,muttrcMacroDescrNL
+syn match muttrcMacroBodyNL    contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcMacroBody,muttrcMacroBodyNL
+syn match muttrcMacroKey       contained /\S\+/ skipwhite contains=muttrcKey nextgroup=muttrcMacroBody,muttrcMacroBodyNL
+syn match muttrcMacroKeyNL     contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcMacroKey,muttrcMacroKeyNL
+syn match muttrcMacroMenuList  contained /\S\+/ skipwhite contains=muttrcMenu,muttrcMenuCommas nextgroup=muttrcMacroKey,muttrcMacroKeyNL
+syn match muttrcMacroMenuListNL        contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcMacroMenuList,muttrcMacroMenuListNL
+syn keyword muttrcCommand      skipwhite macro nextgroup=muttrcMacroMenuList,muttrcMacroMenuListNL
+
+syn match muttrcAddrContent    contained "[a-zA-Z0-9._-]\+@[a-zA-Z0-9./-]\+\s*" skipwhite contains=muttrcEmail nextgroup=muttrcAddrContent
+syn region muttrcAddrContent   contained start=+'+ end=+'\s*+ skip=+\\'+ skipwhite contains=muttrcEmail nextgroup=muttrcAddrContent
+syn region muttrcAddrContent   contained start=+"+ end=+"\s*+ skip=+\\"+ skipwhite contains=muttrcEmail nextgroup=muttrcAddrContent
+syn match muttrcAddrDef        contained "-addr\s\+" skipwhite nextgroup=muttrcAddrContent
+
+syn match muttrcGroupFlag      contained "-group"
+syn region muttrcGroupDef      contained start="-group\s\+" skip="\\$" end="\s" skipwhite keepend contains=muttrcGroupFlag,muttrcUnHighlightSpace
+
+syn keyword muttrcGroupKeyword contained group ungroup
+syn region muttrcGroupLine     keepend start=+^\s*\%(un\)\?group\s+ skip=+\\$+ end=+$+ contains=muttrcGroupKeyword,muttrcGroupDef,muttrcAddrDef,muttrcRXDef,muttrcUnHighlightSpace,muttrcComment
+
+syn match muttrcAliasGroupName contained /\w\+/ skipwhite nextgroup=muttrcAliasGroupDef,muttrcAliasKey,muttrcAliasNL
+syn match muttrcAliasGroupDefNL        contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcAliasGroupName,muttrcAliasGroupDefNL
+syn match muttrcAliasGroupDef  contained /\s*-group/ skipwhite nextgroup=muttrcAliasGroupName,muttrcAliasGroupDefNL contains=muttrcGroupFlag
+syn match muttrcAliasComma     contained /,/ skipwhite nextgroup=muttrcAliasEmail,muttrcAliasEncEmail,muttrcAliasNameNoParens,muttrcAliasENNL
+syn match muttrcAliasEmail     contained /\S\+@\S\+/ contains=muttrcEmail nextgroup=muttrcAliasName,muttrcAliasNameNL skipwhite
+syn match muttrcAliasEncEmail  contained /<[^>]\+>/ contains=muttrcEmail nextgroup=muttrcAliasComma
+syn match muttrcAliasEncEmailNL        contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcAliasEncEmail,muttrcAliasEncEmailNL
+syn match muttrcAliasNameNoParens contained /[^<(@]\+\s\+/ nextgroup=muttrcAliasEncEmail,muttrcAliasEncEmailNL
+syn region muttrcAliasName     contained matchgroup=Type start=/(/ end=/)/ skipwhite
+syn match muttrcAliasNameNL    contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcAliasName,muttrcAliasNameNL
+syn match muttrcAliasENNL      contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcAliasEmail,muttrcAliasEncEmail,muttrcAliasNameNoParens,muttrcAliasENNL
+syn match muttrcAliasKey       contained /\s*[^- \t]\S\+/ skipwhite nextgroup=muttrcAliasEmail,muttrcAliasEncEmail,muttrcAliasNameNoParens,muttrcAliasENNL
+syn match muttrcAliasNL                contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcAliasGroupDef,muttrcAliasKey,muttrcAliasNL
+syn keyword muttrcCommand      skipwhite alias nextgroup=muttrcAliasGroupDef,muttrcAliasKey,muttrcAliasNL
+
+syn match muttrcUnAliasKey     contained "\s*\w\+\s*" skipwhite nextgroup=muttrcUnAliasKey,muttrcUnAliasNL
+syn match muttrcUnAliasNL      contained /\s*\\$/ skipwhite skipnl nextgroup=muttrcUnAliasKey,muttrcUnAliasNL
+syn keyword muttrcCommand      skipwhite unalias nextgroup=muttrcUnAliasKey,muttrcUnAliasNL
+
+syn match muttrcSimplePat contained "!\?\^\?[~][ADEFgGklNOpPQRSTuUvV=$]"
+syn match muttrcSimplePat contained "!\?\^\?[~][mnXz]\s*\%([<>-][0-9]\+[kM]\?\|[0-9]\+[kM]\?[-]\%([0-9]\+[kM]\?\)\?\)"
+syn match muttrcSimplePat contained "!\?\^\?[~][dr]\s*\%(\%(-\?[0-9]\{1,2}\%(/[0-9]\{1,2}\%(/[0-9]\{2}\%([0-9]\{2}\)\?\)\?\)\?\%([+*-][0-9]\+[ymwd]\)*\)\|\%(\%([0-9]\{1,2}\%(/[0-9]\{1,2}\%(/[0-9]\{2}\%([0-9]\{2}\)\?\)\?\)\?\%([+*-][0-9]\+[ymwd]\)*\)-\%([0-9]\{1,2}\%(/[0-9]\{1,2}\%(/[0-9]\{2}\%([0-9]\{2}\)\?\)\?\)\?\%([+*-][0-9]\+[ymwd]\)\?\)\?\)\|\%([<>=][0-9]\+[ymwd]\)\|\%(`[^`]\+`\)\|\%(\$[a-zA-Z0-9_-]\+\)\)" contains=muttrcShellString,muttrcVariable
+syn match muttrcSimplePat contained "!\?\^\?[~][bBcCefhHiLstxy]\s*" nextgroup=muttrcSimplePatRXContainer
+syn match muttrcSimplePat contained "!\?\^\?[%][bBcCefhHiLstxy]\s*" nextgroup=muttrcSimplePatString
+syn match muttrcSimplePat contained "!\?\^\?[=][bcCefhHiLstxy]\s*" nextgroup=muttrcSimplePatString
+syn region muttrcSimplePat contained keepend start=+!\?\^\?[~](+ end=+)+ contains=muttrcSimplePat
+"syn match muttrcSimplePat contained /'[^~=%][^']*/ contains=muttrcRXString
+syn region muttrcSimplePatString contained keepend start=+"+ end=+"+ skip=+\\"+
+syn region muttrcSimplePatString contained keepend start=+'+ end=+'+ skip=+\\'+
+syn region muttrcSimplePatString contained keepend start=+[^   "']+ skip=+\\ + end=+\s+re=e-1
+syn region muttrcSimplePatRXContainer contained keepend start=+"+ end=+"+ skip=+\\"+ contains=muttrcRXString
+syn region muttrcSimplePatRXContainer contained keepend start=+'+ end=+'+ skip=+\\'+ contains=muttrcRXString
+syn region muttrcSimplePatRXContainer contained keepend start=+[^      "']+ skip=+\\ + end=+\s+re=e-1 contains=muttrcRXString
+syn match muttrcSimplePatMetas contained /[(|)]/
+
+syn match muttrcOptSimplePat contained skipwhite /[~=%!(^].*/ contains=muttrcSimplePat,muttrcSimplePatMetas
+syn match muttrcOptSimplePat contained skipwhite /[^~=%!(^].*/ contains=muttrcRXString
+syn region muttrcOptPattern contained matchgroup=Type keepend start=+"+ skip=+\\"+ end=+"+ contains=muttrcOptSimplePat,muttrcUnHighlightSpace nextgroup=muttrcString,muttrcStringNL
+syn region muttrcOptPattern contained matchgroup=Type keepend skipwhite start=+'+ skip=+\\'+ end=+'+ contains=muttrcOptSimplePat,muttrcUnHighlightSpace nextgroup=muttrcString,muttrcStringNL
+syn region muttrcOptPattern contained keepend skipwhite start=+[~](+ end=+)+ skip=+\\)+ contains=muttrcSimplePat nextgroup=muttrcString,muttrcStringNL
+syn match muttrcOptPattern contained skipwhite /[~][A-Za-z]/ contains=muttrcSimplePat nextgroup=muttrcString,muttrcStringNL
+syn match muttrcOptPattern contained skipwhite /[.]/ nextgroup=muttrcString,muttrcStringNL
+" Keep muttrcPattern and muttrcOptPattern synchronized
+syn region muttrcPattern contained matchgroup=Type keepend skipwhite start=+"+ skip=+\\"+ end=+"+ contains=muttrcSimplePat,muttrcUnHighlightSpace,muttrcSimplePatMetas
+syn region muttrcPattern contained matchgroup=Type keepend skipwhite start=+'+ skip=+\\'+ end=+'+ contains=muttrcSimplePat,muttrcUnHighlightSpace,muttrcSimplePatMetas
+syn region muttrcPattern contained keepend skipwhite start=+[~](+ end=+)+ skip=+\\)+ contains=muttrcSimplePat
+syn match muttrcPattern contained skipwhite /[~][A-Za-z]/ contains=muttrcSimplePat
+syn match muttrcPattern contained skipwhite /[.]/
+syn region muttrcPatternInner contained keepend start=+"[~=%!(^]+ms=s+1 skip=+\\"+ end=+"+me=e-1 contains=muttrcSimplePat,muttrcUnHighlightSpace,muttrcSimplePatMetas
+syn region muttrcPatternInner contained keepend start=+'[~=%!(^]+ms=s+1 skip=+\\'+ end=+'+me=e-1 contains=muttrcSimplePat,muttrcUnHighlightSpace,muttrcSimplePatMetas
+
+" Colour definitions takes object, foreground and background arguments (regexps excluded).
+syn match muttrcColorMatchCount        contained "[0-9]\+"
+syn match muttrcColorMatchCountNL contained skipwhite skipnl "\s*\\$" nextgroup=muttrcColorMatchCount,muttrcColorMatchCountNL
+syn region muttrcColorRXPat    contained start=+\s*'+ skip=+\\'+ end=+'\s*+ keepend skipwhite contains=muttrcRXString2 nextgroup=muttrcColorMatchCount,muttrcColorMatchCountNL
+syn region muttrcColorRXPat    contained start=+\s*"+ skip=+\\"+ end=+"\s*+ keepend skipwhite contains=muttrcRXString2 nextgroup=muttrcColorMatchCount,muttrcColorMatchCountNL
+syn keyword muttrcColorField   skipwhite contained
+                       \ attachment body bold error hdrdefault header index indicator markers message
+                       \ normal prompt quoted search sidebar-divider sidebar-flagged sidebar-highlight
+                       \ sidebar-indicator sidebar-new sidebar-spoolfile signature status tilde tree
+                       \ underline
+syn match   muttrcColorField   contained "\<quoted\d\=\>"
+if use_mutt_sidebar == 1
+    syn keyword muttrcColorField contained sidebar_new
+endif
+syn keyword muttrcColor        contained black blue cyan default green magenta red white yellow
+syn keyword muttrcColor        contained brightblack brightblue brightcyan brightdefault brightgreen brightmagenta brightred brightwhite brightyellow
+syn match   muttrcColor        contained "\<\%(bright\)\=color\d\{1,3}\>"
+" Now for the structure of the color line
+syn match muttrcColorRXNL      contained skipnl "\s*\\$" nextgroup=muttrcColorRXPat,muttrcColorRXNL
+syn match muttrcColorBG        contained /\s*[$]\?\w\+/ contains=muttrcColor,muttrcVariable,muttrcUnHighlightSpace nextgroup=muttrcColorRXPat,muttrcColorRXNL
+syn match muttrcColorBGNL      contained skipnl "\s*\\$" nextgroup=muttrcColorBG,muttrcColorBGNL
+syn match muttrcColorFG        contained /\s*[$]\?\w\+/ contains=muttrcColor,muttrcVariable,muttrcUnHighlightSpace nextgroup=muttrcColorBG,muttrcColorBGNL
+syn match muttrcColorFGNL      contained skipnl "\s*\\$" nextgroup=muttrcColorFG,muttrcColorFGNL
+syn match muttrcColorContext   contained /\s*[$]\?\w\+/ contains=muttrcColorField,muttrcVariable,muttrcUnHighlightSpace nextgroup=muttrcColorFG,muttrcColorFGNL
+syn match muttrcColorNL        contained skipnl "\s*\\$" nextgroup=muttrcColorContext,muttrcColorNL
+syn match muttrcColorKeyword   contained /^\s*color\s\+/ nextgroup=muttrcColorContext,muttrcColorNL
+syn region muttrcColorLine keepend start=/^\s*color\s\+\%(index\|header\)\@!/ skip=+\\$+ end=+$+ contains=muttrcColorKeyword,muttrcComment,muttrcUnHighlightSpace
+" Now for the structure of the color index line
+syn match muttrcPatternNL      contained skipnl "\s*\\$" nextgroup=muttrcPattern,muttrcPatternNL
+syn match muttrcColorBGI       contained /\s*[$]\?\w\+\s*/ contains=muttrcColor,muttrcVariable,muttrcUnHighlightSpace nextgroup=muttrcPattern,muttrcPatternNL
+syn match muttrcColorBGNLI     contained skipnl "\s*\\$" nextgroup=muttrcColorBGI,muttrcColorBGNLI
+syn match muttrcColorFGI       contained /\s*[$]\?\w\+/ contains=muttrcColor,muttrcVariable,muttrcUnHighlightSpace nextgroup=muttrcColorBGI,muttrcColorBGNLI
+syn match muttrcColorFGNLI     contained skipnl "\s*\\$" nextgroup=muttrcColorFGI,muttrcColorFGNLI
+syn match muttrcColorContextI  contained /\s*\<index\>/ contains=muttrcUnHighlightSpace nextgroup=muttrcColorFGI,muttrcColorFGNLI
+syn match muttrcColorNLI       contained skipnl "\s*\\$" nextgroup=muttrcColorContextI,muttrcColorNLI
+syn match muttrcColorKeywordI  contained skipwhite /\<color\>/ nextgroup=muttrcColorContextI,muttrcColorNLI
+syn region muttrcColorLine keepend skipwhite start=/\<color\s\+index\>/ skip=+\\$+ end=+$+ contains=muttrcColorKeywordI,muttrcComment,muttrcUnHighlightSpace
+" Now for the structure of the color header line
+syn match muttrcRXPatternNL    contained skipnl "\s*\\$" nextgroup=muttrcRXString,muttrcRXPatternNL
+syn match muttrcColorBGH       contained /\s*[$]\?\w\+\s*/ contains=muttrcColor,muttrcVariable,muttrcUnHighlightSpace nextgroup=muttrcRXString,muttrcRXPatternNL
+syn match muttrcColorBGNLH     contained skipnl "\s*\\$" nextgroup=muttrcColorBGH,muttrcColorBGNLH
+syn match muttrcColorFGH       contained /\s*[$]\?\w\+/ contains=muttrcColor,muttrcVariable,muttrcUnHighlightSpace nextgroup=muttrcColorBGH,muttrcColorBGNLH
+syn match muttrcColorFGNLH     contained skipnl "\s*\\$" nextgroup=muttrcColorFGH,muttrcColorFGNLH
+syn match muttrcColorContextH  contained /\s*\<header\>/ contains=muttrcUnHighlightSpace nextgroup=muttrcColorFGH,muttrcColorFGNLH
+syn match muttrcColorNLH       contained skipnl "\s*\\$" nextgroup=muttrcColorContextH,muttrcColorNLH
+syn match muttrcColorKeywordH  contained skipwhite /\<color\>/ nextgroup=muttrcColorContextH,muttrcColorNLH
+syn region muttrcColorLine keepend skipwhite start=/\<color\s\+header\>/ skip=+\\$+ end=+$+ contains=muttrcColorKeywordH,muttrcComment,muttrcUnHighlightSpace
+" And now color's brother:
+syn region muttrcUnColorPatterns contained skipwhite start=+\s*'+ end=+'+ skip=+\\'+ contains=muttrcPattern nextgroup=muttrcUnColorPatterns,muttrcUnColorPatNL
+syn region muttrcUnColorPatterns contained skipwhite start=+\s*"+ end=+"+ skip=+\\"+ contains=muttrcPattern nextgroup=muttrcUnColorPatterns,muttrcUnColorPatNL
+syn match muttrcUnColorPatterns contained skipwhite /\s*[^'"\s]\S\*/ contains=muttrcPattern nextgroup=muttrcUnColorPatterns,muttrcUnColorPatNL
+syn match muttrcUnColorPatNL   contained skipwhite skipnl /\s*\\$/ nextgroup=muttrcUnColorPatterns,muttrcUnColorPatNL
+syn match muttrcUnColorAll     contained skipwhite /[*]/
+syn match muttrcUnColorAPNL    contained skipwhite skipnl /\s*\\$/ nextgroup=muttrcUnColorPatterns,muttrcUnColorAll,muttrcUnColorAPNL
+syn match muttrcUnColorIndex   contained skipwhite /\s*index\s\+/ nextgroup=muttrcUnColorPatterns,muttrcUnColorAll,muttrcUnColorAPNL
+syn match muttrcUnColorIndexNL contained skipwhite skipnl /\s*\\$/ nextgroup=muttrcUnColorIndex,muttrcUnColorIndexNL
+syn match muttrcUnColorKeyword contained skipwhite /^\s*uncolor\s\+/ nextgroup=muttrcUnColorIndex,muttrcUnColorIndexNL
+syn region muttrcUnColorLine keepend start=+^\s*uncolor\s+ skip=+\\$+ end=+$+ contains=muttrcUnColorKeyword,muttrcComment,muttrcUnHighlightSpace
+
+" Mono are almost like color (ojects inherited from color)
+syn keyword muttrcMonoAttrib   contained bold none normal reverse standout underline
+syn keyword muttrcMono         contained mono          skipwhite nextgroup=muttrcColorField
+syn match   muttrcMonoLine     "^\s*mono\s\+\S\+"      skipwhite nextgroup=muttrcMonoAttrib contains=muttrcMono
+
+" Define the default highlighting.
+" Only when an item doesn't have highlighting yet
+
+hi def link muttrcComment              Comment
+hi def link muttrcEscape               SpecialChar
+hi def link muttrcRXChars              SpecialChar
+hi def link muttrcString               String
+hi def link muttrcRXString             String
+hi def link muttrcRXString2    String
+hi def link muttrcSpecial              Special
+hi def link muttrcHooks                Type
+hi def link muttrcGroupFlag    Type
+hi def link muttrcGroupDef             Macro
+hi def link muttrcAddrDef              muttrcGroupFlag
+hi def link muttrcRXDef                muttrcGroupFlag
+hi def link muttrcRXPat                String
+hi def link muttrcAliasGroupName       Macro
+hi def link muttrcAliasKey             Identifier
+hi def link muttrcUnAliasKey   Identifier
+hi def link muttrcAliasEncEmail        Identifier
+hi def link muttrcAliasParens  Type
+hi def link muttrcSetNumAssignment     Number
+hi def link muttrcSetBoolAssignment    Boolean
+hi def link muttrcSetQuadAssignment    Boolean
+hi def link muttrcSetStrAssignment     String
+hi def link muttrcEmail                Special
+hi def link muttrcVariableInner        Special
+hi def link muttrcEscapedVariable      String
+hi def link muttrcHeader               Type
+hi def link muttrcKeySpecial   SpecialChar
+hi def link muttrcKey          Type
+hi def link muttrcKeyName              SpecialChar
+hi def link muttrcVarBool              Identifier
+hi def link muttrcVarQuad              Identifier
+hi def link muttrcVarNum               Identifier
+hi def link muttrcVarStr               Identifier
+hi def link muttrcMenu         Identifier
+hi def link muttrcCommand              Keyword
+hi def link muttrcMacroDescr   String
+hi def link muttrcAction               Macro
+hi def link muttrcBadAction    Error
+hi def link muttrcBindFunction Error
+hi def link muttrcBindMenuList Error
+hi def link muttrcFunction             Macro
+hi def link muttrcGroupKeyword muttrcCommand
+hi def link muttrcGroupLine    Error
+hi def link muttrcSubscribeKeyword     muttrcCommand
+hi def link muttrcSubscribeLine        Error
+hi def link muttrcListsKeyword muttrcCommand
+hi def link muttrcListsLine    Error
+hi def link muttrcAlternateKeyword     muttrcCommand
+hi def link muttrcAlternatesLine       Error
+hi def link muttrcAttachmentsLine      muttrcCommand
+hi def link muttrcAttachmentsFlag      Type
+hi def link muttrcAttachmentsMimeType  String
+hi def link muttrcColorLine    Error
+hi def link muttrcColorContext Error
+hi def link muttrcColorContextI        Identifier
+hi def link muttrcColorContextH        Identifier
+hi def link muttrcColorKeyword muttrcCommand
+hi def link muttrcColorKeywordI        muttrcColorKeyword
+hi def link muttrcColorKeywordH        muttrcColorKeyword
+hi def link muttrcColorField   Identifier
+hi def link muttrcColor                Type
+hi def link muttrcColorFG              Error
+hi def link muttrcColorFGI             Error
+hi def link muttrcColorFGH             Error
+hi def link muttrcColorBG              Error
+hi def link muttrcColorBGI             Error
+hi def link muttrcColorBGH             Error
+hi def link muttrcMonoAttrib   muttrcColor
+hi def link muttrcMono         muttrcCommand
+hi def link muttrcSimplePat    Identifier
+hi def link muttrcSimplePatString      Macro
+hi def link muttrcSimplePatMetas       Special
+hi def link muttrcPattern              Error
+hi def link muttrcUnColorLine  Error
+hi def link muttrcUnColorKeyword       muttrcCommand
+hi def link muttrcUnColorIndex Identifier
+hi def link muttrcShellString  muttrcEscape
+hi def link muttrcRXHooks              muttrcCommand
+hi def link muttrcRXHookNot    Type
+hi def link muttrcPatHooks             muttrcCommand
+hi def link muttrcPatHookNot   Type
+hi def link muttrcFormatConditionals2 Type
+hi def link muttrcIndexFormatStr       muttrcString
+hi def link muttrcIndexFormatEscapes muttrcEscape
+hi def link muttrcIndexFormatConditionals muttrcFormatConditionals2
+hi def link muttrcAliasFormatStr       muttrcString
+hi def link muttrcAliasFormatEscapes muttrcEscape
+hi def link muttrcAttachFormatStr      muttrcString
+hi def link muttrcAttachFormatEscapes muttrcEscape
+hi def link muttrcAttachFormatConditionals muttrcFormatConditionals2
+hi def link muttrcComposeFormatStr     muttrcString
+hi def link muttrcComposeFormatEscapes muttrcEscape
+hi def link muttrcFolderFormatStr      muttrcString
+hi def link muttrcFolderFormatEscapes muttrcEscape
+hi def link muttrcFolderFormatConditionals muttrcFormatConditionals2
+hi def link muttrcMixFormatStr muttrcString
+hi def link muttrcMixFormatEscapes muttrcEscape
+hi def link muttrcMixFormatConditionals muttrcFormatConditionals2
+hi def link muttrcPGPFormatStr muttrcString
+hi def link muttrcPGPFormatEscapes muttrcEscape
+hi def link muttrcPGPFormatConditionals muttrcFormatConditionals2
+hi def link muttrcPGPCmdFormatStr      muttrcString
+hi def link muttrcPGPCmdFormatEscapes muttrcEscape
+hi def link muttrcPGPCmdFormatConditionals muttrcFormatConditionals2
+hi def link muttrcStatusFormatStr      muttrcString
+hi def link muttrcStatusFormatEscapes muttrcEscape
+hi def link muttrcStatusFormatConditionals muttrcFormatConditionals2
+hi def link muttrcPGPGetKeysFormatStr  muttrcString
+hi def link muttrcPGPGetKeysFormatEscapes muttrcEscape
+hi def link muttrcSmimeFormatStr       muttrcString
+hi def link muttrcSmimeFormatEscapes muttrcEscape
+hi def link muttrcSmimeFormatConditionals muttrcFormatConditionals2
+hi def link muttrcTimeEscapes  muttrcEscape
+hi def link muttrcPGPTimeEscapes       muttrcEscape
+hi def link muttrcStrftimeEscapes      Type
+hi def link muttrcStrftimeFormatStr muttrcString
+hi def link muttrcFormatErrors Error
+
+hi def link muttrcBindFunctionNL       SpecialChar
+hi def link muttrcBindKeyNL    SpecialChar
+hi def link muttrcBindMenuListNL       SpecialChar
+hi def link muttrcMacroDescrNL SpecialChar
+hi def link muttrcMacroBodyNL  SpecialChar
+hi def link muttrcMacroKeyNL   SpecialChar
+hi def link muttrcMacroMenuListNL      SpecialChar
+hi def link muttrcColorMatchCountNL SpecialChar
+hi def link muttrcColorNL              SpecialChar
+hi def link muttrcColorRXNL    SpecialChar
+hi def link muttrcColorBGNL    SpecialChar
+hi def link muttrcColorFGNL    SpecialChar
+hi def link muttrcAliasNameNL  SpecialChar
+hi def link muttrcAliasENNL    SpecialChar
+hi def link muttrcAliasNL              SpecialChar
+hi def link muttrcUnAliasNL    SpecialChar
+hi def link muttrcAliasGroupDefNL      SpecialChar
+hi def link muttrcAliasEncEmailNL      SpecialChar
+hi def link muttrcPatternNL    SpecialChar
+hi def link muttrcUnColorPatNL SpecialChar
+hi def link muttrcUnColorAPNL  SpecialChar
+hi def link muttrcUnColorIndexNL       SpecialChar
+hi def link muttrcStringNL             SpecialChar
+
+
+let b:current_syntax = "muttrc"
+
+let &cpo = s:cpo_save
+unlet s:cpo_save
+"EOF   vim: ts=8 noet tw=100 sw=8 sts=0 ft=vim
index b13b84ad75dab54446523b1379cb77858713d116..71fa278e8459086e5e454acf1ad475a93070ecb7 100644 (file)
@@ -1,7 +1,14 @@
-# Example Mutt config file for the 'index-color' feature.
+# Example NeoMutt config file for the attach-headers-color feature.
 
-# Highlight the mime type and size
-color   attach_headers     green           default        "Type: [a-z]+/[a-z]"
+# Color if the attachment is autoviewed
+color   attach_headers     brightgreen     default        "Autoview"
+
+# Color only the brackets around the headers
+color   attach_headers     brightyellow    default        "^\\[--"
+color   attach_headers     brightyellow    default        "--]$"
+
+# Color the mime type and the size
+color   attach_headers     green           default        "Type: [a-z]+/[a-z0-9\-]+"
 color   attach_headers     green           default        "Size: [0-9\.]+[KM]"
 
 # Color GPGME signature checks
index ab6fe3c843f802cd989f672d33652aa2f3934f65..7e0a0c3a38e2b1b06a7c5eb0118afb9f9ca01c04 100644 (file)
@@ -1,4 +1,4 @@
-# Example Mutt config file for the 'compressed folders' feature.
+# Example NeoMutt config file for the compress feature.
 
 # This feature adds three hooks to Mutt which allow it to
 # work with compressed, or encrypted, mailboxes.
 
 # The 'append-hook' is optional.
 
-# Hander for gzip compressed mailboxes
+# Handler for gzip compressed mailboxes
 open-hook   '\.gz$'  "gzip -cd  '%f' >  '%t'"
 close-hook  '\.gz$'  "gzip -c   '%t' >  '%f'"
 append-hook '\.gz$'  "gzip -c   '%t' >> '%f'"
 
-# Hander for bzip2 compressed mailboxes
+# Handler for bzip2 compressed mailboxes
 open-hook   '\.bz2$' "bzip2 -cd '%f' >  '%t'"
 close-hook  '\.bz2$' "bzip2 -c  '%t' >  '%f'"
 append-hook '\.bz2$' "bzip2 -c  '%t' >> '%f'"
 
-# Hander for xz compressed mailboxes
+# Handler for xz compressed mailboxes
 open-hook   '\.xz$'  "xz    -cd '%f' >  '%t'"
 close-hook  '\.xz$'  "xz    -c  '%t' >  '%f'"
 append-hook '\.xz$'  "xz    -c  '%t' >> '%f'"
 
-# Hander for pgp encrypted mailboxes
+# Handler for pgp encrypted mailboxes
 # PGP does not support appending to an encrypted file
 open-hook   '\.pgp$' "pgp -f < '%f' > '%t'"
 close-hook  '\.pgp$' "pgp -fe YourPgpUserIdOrKeyId < '%t' > '%f'"
 
-# Hander for gpg encrypted mailboxes
+# Handler for gpg encrypted mailboxes
 # gpg does not support appending to an encrypted file
 open-hook   '\.gpg$' "gpg --decrypt < '%f' > '%t'"
 close-hook  '\.gpg$' "gpg --encrypt --recipient YourGpgUserIdOrKeyId < '%t' > '%f'"
index 30c28b9cd628392190aeb080756b2df307fa401d..d9fe937a4bad71e021e755ccd1f2a84184822435 100644 (file)
@@ -1,4 +1,4 @@
-# Example Mutt config file for the 'cond-date' feature.
+# Example NeoMutt config file for the cond-date feature.
 #
 # The default index_format is:
 #       '%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s'
index 9e469a182725b1843e7d73a678b483b1808238d4..887dbe26be04629b7f37f8ff02fc8d2b77685055 100644 (file)
@@ -1,4 +1,4 @@
-# This is a complete list of encrypt-to-self-related configuration.
+# Example NeoMutt config file for the encrypt-to-self feature.
 
 # --------------------------------------------------------------------------
 # VARIABLES - shown with their default values
index 6c654f8007fab8437cfda7838bec9f2dad7d93a8..4369de411c6a15c1fb19cefe168dc80b6b318891 100644 (file)
@@ -1,6 +1,6 @@
-# Example Mutt config file for the 'forgotten attachments' patch.
+# Example NeoMutt config file for the forgotten-attachment feature.
 
-# The 'forgotten attachments' patch provides a new setting for Mutt that
+# The 'forgotten-attachment' feature provides a new setting for Mutt that
 # alerts the user if the message body contains a certain keyword but there are
 # no attachments added. This is meant to ensure that the user does not forget
 # to attach a file after promising to do so in the mail.
index f618d5db6d3513cd25e3479f8a6780689d31c9a3..9dfc04ed95e728b73e0b9b2869563ad357eca08f 100644 (file)
@@ -1,12 +1,12 @@
-# Example Mutt config file for the 'ifdef' feature.
+# Example NeoMutt config file for the ifdef feature.
 
 # This feature introduces three useful commands which allow you to share
 # one config file between versions of Mutt that may have different
 # features compiled in.
 
-#      ifdef  symbol config-command [args...]
-#      ifndef symbol config-command [args...]
-#      finish                                
+#   ifdef  symbol config-command [args...]
+#   ifndef symbol config-command [args...]
+#   finish
 
 # The 'ifdef' command tests whether Mutt understands the name of
 # a variable, function, command or compile-time symbol.
index 3ec91f52741c00625d6122372fe60ad1d2e64e2c..aaacf2e95d553795580f343c20abefc5f9bdd1b4 100644 (file)
@@ -1,4 +1,4 @@
-# Example Mutt config file for the 'index-color' feature.
+# Example NeoMutt config file for the index-color feature.
 
 # Entire index line
 color index white black '.*'
index 644c1b7fd5bb27f3db419d4b001fddf8f7314cc0..c5c8f3064f677a02b00047cec9d9b9861ee7a146 100644 (file)
@@ -1,6 +1,6 @@
-# Example Mutt config file for the 'initials' patch.
+# Example NeoMutt config file for the initials feature.
 
-# The 'initials' patch has no config of its own.
+# The 'initials' feature has no config of its own.
 # It adds an expando for an author's initials,
 # which can be used in the 'index_format' variable.
 
index 5b72d4bbe5271b64ade24321620f74fdad3e4909..76b229fa8ee6be7103994b2806ed229a08938865 100644 (file)
@@ -1,4 +1,4 @@
-# This is a complete list of keywords-related configuration.
+# Example NeoMutt config file for the keywords feature.
 
 # --------------------------------------------------------------------------
 # VARIABLES - shown with their default values
index 5d32cf5ccf9457988fd233a74387f4505053a649..9888d7762fb5210c25fb8f536cf65d577e5728db 100644 (file)
@@ -1,6 +1,6 @@
-# Example Mutt config file for the 'limit-current-thread' patch.
+# Example NeoMutt config file for the limit-current-thread feature.
+
 # Limit view to current thread
 bind index <esc>L limit-current-thread
+
 # vim: syntax=muttrc
index aee76eb3e6cd1a24722b1d6bc8df65c46acd7aba..8ce172ff9418fd3ead31cca6d256bf5458be977e 100644 (file)
@@ -1,6 +1,6 @@
-# Example Mutt config file for the 'nested-if' feature.
+# Example NeoMutt config file for the nested-if feature.
 
-# This patch uses the format: '%<VAR?TRUE&FALSE>' for conditional
+# This feature uses the format: '%<VAR?TRUE&FALSE>' for conditional
 # format strings that can be nested.
 
 # Example 1
index 3c3ce1ff456eefc717e76aec5d223f04b461a158..c615e37787cf43662d47be568a215d803d8eab81 100644 (file)
@@ -1,4 +1,4 @@
-# Example Mutt config file for the 'new-mail-command' patch.
+# Example NeoMutt config file for the new-mail feature.
 
 # --------------------------------------------------------------------------
 # VARIABLES - shown with their default values
index 5ef1325005e48672d1ed563c02b9aa9914bd6d47..45498e2976ae5c7a8caa834789a23d1ef094b82d 100644 (file)
@@ -1,4 +1,4 @@
-# This is a complete list of nntp configuration.
+# Example NeoMutt config file for the nntp feature.
 
 # --------------------------------------------------------------------------
 # VARIABLES - shown with their default values
index 07dd71b276f62570eb80e95f38406c91847a3b1c..d11f76839629d17a2ea3a962de4f71128bfb3e65 100644 (file)
@@ -1,4 +1,4 @@
-# This is a complete list of notmuch-related configuration.
+# Example NeoMutt config file for the notmuch feature.
 
 # --------------------------------------------------------------------------
 # VARIABLES - shown with their default values
@@ -99,7 +99,7 @@ bind index,pager \eX vfolder-from-query
 # COLORS - some unpleasant examples are given
 # --------------------------------------------------------------------------
 
-# These symbols are added to the index-color patch:
+# These symbols are added to the index-color feature:
 
 # an individual message tag, %G, uses tag name
 # this symbol uses a pattern
index 7efe45c5f7afa7a2111b6af3bf978fa598395342..95444231b9036b215b27fd6932d0b5d98af84474 100644 (file)
@@ -1,6 +1,6 @@
-# Example Mutt config file for the 'progress' patch.
+# Example NeoMutt config file for the progress feature.
 
-# The 'progress' patch provides clear visual feedback for
+# The 'progress' feature provides clear visual feedback for
 # slow tasks, such as indexing a large folder over the net.
 
 # Set the color of the progress bar
index 67031ffbb386191727e80936b0ed11634e4025e9..03afebae672b1cdee4eb830d3b8579afee8e7b20 100644 (file)
@@ -1,4 +1,4 @@
-# Example Mutt config file for the 'quasi-delete' feature.
+# Example NeoMutt config file for the quasi-delete feature.
 
 # The 'quasi-delete' function marks an email that should be hidden
 # from the index, but NOT deleted.
index 6d7e09c2c1dd1098a2a9039e80d0309f73fe5bb0..31a76c8c7a8c8b72f2c9005c327a0d1f67b52d68 100644 (file)
@@ -1,4 +1,4 @@
-# This is a complete list of FEATURE-NAME configuration.
+# Example NeoMutt config file for the reply-with-xorig feature.
 
 # --------------------------------------------------------------------------
 # VARIABLES - shown with their default values
index 1f10ea927e2390b7edaa19e9041081a714de761c..6cace565d895c96f69fcec0a06a26bf7494a4c80 100644 (file)
@@ -1,4 +1,4 @@
-# This is a complete list of sidebar-related configuration.
+# Example NeoMutt config file for the sidebar feature.
 
 # --------------------------------------------------------------------------
 # VARIABLES - shown with their default values
@@ -114,6 +114,9 @@ color sidebar_flagged red black
 # Color to give mailboxes containing new mail
 color sidebar_new green black
 
+# Color to give mailboxes containing no new/flagged mail, etc</emphasis>
+color sidebar_ordinary color245 default
+
 # --------------------------------------------------------------------------
 
 # vim: syntax=muttrc
index cd13ed48362f64d1cbccb996b22e7436e2a82963..ab8e978a26565fba1b196a3b3ca9d2d858546a1e 100644 (file)
@@ -1,10 +1,10 @@
-# Example Mutt config file for the 'skip-quoted' patch.
+# Example NeoMutt config file for the skip-quoted feature.
+
 # The 'S' (skip-quoted) command scrolls the pager past the quoted text (usually
 # indented with '> '.  Setting 'skip_quoted_offset' leaves some lines of quoted
 # text on screen for context.
+
 # Show three quoted lines before the reply
 set skip_quoted_offset = 3
+
 # vim: syntax=muttrc
index 9a1350c272665289ddb22151c4be24124a2defb9..d10b7f18182246bbb58b1c63a62492fdcc419122 100644 (file)
@@ -1,6 +1,6 @@
-# Example Mutt config file for the 'status-color' patch.
+# Example NeoMutt config file for the status-color feature.
 
-# The 'status-color' patch allows you to theme different parts of
+# The 'status-color' feature allows you to theme different parts of
 # the status bar (also when it's used by the index).
 
 # For the examples below, set some defaults
index 911d92a742e47dd3a36c5cbe159ae8c0ef1f94b9..5fea2ff011b90638e16c9627f72ad001baea7699 100644 (file)
@@ -1,4 +1,4 @@
-# This is a complete list of timeout configuration.
+# Example NeoMutt config file for the timeout feature.
 
 # --------------------------------------------------------------------------
 # COMMANDS - shown with an example arguments
index 0fd9ef9c678642ddf82667acf7820c47c4e95679..02f71473f5b87013b3325d7af3f6c0a11465e647 100644 (file)
@@ -1,5 +1,4 @@
-" Vim syntax file for the mutt color-attach patch
+" Vim syntax file for the NeoMutt attach-headers-color feature.
 
 syntax keyword muttrcColorField contained attach_headers
 
-" vim: syntax=vim
index e84fad2810d9160708deb3c423b2e33d7132c35d..140b1ec47ef82370f0882012277fb51c28744f1f 100644 (file)
@@ -1,7 +1,6 @@
-" Vim syntax file for the mutt compress patch
+" Vim syntax file for the NeoMutt compress feature.
 
 syntax keyword muttrcCommand    append-hook
 syntax keyword muttrcCommand    close-hook
 syntax keyword muttrcCommand    open-hook
 
-" vim: syntax=vim
index ce9de58164197aa4a5953d8c88756838887fd6c5..a4948a0b05a9a1b56ba207f18d87f6c6d198da62 100644 (file)
@@ -1,6 +1,5 @@
-" Vim syntax file for the mutt encrypt-to-self patch
+" Vim syntax file for the NeoMutt encrypt-to-self feature.
 
-syntax keyword muttrcVarQuad    smime_encrypt_self
-syntax keyword muttrcVarQuad    pgp_encrypt_self
+syntax keyword muttrcVarQuad    contained skipwhite smime_encrypt_self    nextgroup=muttrcSetQuadAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syntax keyword muttrcVarQuad    contained skipwhite pgp_encrypt_self      nextgroup=muttrcSetQuadAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
 
-" vim: syntax=vim
index d6e433a20e721b3bb817aae24b368db0efc86892..5eeaa2d0963f0a5cd78a5aa1f451ec0e11bd6fbe 100644 (file)
@@ -1,7 +1,6 @@
-" Vim syntax file for the mutt forgotten-attachments patch
+" Vim syntax file for the NeoMutt forgotten-attachment feature.
 
 syntax keyword muttrcVarBool    skipwhite contained abort_noattach         nextgroup=muttrcSetBoolAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
 
 syntax keyword muttrcVarStr     contained skipwhite attach_keyword         nextgroup=muttrcVarEqualsIdxFmt
 
-" vim: syntax=vim
index 342c75e7a25c41325d39ef38636219f80dd23359..1c3341bc30a6e59a5c75ab5e4caf592229588937 100644 (file)
@@ -1,7 +1,6 @@
-" Vim syntax file for the mutt ifdef patch
+" Vim syntax file for the NeoMutt ifdef feature.
 
 syntax keyword muttrcCommand    ifdef
 syntax keyword muttrcCommand    ifndef
 syntax keyword muttrcCommand    finish
 
-" vim: syntax=vim
index 8de9c67efcc62b792019ab887d5e5c8fc1d42146..63178ade7619d0e9ac703f7b4c700b4f6fc23ff6 100644 (file)
@@ -1,4 +1,4 @@
-" Vim syntax file for the mutt index-color patch
+" Vim syntax file for the NeoMutt index-color feature.
 
 syntax keyword muttrcColorField contained index
 syntax keyword muttrcColorField contained index_author
@@ -10,4 +10,3 @@ syntax keyword muttrcColorField contained index_number
 syntax keyword muttrcColorField contained index_size
 syntax keyword muttrcColorField contained index_subject
 
-" vim: syntax=vim
index e217ed3d48674a0ae4619a4d2741eb0af7cb4a9f..4c3eabc59e1f8738fbaa4204888665f4e9591375 100644 (file)
@@ -1,4 +1,4 @@
-" Vim syntax file for the mutt keywords patch
+" Vim syntax file for the NeoMutt keywords feature.
 
 syntax keyword muttrcVarBool    contained skipwhite keywords_legacy       nextgroup=muttrcSetBoolAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
 syntax keyword muttrcVarBool    contained skipwhite keywords_standard     nextgroup=muttrcSetBoolAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
@@ -7,4 +7,3 @@ syntax keyword muttrcVarStr     contained skipwhite xlabel_delimiter      nextgr
 
 syntax match muttrcFunction     contained "\<edit-label\>"
 
-" vim: syntax=vim
index 0d5807567974de54cc7186c2c04736d7239de7e6..c1628bc9ec69932ea9ad8721f6b321b92618a630 100644 (file)
@@ -1,5 +1,4 @@
-" Vim syntax file for the mutt new-mail patch
+" Vim syntax file for the NeoMutt new-mail feature.
 
 syntax keyword muttrcVarStr     contained skipwhite new_mail_command         nextgroup=muttrcVarEqualsIdxFmt
 
-" vim: syntax=vim
index 58a5d38997fc653aca62087ac62a33f367731304..99a693947c52b1e3aedb69d8d153cdfa78deb336 100644 (file)
@@ -1,4 +1,4 @@
-" Vim syntax file for the mutt nntp patch
+" Vim syntax file for the NeoMutt nntp feature.
 
 syntax keyword muttrcVarBool    contained skipwhite ask_follow_up         nextgroup=muttrcSetBoolAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
 syntax keyword muttrcVarBool    contained skipwhite ask_x_comment_to      nextgroup=muttrcSetBoolAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
@@ -13,9 +13,9 @@ syntax keyword muttrcVarBool    contained skipwhite x_comment_to          nextgr
 syntax keyword muttrcVarNum     contained skipwhite nntp_context          nextgroup=muttrcSetNumAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
 syntax keyword muttrcVarNum     contained skipwhite nntp_poll             nextgroup=muttrcSetNumAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
 
-syn keyword muttrcVarQuad      contained skipwhite catchup_newsgroup     nextgroup=muttrcSetQuadAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
-syn keyword muttrcVarQuad      contained skipwhite followup_to_poster    nextgroup=muttrcSetQuadAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
-syn keyword muttrcVarQuad      contained skipwhite post_moderated        nextgroup=muttrcSetQuadAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syntax keyword muttrcVarQuad    contained skipwhite catchup_newsgroup     nextgroup=muttrcSetQuadAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syntax keyword muttrcVarQuad    contained skipwhite followup_to_poster    nextgroup=muttrcSetQuadAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
+syntax keyword muttrcVarQuad    contained skipwhite post_moderated        nextgroup=muttrcSetQuadAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
 
 syntax keyword muttrcVarStr     contained skipwhite group_index_format    nextgroup=muttrcVarEqualsIdxFmt
 syntax keyword muttrcVarStr     contained skipwhite inews                 nextgroup=muttrcVarEqualsIdxFmt
@@ -27,24 +27,23 @@ syntax keyword muttrcVarStr     contained skipwhite nntp_authenticators   nextgr
 syntax keyword muttrcVarStr     contained skipwhite nntp_pass             nextgroup=muttrcVarEqualsIdxFmt
 syntax keyword muttrcVarStr     contained skipwhite nntp_user             nextgroup=muttrcVarEqualsIdxFmt
 
-syntax match muttrcFunction     contained "\<attach-news-message>"
-syntax match muttrcFunction     contained "\<catchup>"
-syntax match muttrcFunction     contained "\<change-newsgroup-readonly>"
-syntax match muttrcFunction     contained "\<change-newsgroup>"
-syntax match muttrcFunction     contained "\<edit-followup-to>"
-syntax match muttrcFunction     contained "\<edit-newsgroups>"
-syntax match muttrcFunction     contained "\<edit-x-comment-to>"
-syntax match muttrcFunction     contained "\<followup-message>"
-syntax match muttrcFunction     contained "\<forward-to-group>"
-syntax match muttrcFunction     contained "\<get-children>"
-syntax match muttrcFunction     contained "\<get-message>"
-syntax match muttrcFunction     contained "\<get-parent>"
-syntax match muttrcFunction     contained "\<post-message>"
-syntax match muttrcFunction     contained "\<reconstruct-thread>"
-syntax match muttrcFunction     contained "\<reload-active>"
-syntax match muttrcFunction     contained "\<subscribe-pattern>"
-syntax match muttrcFunction     contained "\<toggle-read>"
-syntax match muttrcFunction     contained "\<uncatchup>"
-syntax match muttrcFunction     contained "\<unsubscribe-pattern>"
+syntax match muttrcFunction     contained "\<attach-news-message\>"
+syntax match muttrcFunction     contained "\<catchup\>"
+syntax match muttrcFunction     contained "\<change-newsgroup-readonly\>"
+syntax match muttrcFunction     contained "\<change-newsgroup\>"
+syntax match muttrcFunction     contained "\<edit-followup-to\>"
+syntax match muttrcFunction     contained "\<edit-newsgroups\>"
+syntax match muttrcFunction     contained "\<edit-x-comment-to\>"
+syntax match muttrcFunction     contained "\<followup-message\>"
+syntax match muttrcFunction     contained "\<forward-to-group\>"
+syntax match muttrcFunction     contained "\<get-children\>"
+syntax match muttrcFunction     contained "\<get-message\>"
+syntax match muttrcFunction     contained "\<get-parent\>"
+syntax match muttrcFunction     contained "\<post-message\>"
+syntax match muttrcFunction     contained "\<reconstruct-thread\>"
+syntax match muttrcFunction     contained "\<reload-active\>"
+syntax match muttrcFunction     contained "\<subscribe-pattern\>"
+syntax match muttrcFunction     contained "\<toggle-read\>"
+syntax match muttrcFunction     contained "\<uncatchup\>"
+syntax match muttrcFunction     contained "\<unsubscribe-pattern\>"
 
-" vim: syntax=vim
index 918d23d5eca24f115482c4fdbc30ef16e76fd190..3d463436db0e17621364a69ea39c73d413f92663 100644 (file)
@@ -1,4 +1,4 @@
-" Vim syntax file for the mutt notmuch patch
+" Vim syntax file for the NeoMutt notmuch feature.
 
 syntax keyword muttrcVarBool    contained skipwhite nm_record             nextgroup=muttrcSetBoolAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
 syntax keyword muttrcVarBool    contained skipwhite virtual_spoolfile     nextgroup=muttrcSetBoolAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
@@ -18,11 +18,10 @@ syntax keyword muttrcCommand    virtual-mailboxes
 syntax keyword muttrcCommand    tag-transforms
 syntax keyword muttrcCommand    tag-formats
 
-syntax match muttrcFunction     contained "<change-vfolder>"
-syntax match muttrcFunction     contained "<entire-thread>"
-syntax match muttrcFunction     contained "<modify-labels-then-hide>"
-syntax match muttrcFunction     contained "<modify-labels>"
-syntax match muttrcFunction     contained "<sidebar-toggle>"
-syntax match muttrcFunction     contained "<vfolder-from-query>"
+syntax match muttrcFunction     contained "\<change-vfolder\>"
+syntax match muttrcFunction     contained "\<entire-thread\>"
+syntax match muttrcFunction     contained "\<modify-labels-then-hide\>"
+syntax match muttrcFunction     contained "\<modify-labels\>"
+syntax match muttrcFunction     contained "\<sidebar-toggle\>"
+syntax match muttrcFunction     contained "\<vfolder-from-query\>"
 
-" vim: syntax=vim
index a632dc020119b227b1a887b0d1841d3edfa22639..09c78cb0c7941be2a61da406c2a695d8e5a4d645 100644 (file)
@@ -1,5 +1,4 @@
-" Vim syntax file for the mutt progress patch
+" Vim syntax file for the NeoMutt progress feature.
 
 syntax keyword muttrcColorField contained progress
 
-" vim: syntax=vim
index f8a69e758007669594d4f8d857c62a3f06b3f574..4145c17c836522231a461b85804bb98aa9c27561 100644 (file)
@@ -1,5 +1,4 @@
-" Vim syntax file for the mutt quasi-delete patch
+" Vim syntax file for the NeoMutt quasi-delete feature.
 
 syntax match muttrcFunction     contained "\<quasi-delete\>"
 
-" vim: syntax=vim
index ed96ba9f10ea0b132baab2849a739919b6905bdc..d5c78ea627312b83f3fdb564e0ff3bf2d02137d0 100644 (file)
@@ -1,5 +1,4 @@
-" Vim syntax file for the mutt FEATURE-NAME patch
+" Vim syntax file for the NeoMutt reply-with-xorig feature.
 
 syntax keyword muttrcVarBool    skipwhite contained reply_with_xorig         nextgroup=muttrcSetBoolAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
 
-" vim: syntax=vim
index ac1efc445b7dd46128a64065166d049a35a4e4d4..bb2a152efb37e7a778e30fd4b6c8c7261520cf33 100644 (file)
@@ -1,4 +1,4 @@
-" Vim syntax file for the mutt sidebar patch
+" Vim syntax file for the NeoMutt sidebar feature.
 
 syntax keyword muttrcVarBool    contained skipwhite sidebar_folder_indent nextgroup=muttrcSetBoolAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
 syntax keyword muttrcVarBool    contained skipwhite sidebar_new_mail_only nextgroup=muttrcSetBoolAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
@@ -31,4 +31,3 @@ syntax keyword muttrcColorField contained sidebar_highlight
 syntax keyword muttrcColorField contained sidebar_indicator
 syntax keyword muttrcColorField contained sidebar_new
 
-" vim: syntax=vim
index d94c40af672c33266f8297ae84f5965dc7170b97..fe323597891a8f9555dba8bcabf7d6289f319498 100644 (file)
@@ -1,5 +1,4 @@
-" Vim syntax file for the mutt timeout patch
+" Vim syntax file for the NeoMutt timeout feature.
 
 syntax keyword muttrcCommand    timeout-hook
 
-" vim: syntax=vim