]> granicus.if.org Git - neomutt/commitdiff
add docs
authorRichard Russon <rich@flatcap.org>
Wed, 3 Feb 2016 17:33:27 +0000 (17:33 +0000)
committerRichard Russon <rich@flatcap.org>
Mon, 4 Apr 2016 02:34:28 +0000 (03:34 +0100)
README.progress [new file with mode: 0644]
doc/manual.xml.head
doc/muttrc.progress [new file with mode: 0644]
doc/vimrc.progress [new file with mode: 0644]

diff --git a/README.progress b/README.progress
new file mode 100644 (file)
index 0000000..40a8a07
--- /dev/null
@@ -0,0 +1,47 @@
+Progress Bar Patch
+==================
+
+    Show a visual progress bar on slow operations
+
+Patch
+-----
+
+    To check if Mutt supports "Progress Bar", look for "patch-progress" in the
+    mutt version.
+
+    Dependencies
+    * mutt-1.5.24
+
+Introduction
+------------
+
+    The "progress" patch shows a visual progress bar on slow tasks, such as
+    indexing a large folder over the net.
+
+Colors
+------
+
+    Progress Colors
+
+    | Name       | Default Color | Description         |
+    |------------|---------------|---------------------|
+    | 'progress' | default       | Visual progress bar |
+
+See Also
+--------
+
+    * NeoMutt project
+    * Color command
+
+Known Bugs
+----------
+
+    None
+
+Credits
+-------
+
+    * Stefan Kuhn <wuodan@hispeed.ch>
+    * Karel Zak <kzak@redhat.com>
+    * Richard Russon <rich@flatcap.org>
+
index 3368eda9e67615947fc7450880c1a7f63f2d6bb1..ce9ea4f543a73653e535d664111728ba671e0588 100644 (file)
@@ -2706,7 +2706,7 @@ patterns.
 <listitem><para>markers (the <quote>+</quote> markers at the beginning of wrapped lines in the pager)</para></listitem>
 <listitem><para>message (informational messages)</para></listitem>
 <listitem><para>normal</para></listitem>
-<listitem><para>progress (visual progress bar)</para></listitem>
+<listitem><para><link linkend="progress">progress</link> (visual progress bar)</para></listitem>
 <listitem><para>prompt</para></listitem>
 <listitem><para>quoted (text matching <link linkend="quote-regexp">$quote_regexp</link> in the body of a message)</para></listitem>
 <listitem><para>quoted1, quoted2, ..., quoted<emphasis>N</emphasis> (higher levels of quoting)</para></listitem>
@@ -8082,6 +8082,123 @@ please have a look at the mixmaster documentation.
 
 </sect1>
 
+<sect1 id="progress">
+       <title>Progress Bar Patch</title>
+       <subtitle>Show a visual progress bar on slow operations</subtitle>
+
+       <sect2 id="progress-patch">
+               <title>Patch</title>
+
+               <para>
+                       To check if Mutt supports <quote>Progress Bar</quote>, look for
+                       <quote>patch-progress</quote> in the mutt version.
+                       See: <xref linkend="mutt-patches"/>.
+               </para>
+
+               <itemizedlist>
+                       <title>Dependencies:</title>
+                       <listitem><para>mutt-1.5.24</para></listitem>
+               </itemizedlist>
+
+               <para>This patch is part of the <ulink url="https://github.com/neomutt/neomutt/wiki">NeoMutt Project</ulink>.</para>
+       </sect2>
+
+       <sect2 id="progress-intro">
+               <title>Introduction</title>
+
+        <para>
+               The <quote>progress</quote> patch shows a visual progress bar on slow
+               tasks, such as indexing a large folder over the net.
+        </para>
+       </sect2>
+
+<!--
+       <sect2 id="progress-variables">
+               <title>Variables</title>
+               <para>None</para>
+       </sect2>
+
+       <sect2 id="progress-functions">
+               <title>Functions</title>
+               <para>None</para>
+       </sect2>
+
+       <sect2 id="progress-commands">
+               <title>Commands</title>
+               <para>None</para>
+       </sect2>
+-->
+
+       <sect2 id="progress-colors">
+               <title>Colors</title>
+               <table id="table-progress-colors">
+                       <title>Progress Colors</title>
+                       <tgroup cols="3">
+                               <thead>
+                                       <row>
+                                               <entry>Name</entry>
+                                               <entry>Default Color</entry>
+                                               <entry>Description</entry>
+                                       </row>
+                               </thead>
+                               <tbody>
+                                       <row>
+                                               <entry><literal>progress</literal></entry>
+                                               <entry>default</entry>
+                                               <entry>Visual progress bar</entry>
+                                       </row>
+                               </tbody>
+                       </tgroup>
+               </table>
+       </sect2>
+
+<!--
+       <sect2 id="progress-sort">
+               <title>Sort</title>
+               <para>None</para>
+       </sect2>
+-->
+
+       <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
+# 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>
+
+       <sect2 id="progress-see-also">
+               <title>See Also</title>
+
+               <itemizedlist>
+                       <listitem><para><ulink url="https://github.com/neomutt/neomutt/wiki">NeoMutt Project</ulink></para></listitem>
+                       <listitem><para><link linkend="color">Color command</link></para></listitem>
+               </itemizedlist>
+       </sect2>
+
+       <sect2 id="progress-known-bugs">
+               <title>Known Bugs</title>
+               <para>None</para>
+       </sect2>
+
+       <sect2 id="progress-credits">
+               <title>Credits</title>
+               <itemizedlist>
+               <listitem><para>Stefan Kuhn <email>wuodan@hispeed.ch</email></para></listitem>
+               <listitem><para>Karel Zak <email>kzak@redhat.com</email></para></listitem>
+               <listitem><para>Richard Russon <email>rich@flatcap.org</email></para></listitem>
+               </itemizedlist>
+       </sect2>
+</sect1>
+
 </chapter>
 
 <chapter id="security">
diff --git a/doc/muttrc.progress b/doc/muttrc.progress
new file mode 100644 (file)
index 0000000..7efe45c
--- /dev/null
@@ -0,0 +1,10 @@
+# Example Mutt config file for the 'progress' patch.
+
+# The 'progress' patch 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
+color progress white red
+
+# vim: syntax=muttrc
diff --git a/doc/vimrc.progress b/doc/vimrc.progress
new file mode 100644 (file)
index 0000000..a632dc0
--- /dev/null
@@ -0,0 +1,5 @@
+" Vim syntax file for the mutt progress patch
+
+syntax keyword muttrcColorField contained progress
+
+" vim: syntax=vim