On Sat, 02 Oct 1999, Keith Harbaugh wrote:

> folder-hook . set index_format="%4C %Z %[%m-%d] %-20.20L (%?M?#%03M&%4l?) %s"
> folder-hook a-folder-spanning-years   \
>       set index_format="%4C %Z %[%Y-%m-%d] %-20.20L (%?M?#%03M&%4l?) %s"

> But when I then run mutt, and enter any folder, mutt beeps and says
>    %Z: unknown variable

You forgot to quote the command which is executed by the folder-hook.
Try:

folder-hook . 'set index_format="%4C %Z %[%m-%d] %-20.20L (%?M?#%03M&%4l?) %s"'
folder-hook a-folder-spanning-years     \
        'set index_format="%4C %Z %[%Y-%m-%d] %-20.20L (%?M?#%03M&%4l?) %s"'

Ciao

        Roland

-- 
 * [EMAIL PROTECTED] * http://www.spinnaker.de/ *
 PGP: 1024/DD08DD6D   2D E7 CC DE D5 8D 78 BE  3C A0 A4 F1 4B 09 CE AF

Reply via email to