On Fri, Jun 25, 2010 at 08:50:32AM +0200, Marco Giusti wrote:
> hi mutt users,
> 
>  time ago i set folder hooks to set different macros for different
> folders, in particulary gmail's imap. now these hooks don't work
> anymore. i controlled it twice and i'm preatty sure they worked for a
> while: when i change folder and enter gmail's inbox, folder variable is
> still set to '~/mail' and macros are not changed.

I found the error and it's also and old bug[1] closed as won't fix.
Before the hook I had a comment line ending with a backslash, like this
one.

        # \
        folder-hook . 'push <collapse-all>'

This is not exactly what I expect comments work. Quoting bash manual
page:

        "... a word beginning with # causes that word and all remaining
        characters on that  line to be ignored."

m.


[1] http://dev.mutt.org/trac/ticket/1561


-- 
Dalle virtù che si esigono in un domestico, l'Eccellenza Vostra conosce molti
padroni degni d'esser servitori?
                -- Pierre Augustin Caron de Beaumarchais

Reply via email to