[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with mutt macro



On Mon, Apr 25, 2005 at 09:48:32AM +0100, Jon Dowland wrote:
> >macro index \Ch "!echo Marking message as ham...\n |bogofilter
> >-Sn\n" "Mark message as ham, not spam."
> Is \Ch a single character? The macro syntax requires a single key here.

Not true:
http://mutt.org/doc/manual/manual-3.html#macro

It says "key and sequence are expanded by the same rules as
the key bindings." Key bindings, in turn, are defined here:

http://mutt.org/doc/manual/manual-3.html#bind

"Usage: bind map key function

... key is the key (or key sequence) you wish to bind. To
specify a control character, use the sequence \Cx, where x
is the letter of the control character (for example, to
specify control-A use ``\Ca'')."

-- 
Stephen R. Laniel
steve@laniels.org
+(617) 308-5571
http://laniels.org/



Reply to: