On Thu, Mar 25, 1999 at 01:48:54AM +0100, Axel Beckert wrote:
> Hi;
> 
[...]
> folder-hook . set index_format="%4C %Z %[%a·%d·%b] %-16.16F [%-12.12L] (%4l) %s%> %M"
> folder-hook -ct$ set index_format="%4C %S %[%d.%m. %H:%Mh] (%3l) %s%> %M"
> 
> But when I enter now any folder, mutt says "%Z: unkown variable" and
[...]
> It seems as if mutt is ignoring all quotes in the command parameter of
> folder-hook.

That's an easy one. The line you mention is actually getting parsed
twice. Once when read from the file, and once when executing the
folder-hook. The quotes are getting stripped on the first parsing.

That means you have to quote it twice, where the easiest way is:

folder-hook . 'set index_format="%4C %Z %[%a·%d·%b] %-16.16F [%-12.12L] (%4l) %s%> %M"'
folder-hook -ct$ 'set index_format="%4C %S %[%d.%m. %H:%Mh] (%3l) %s%> %M"'

but other ways are possible.

> in Sven Guckes's mutt.personal file
> (http://www.math.fu-berlin.de/~guckes/setup/mutt.personal) is
> commented because of the same reason as mine are at the moment. 

It shouldn't :)

Anyway, my .muttrc is at <http://sec/mutt/.mutt/muttrc-0.95.4i.html>
which is linked from my mutt page.

CU & HTH,
    Sec
-- 
               +----------------------------------+
               |      Questions Are A Burden      |
               | Answers Are A Prison For Oneself |
               +----------------------------------+

Reply via email to