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

Folder hooks not working.



I'm trying to get folder-hooks working properly in mutt 1.5.5.1i, but
they are erratic.

    folder-hook +IN.root-periodic$ set record=+IN.root-periodic
    folder-hook +IN.root-periodic$ 'macro index \cx "|isync IN.root-periodic\n"'
    mailboxes +IN.root-periodic

    folder-hook +IN.pact$ set record=+IN.pact
    folder-hook +IN.pact$ 'macro index ^X "$y|isync IN.pact\n"'
    mailboxes +IN.pact

What should be happening is that the control X key should be bound to
invoke a call to isync for the named folder, etc.  What happens is that
the binding works, until I change folders with the 'c' key.  After
changing folder the folder-hooks for the new folder don't always work.
It seems that if I change folders with the space key (selecting the next
mailbox with new mail in it) the hooks work, but if I modify the name or
type a new one in in full it doesn't work.

Is this a bug in mutt, the documentation, or my understanding of either?

Joe
-- 
Josef Karthauser (joe@xxxxxxxxxx)              http://www.josef-k.net/
FreeBSD (cvs meister, admin and hacker)     http://www.uk.FreeBSD.org/
Physics Particle Theory (student)   http://www.pact.cpes.sussex.ac.uk/
================ An eclectic mix of fact and theory. =================

Attachment: pgpmW93G6ogdF.pgp
Description: PGP signature