From: Kevin McCarthy Date: Mon, 29 Jun 2015 21:35:28 +0000 (-0700) Subject: Add note to manual clarifying push/exec and folder-hook order. X-Git-Tag: neomutt-20160307~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=83d3fd0981a84cc9c2cbba0f6d41666accd92b20;p=neomutt Add note to manual clarifying push/exec and folder-hook order. Folder-hooks are executed in the order declared. However, push/exec commands will simply prepend to the keyboard buffer. If there are multiple push/exec commands, each will prepend to the earlier one. The result is that they will end up being "run" in reverse order once keyboard buffer processing starts. --- diff --git a/doc/manual.xml.head b/doc/manual.xml.head index f8d80324a..109bd2db8 100644 --- a/doc/manual.xml.head +++ b/doc/manual.xml.head @@ -2453,6 +2453,15 @@ in the configuration file. + + +The keyboard buffer will not be processed until after all hooks +are run; multiple push or exec commands will end up being processed in +reverse order. + + + The following example will set the sort variable to date-sent for all folders but to @@ -3663,7 +3672,7 @@ e-mail address, or even just a real name. -This command adds the named string to the keyboard buffer. The string +This command adds the named string to the beginning of the keyboard buffer. The string may contain control characters, key names and function names like the sequence string in the macro command. You may use it to automatically run a sequence of commands at startup, or