From: Kevin McCarthy Date: Tue, 17 Mar 2015 23:28:54 +0000 (-0700) Subject: Clarify hook documentation to specify regexp instead of pattern. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a812dbf75f238842094e263813762becf52347e2;p=neomutt Clarify hook documentation to specify regexp instead of pattern. Account-hook, crypt-hook, and mbox-hook accept a regexp parameter, not a pattern. --- diff --git a/doc/manual.xml.head b/doc/manual.xml.head index b84ffbbd7..8b46be242 100644 --- a/doc/manual.xml.head +++ b/doc/manual.xml.head @@ -3175,7 +3175,7 @@ keep it on the list of known mailing lists, use mbox-hook -[!]pattern +[!]regexp mailbox @@ -3185,7 +3185,7 @@ keep it on the list of known mailing lists, use This command is used to move read messages from a specified mailbox to a different mailbox automatically when you quit or change folders. -pattern is a regular expression specifying the +regexp is a regular expression specifying the mailbox to treat as a spool mailbox and mailbox specifies where mail should be saved when read. @@ -3193,7 +3193,7 @@ read. Unlike some of the other hook commands, only the -first matching pattern is used (it is not possible +first matching regexp is used (it is not possible to save read mail in more than a single mailbox). @@ -3409,7 +3409,7 @@ linkend="fcc-save-hook">fcc-save-hook command. This command is used to save outgoing mail in a mailbox other than $record. Mutt searches the initial list of -message recipients for the first matching regexp +message recipients for the first matching pattern and uses mailbox as the default Fcc: mailbox. If no match is found the message will be saved to $record mailbox. @@ -3616,7 +3616,7 @@ message-hook '~f freshmeat-news' 'set pager="less \"+/^ subject: .*\""' crypt-hook -pattern +regexp keyid @@ -7656,7 +7656,7 @@ Usage: account-hook -pattern +regexp command