summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRene Kita <git@rkta.de>2021-01-16 20:53:57 +0100
committerKevin McCarthy <kevin@8t8.us>2021-01-22 13:14:59 -0800
commit26770eac5c4d349e344277bbe21acab73bb81117 (patch)
tree8449e08bedf72148cc0afc15df5aeec281941b81 /doc
parent933f3462b9e72cd33a6bc0273ba6d79f5bbb43cf (diff)
Add -nonotify argument to mailboxes command
-nonotify allows to disable notifications for mailboxes. -notify can be used to re-enable notifications for a previously disabled mailbox. A typical use case are mailboxes for mailing lists. The User may want to get notified about new mail in their work mailbox, but not get disrupted by new mail received from the mailing list. This patch allows individual configuration for all mailboxes.
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.xml.head16
-rw-r--r--doc/muttrc.man.head2
2 files changed, 17 insertions, 1 deletions
diff --git a/doc/manual.xml.head b/doc/manual.xml.head
index 7433423d..99e0aecc 100644
--- a/doc/manual.xml.head
+++ b/doc/manual.xml.head
@@ -3805,6 +3805,14 @@ to save read mail in more than a single mailbox).
<arg choice="opt">
<group choice="opt">
<arg choice="plain">
+ <option>-notify</option>
+ </arg>
+ <arg choice="plain">
+ <option>-nonotify</option>
+ </arg>
+ </group>
+ <group choice="opt">
+ <arg choice="plain">
<option>-poll</option>
</arg>
<arg choice="plain">
@@ -3843,6 +3851,14 @@ checked for new messages periodically.
</para>
<para>
+Use <literal>-nonotify</literal> to disable notifying when new mail
+arrives. The <literal>-notify</literal> argument can be used to reenable
+notifying for an existing mailbox. If unspecified: a new
+mailbox will notify by default, while an existing mailbox will be
+unchanged.
+</para>
+
+<para>
To disable polling, specify <literal>-nopoll</literal> before the
mailbox name. The <literal>-poll</literal> argument can be used to
reenable polling for an existing mailbox. If unspecified: a new
diff --git a/doc/muttrc.man.head b/doc/muttrc.man.head
index 589a2463..e7d0f0a2 100644
--- a/doc/muttrc.man.head
+++ b/doc/muttrc.man.head
@@ -360,7 +360,7 @@ The first matching \fBmbox-hook\fP applies.
.
.PP
.nf
-\fBmailboxes\fP [[\fB-poll\fP | \fB-nopoll\fP] [[\fB-label\fP \fIlabel\fP] | \fB-nolabel\fP] \fIfilename\fP] [ ... ]
+\fBmailboxes\fP [[\fB-notify\fP | \fB-nonotify\fP] [\fB-poll\fP | \fB-nopoll\fP] [[\fB-label\fP \fIlabel\fP] | \fB-nolabel\fP] \fIfilename\fP] [ ... ]
\fBunmailboxes\fP [ \fB*\fP | \fIfilename\fP ... ]
.fi
.IP