]> granicus.if.org Git - neomutt/commitdiff
merge: progress - show a visual progress bar
authorRichard Russon <rich@flatcap.org>
Mon, 7 Mar 2016 04:41:38 +0000 (04:41 +0000)
committerRichard Russon <rich@flatcap.org>
Mon, 7 Mar 2016 04:41:38 +0000 (04:41 +0000)
 * feature: progress bar
 * tidy code
 * add docs
 * add ident to PATCHES

1  2 
PATCHES
curs_lib.c
doc/manual.xml.head

diff --cc PATCHES
index a6002b662f50f252c3382ddf1559b4d7b6d1c864,81183ac035b02fed872ff51779872d51b0ba9cf0..a0920740a96241a62d8f15fd9f6b4e48d6615ec9
+++ b/PATCHES
@@@ -1,1 -1,1 +1,2 @@@
 +patch-quasi-delete-neo-UNKNOWN
+ patch-progress-neo-UNKNOWN
diff --cc curs_lib.c
Simple merge
index d0315642714dab5079b94b6482b39c6e5bd68965,6fb524e738e46f9331f60510c7008efd40cdeaa1..1f8b0dff7228eb3e04d5884c73873e84ef0aa8c4
@@@ -7995,126 -7996,123 +7996,243 @@@ please have a look at the mixmaster doc
  
  </sect1>
  
 +<sect1 id="quasi-delete">
 +      <title>Quasi-Delete Patch</title>
 +      <subtitle>Mark emails that should be hidden, but not deleted</subtitle>
 +
 +      <sect2 id="quasi-delete-patch">
 +              <title>Patch</title>
 +
 +              <para>
 +                      To check if Mutt supports <quote>Quasi-Delete</quote>, look for
 +                      <quote>patch-quasi-delete</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="quasi-delete-intro">
 +              <title>Introduction</title>
 +
 +        <para>
 +              The <quote>quasi-delete</quote> function marks an email that should be
 +              hidden from the index, but NOT deleted.
 +        </para>
 +
 +        <para>
 +              On its own, this patch isn't very useful.  It forms a useful part of
 +              the notmuch plugin.
 +        </para>
 +      </sect2>
 +
 +<!--
 +      <sect2 id="quasi-delete-variables">
 +              <title>Variables</title>
 +              <para>None</para>
 +      </sect2>
 +-->
 +
 +      <sect2 id="quasi-delete-functions">
 +              <title>Functions</title>
 +              <table id="table-quasi-delete-functions">
 +                      <title>Quasi-Delete Functions</title>
 +                      <tgroup cols="4">
 +                              <thead>
 +                                      <row>
 +                                              <entry>Menus</entry>
 +                                              <entry>Default Key</entry>
 +                                              <entry>Function</entry>
 +                                              <entry>Description</entry>
 +                                      </row>
 +                              </thead>
 +                              <tbody>
 +                                      <row>
 +                                              <entry>index,pager</entry>
 +                                              <entry>(none)</entry>
 +                                              <entry><literal>&lt;quasi-delete&gt;</literal></entry>
 +                                              <entry>delete from mutt, don't touch on disk</entry>
 +                                      </row>
 +                              </tbody>
 +                      </tgroup>
 +              </table>
 +      </sect2>
 +
 +<!--
 +      <sect2 id="quasi-delete-commands">
 +              <title>Commands</title>
 +              <para>None</para>
 +      </sect2>
 +
 +      <sect2 id="quasi-delete-colors">
 +              <title>Colors</title>
 +              <para>None</para>
 +      </sect2>
 +
 +      <sect2 id="quasi-delete-sort">
 +              <title>Sort</title>
 +              <para>None</para>
 +      </sect2>
 +-->
 +
 +      <sect2 id="quasi-delete-muttrc">
 +              <title>Muttrc</title>
 +<screen>
 +<emphasis role="comment"># Example Mutt 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>
 +
 +      <sect2 id="quasi-delete-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="notmuch">notmuch patch</link></para></listitem>
 +              </itemizedlist>
 +      </sect2>
 +
 +      <sect2 id="quasi-delete-known-bugs">
 +              <title>Known Bugs</title>
 +              <para>None</para>
 +      </sect2>
 +
 +      <sect2 id="quasi-delete-credits">
 +              <title>Credits</title>
 +              <itemizedlist>
 +              <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>
 +
+ <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">