<<< Date Index >>>     <<< Thread Index >>>

Re: folder-hook problem, Mutt 1.4.2.1i



* michael@xxxxxxxxxxxx [2004-07-16 00:57 +0200]:
> I have a problem with setting up folder-hooks. When I have something
> like:
> 
> folder-hook . \
>       set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet <blah>"
> 
> (with lots of command line parameters substituted for "<blah>") Mutt
> doesn't seem to care about the quotation marks, and complains about an
> unknown variable "gpg". This is not a problem when not using a
> folder-hook, and otherwise exactly the same line.

Try to enclose the whole set command with '.

folder-hook . 'set pgp_something="foo"'

Nicolas