<replaceable class="parameter">address</replaceable>
</arg>
<arg choice="opt" rep="repeat">
- <replaceable class="parameter">address</replaceable>
+ <replaceable class="parameter">, address</replaceable>
</arg>
<command>unalias</command>
<arg choice="opt" rep="repeat">
<arg choice="plain">
<replaceable class="parameter">map</replaceable>
</arg>
+ <arg choice="opt" rep="repeat">
+ <replaceable class="parameter">,map</replaceable>
+ </arg>
<arg choice="plain">
<replaceable class="parameter">key</replaceable>
</arg>
<arg choice="plain">
<replaceable class="parameter">menu</replaceable>
</arg>
+ <arg choice="opt" rep="repeat">
+ <replaceable class="parameter">,menu</replaceable>
+ </arg>
<arg choice="plain">
<replaceable class="parameter">key</replaceable>
</arg>
</arg>
<command>mono</command>
<arg choice="plain">
- <option>index</option>
+ <option>index-object</option>
</arg>
<arg choice="plain">
<replaceable class="parameter">attribute</replaceable>
<arg choice="plain">
<option>inv</option>
</arg>
+ <arg choice="plain">
+ <option>&</option>
+ </arg>
+ <arg choice="plain">
+ <option>?</option>
+ </arg>
</group>
<replaceable class="parameter">variable</replaceable>
</arg>
</para>
<cmdsynopsis>
<command>source</command>
- <arg choice="plain" rep="repeat">
- <replaceable class="parameter">file</replaceable>
+ <arg choice="plain">
+ <replaceable class="parameter">filename</replaceable>
</arg>
</cmdsynopsis>
<para>
<cmdsynopsis>
<command>auto_view</command>
<arg choice="plain">
- <replaceable>mimetype</replaceable>
+ <replaceable>mime-type<arg choice="opt">/mime-subtype</arg></replaceable>
</arg>
<arg choice="opt" rep="repeat">
- <replaceable>mimetype</replaceable>
+ <replaceable>mime-type<arg choice="opt">/mime-subtype</arg></replaceable>
</arg>
<command>unauto_view</command>
<group choice="req">
<replaceable>*</replaceable>
</arg>
<arg choice="plain" rep="repeat">
- <replaceable>mimetype</replaceable>
+ <replaceable>mime-type<arg choice="opt">/mime-subtype</arg></replaceable>
</arg>
</group>
</cmdsynopsis>
</para>
<cmdsynopsis>
<command>attachments</command>
- <arg choice="plain">
- <replaceable>{ + | - }disposition</replaceable>
- </arg>
+ <group choice="req">
+ <arg choice="plain">
+ <replaceable>+</replaceable>
+ </arg>
+ <arg choice="plain">
+ <replaceable>-</replaceable>
+ </arg>
+ </group>
+ <replaceable>disposition</replaceable>
<arg choice="plain">
<replaceable>mime-type</replaceable>
</arg>
<command>unattachments</command>
- <arg choice="plain">
- <replaceable>{ + | - }disposition</replaceable>
- </arg>
+ <group choice="req">
+ <arg choice="plain">
+ <replaceable>+</replaceable>
+ </arg>
+ <arg choice="plain">
+ <replaceable>-</replaceable>
+ </arg>
+ </group>
+ <replaceable>disposition</replaceable>
<arg choice="plain">
<replaceable>mime-type</replaceable>
</arg>
<cmdsynopsis>
<command>mime_lookup</command>
<arg choice="plain">
- <replaceable>mimetype</replaceable>
+ <replaceable>mime-type<arg choice="opt">/mime-subtype</arg></replaceable>
</arg>
<arg choice="opt" rep="repeat">
- <replaceable>mimetype</replaceable>
+ <replaceable>mime-type<arg choice="opt">/mime-subtype</arg></replaceable>
</arg>
<command>unmime_lookup</command>
<group choice="req">
<replaceable>*</replaceable>
</arg>
<arg choice="plain" rep="repeat">
- <replaceable>mimetype</replaceable>
+ <replaceable>mime-type<arg choice="opt">/mime-subtype</arg></replaceable>
</arg>
</group>
</cmdsynopsis>
<cmdsynopsis>
<command>open-hook</command>
<arg choice="plain">
- <replaceable class="parameter">pattern</replaceable>
+ <replaceable class="parameter">regex</replaceable>
</arg>
<arg choice="plain">
- <replaceable class="parameter">shell-command</replaceable>
+ <replaceable class="parameter">"shell-command"</replaceable>
</arg>
<command>close-hook</command>
<arg choice="plain">
- <replaceable class="parameter">pattern</replaceable>
+ <replaceable class="parameter">regex</replaceable>
</arg>
<arg choice="plain">
- <replaceable class="parameter">shell-command</replaceable>
+ <replaceable class="parameter">"shell-command"</replaceable>
</arg>
<command>append-hook</command>
<arg choice="plain">
- <replaceable class="parameter">pattern</replaceable>
+ <replaceable class="parameter">regex</replaceable>
</arg>
<arg choice="plain">
- <replaceable class="parameter">shell-command</replaceable>
+ <replaceable class="parameter">"shell-command"</replaceable>
</arg>
</cmdsynopsis>
<para>
<sect3 id="open-hook">
<title>Read from compressed mailbox</title>
- <screen>open-hook regex shell-command</screen>
+ <screen>open-hook regex "shell-command"</screen>
<para>
If NeoMutt is unable to open a file, it then looks for
<literal>open-hook</literal> that matches the filename.
<sect3 id="close-hook">
<title>Write to a compressed mailbox</title>
- <screen>close-hook regex shell-command</screen>
+ <screen>close-hook regex "shell-command"</screen>
<para>
When NeoMutt has finished with a compressed mail folder, it will
look for a matching <literal>close-hook</literal> to recompress the
<sect3 id="append-hook">
<title>Append to a compressed mailbox</title>
- <screen>append-hook regex shell-command</screen>
+ <screen>append-hook regex "shell-command"</screen>
<para>
When NeoMutt wants to append an email to a compressed mail folder,
it will look for a matching <literal>append-hook</literal>. This
<cmdsynopsis>
<command>timeout-hook</command>
<arg choice="plain">
- <replaceable class="parameter">NEOMUTT-COMMAND</replaceable>
+ <replaceable class="parameter">command</replaceable>
</arg>
</cmdsynopsis>
<cmdsynopsis>
<command>startup-hook</command>
<arg choice="plain">
- <replaceable class="parameter">NEOMUTT-COMMAND</replaceable>
+ <replaceable class="parameter">command</replaceable>
</arg>
</cmdsynopsis>
<cmdsynopsis>
<command>shutdown-hook</command>
<arg choice="plain">
- <replaceable class="parameter">NEOMUTT-COMMAND</replaceable>
+ <replaceable class="parameter">command</replaceable>
</arg>
</cmdsynopsis>
</sect2>
</para>
<screen>
-ifdef symbol config-command [args...] <emphasis role="comment"># If a symbol is defined</emphasis>
-ifndef symbol config-command [args...] <emphasis role="comment"># If a symbol is not defined</emphasis>
-finish <emphasis role="comment"># Finish reading the current file</emphasis>
+ifdef symbol "config-command [args...]" <emphasis role="comment"># If a symbol is defined</emphasis>
+ifndef symbol "config-command [args...]" <emphasis role="comment"># If a symbol is not defined</emphasis>
+finish <emphasis role="comment"># Finish reading the current file</emphasis>
</screen>
<para>
<replaceable class="parameter">symbol</replaceable>
</arg>
<arg choice="plain">
- <replaceable class="parameter">"config-command
- [args]"</replaceable>
+ <replaceable class="parameter">"config-command
+ <arg choice="opt" rep="repeat">args</arg>"</replaceable>
</arg>
<command>ifndef</command>
<arg choice="plain">
<replaceable class="parameter">symbol</replaceable>
</arg>
<arg choice="plain">
- <replaceable class="parameter">"config-command
- [args]"</replaceable>
+ <replaceable class="parameter">"config-command
+ <arg choice="opt" rep="repeat">args</arg>"</replaceable>
</arg>
<command>finish</command>
</cmdsynopsis>
<emphasis role="comment"># one config file between versions of NeoMutt that may have different</emphasis>
<emphasis role="comment"># features compiled in.</emphasis>
-<emphasis role="comment"># ifdef symbol config-command [args...]</emphasis>
-<emphasis role="comment"># ifndef symbol config-command [args...]</emphasis>
+<emphasis role="comment"># ifdef symbol "config-command [args...]"</emphasis>
+<emphasis role="comment"># ifndef symbol "config-command [args...]"</emphasis>
<emphasis role="comment"># finish</emphasis>
<emphasis role="comment"># The 'ifdef' command tests whether NeoMutt understands the name of</emphasis>
<emphasis role="comment"># a variable, function, command or compile-time symbol.</emphasis>
<replaceable class="parameter">address</replaceable>
</arg>
<arg choice="opt" rep="repeat">
- <replaceable class="parameter">address</replaceable>
+ <replaceable class="parameter">, address</replaceable>
</arg>
<command>
<link linkend="alias">unalias</link>
<link linkend="alternative-order">alternative_order</link>
</command>
<arg choice="plain">
- <replaceable>mimetype</replaceable>
+ <replaceable>mime-type<arg choice="opt">/mime-subtype</arg></replaceable>
</arg>
<arg choice="opt" rep="repeat">
- <replaceable>mimetype</replaceable>
+ <replaceable>mime-type<arg choice="opt">/mime-subtype</arg></replaceable>
</arg>
<command>
<link linkend="alternative-order">unalternative_order</link>
<replaceable>*</replaceable>
</arg>
<arg choice="plain" rep="repeat">
- <replaceable>mimetype</replaceable>
+ <replaceable>mime-type<arg choice="opt">/mime-subtype</arg></replaceable>
</arg>
</group>
</cmdsynopsis>
<link linkend="append-hook">append-hook</link>
</command>
<arg choice="plain">
- <replaceable class="parameter">pattern</replaceable>
+ <replaceable class="parameter">regex</replaceable>
</arg>
<arg choice="plain">
- <replaceable class="parameter">shell-command</replaceable>
+ <replaceable class="parameter">"shell-command"</replaceable>
</arg>
</cmdsynopsis>
</listitem>
<command>
<link linkend="attachments">attachments</link>
</command>
- <arg choice="plain">
- <replaceable>{ + | - }disposition</replaceable>
- </arg>
+ <group choice="req">
+ <arg choice="plain">
+ <replaceable>+</replaceable>
+ </arg>
+ <arg choice="plain">
+ <replaceable>-</replaceable>
+ </arg>
+ </group>
+ <replaceable>disposition</replaceable>
<arg choice="plain">
<replaceable>mime-type</replaceable>
</arg>
<command>
<link linkend="attachments">unattachments</link>
</command>
- <arg choice="plain">
- <replaceable>{ + | - }disposition</replaceable>
- </arg>
+ <group choice="req">
+ <arg choice="plain">
+ <replaceable>+</replaceable>
+ </arg>
+ <arg choice="plain">
+ <replaceable>-</replaceable>
+ </arg>
+ </group>
+ <replaceable>disposition</replaceable>
<arg choice="plain">
<replaceable>mime-type</replaceable>
</arg>
<link linkend="auto-view">auto_view</link>
</command>
<arg choice="plain">
- <replaceable>mimetype</replaceable>
+ <replaceable>mime-type<arg choice="opt">/mime-subtype</arg></replaceable>
</arg>
<arg choice="opt" rep="repeat">
- <replaceable>mimetype</replaceable>
+ <replaceable>mime-type<arg choice="opt">/mime-subtype</arg></replaceable>
</arg>
<command>
<link linkend="auto-view">unauto_view</link>
<replaceable>*</replaceable>
</arg>
<arg choice="plain" rep="repeat">
- <replaceable>mimetype</replaceable>
+ <replaceable>mime-type<arg choice="opt">/mime-subtype</arg></replaceable>
</arg>
</group>
</cmdsynopsis>
<arg choice="plain">
<replaceable class="parameter">map</replaceable>
</arg>
+ <arg choice="opt" rep="repeat">
+ <replaceable class="parameter">,map</replaceable>
+ </arg>
<arg choice="plain">
<replaceable class="parameter">key</replaceable>
</arg>
<link linkend="close-hook">close-hook</link>
</command>
<arg choice="plain">
- <replaceable class="parameter">pattern</replaceable>
+ <replaceable class="parameter">regex</replaceable>
</arg>
<arg choice="plain">
- <replaceable class="parameter">shell-command</replaceable>
+ <replaceable class="parameter">"shell-command"</replaceable>
</arg>
</cmdsynopsis>
</listitem>
<link linkend="ifdef">ifdef</link>
</command>
<arg choice="plain">
- <replaceable class="parameter">item</replaceable>
+ <replaceable class="parameter">symbol</replaceable>
</arg>
<arg choice="plain">
- <replaceable class="parameter">"config-command
- [args]"</replaceable>
+ <replaceable class="parameter">"config-command
+ <arg choice="opt" rep="repeat">args</arg>"</replaceable>
</arg>
+ <command>
+ <link linkend="ifdef">ifndef</link>
+ </command>
+ <arg choice="plain">
+ <replaceable class="parameter">symbol</replaceable>
+ </arg>
+ <arg choice="plain">
+ <replaceable class="parameter">"config-command
+ <arg choice="opt" rep="repeat">args</arg>"</replaceable>
+ </arg>
+ <command>
+ <link linkend="ifdef">finish</link>
+ </command>
</cmdsynopsis>
</listitem>
<listitem>
<arg choice="plain">
<replaceable class="parameter">menu</replaceable>
</arg>
+ <arg choice="opt" rep="repeat">
+ <replaceable class="parameter">,menu</replaceable>
+ </arg>
<arg choice="plain">
<replaceable class="parameter">key</replaceable>
</arg>
<link linkend="mime-lookup">mime_lookup</link>
</command>
<arg choice="plain">
- <replaceable>mimetype</replaceable>
+ <replaceable>mime-type<arg choice="opt">/mime-subtype</arg></replaceable>
</arg>
<arg choice="opt" rep="repeat">
- <replaceable>mimetype</replaceable>
+ <replaceable>mime-type<arg choice="opt">/mime-subtype</arg></replaceable>
</arg>
<command>
<link linkend="mime-lookup">unmime_lookup</link>
<replaceable>*</replaceable>
</arg>
<arg choice="plain" rep="repeat">
- <replaceable>mimetype</replaceable>
+ <replaceable>mime-type<arg choice="opt">/mime-subtype</arg></replaceable>
</arg>
</group>
</cmdsynopsis>
<link linkend="mono">mono</link>
</command>
<arg choice="plain">
- <option>index</option>
+ <option>index-object</option>
</arg>
<arg choice="plain">
<replaceable class="parameter">attribute</replaceable>
</command>
<group choice="req">
<arg choice="plain">
- <option>index</option>
+ <option>index-object</option>
</arg>
<arg choice="plain">
<option>header</option>
<link linkend="open-hook">open-hook</link>
</command>
<arg choice="plain">
- <replaceable class="parameter">pattern</replaceable>
+ <replaceable class="parameter">regex</replaceable>
</arg>
<arg choice="plain">
- <replaceable class="parameter">shell-command</replaceable>
+ <replaceable class="parameter">"shell-command"</replaceable>
</arg>
</cmdsynopsis>
</listitem>
<arg choice="plain">
<option>inv</option>
</arg>
+ <arg choice="plain">
+ <option>&</option>
+ </arg>
+ <arg choice="plain">
+ <option>?</option>
+ </arg>
</group>
<replaceable class="parameter">variable</replaceable>
</arg>
<command>
<link linkend="setenv">setenv</link>
</command>
- <arg choice="plain">
- <replaceable class="parameter">[?]variable</replaceable>
- </arg>
- <arg choice="opt">
- <replaceable class="parameter">value</replaceable>
- </arg>
+ <group choice="req">
+ <arg choice="plain">
+ <replaceable class="parameter">?variable</replaceable>
+ </arg>
+ <arg choice="plain">
+ <replaceable class="parameter">variable value</replaceable>
+ </arg>
+ </group>
<command>
<link linkend="setenv">unsetenv</link>
</command>
</group>
</cmdsynopsis>
</listitem>
+ <listitem>
+ <cmdsynopsis>
+ <command>
+ <link linkend="global-hooks">shutdown-hook</link>
+ </command>
+ <arg choice="plain">
+ <replaceable class="parameter">command</replaceable>
+ </arg>
+ <command>
+ <link linkend="global-hooks">startup-hook</link>
+ </command>
+ <arg choice="plain">
+ <replaceable class="parameter">command</replaceable>
+ </arg>
+ <command>
+ <link linkend="global-hooks">timeout-hook</link>
+ </command>
+ <arg choice="plain">
+ <replaceable class="parameter">command</replaceable>
+ </arg>
+ </cmdsynopsis>
+ </listitem>
</itemizedlist>
</sect1>