[PATCH] reply-hook reference missing
hi,
reply-hook is not listed in section 6.2 of the manual, which should be
comprehensive (debian bug #254294).
also, i've noticed that it's not mentioned in the muttrc.5 manpage
either, so i composed a short paragraph for it.
both issues fixed in the attached patch.
--
Adeodato Simó
EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
Linux. You can find a worse OS, but it costs more.
--- manual.sgml.head~ 2004-07-21 07:40:37.000000000 +0200
+++ manual.sgml.head 2004-07-21 07:42:17.000000000 +0200
@@ -3158,6 +3158,8 @@
<item>
<tt><ref id="send-hook" name="send-hook"></tt> <em/regexp/ <em/command/
<item>
+<tt><ref id="reply-hook" name="reply-hook"></tt> <em/regexp/ <em/command/
+<item>
<tt><ref id="set" name="set"></tt>
[no|inv]<em/variable/[=<em/value/] [ <em/variable/ ...
]
<item>
<tt><ref id="set" name="unset"></tt> <em/variable/ [<em/variable/ ...
]
--- muttrc.man.head~ 2004-07-21 07:51:45.000000000 +0200
+++ muttrc.man.head 2004-07-21 07:48:07.000000000 +0200
@@ -292,6 +292,13 @@
executed. When multiple \fBsend-hook\fPs match, they are executed
in the order in which they occur in the configuration file.
.TP
+\fBreply-hook\fP [\fB!\fP]\fIpattern\fP \fIcommand\fP
+When replying to a message matching \fIpattern\fP, \fIcommand\fP is
+executed. When multiple \fBreply-hook\fPs match, they are executed
+in the order in which they occur in the configuration file, but all
+\fBreply-hook\fPs are matched and executed before \fBsend-hook\fPs,
+regardless of their order in the configuration file.
+.TP
\fBcrypt-hook\fP \fIpattern\fP \fIkey-id\fP
The crypt-hook command provides a method by which you can
specify the ID of the public key to be used when encrypting messages