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

folder-hook does not work like expected



Hello,

I an trying to load different configurations of my BnuPG setup.
If I call ":source ~/.mutt/security.pgp.debian" it works very well.

Now I have created some folder hooks:

  __( '/home/michelle.konzack/.mutt/hook-folder' )______________________
 /
| ######################################################################
| # 
| # folder-hook [!]<pattern> <command>
| 
| folder-hook     BTS_debian      source ~/.mutt/security.pgp.debian
| folder-hook     ML_arabeyes     source ~/.mutt/security.pgp.arabeyes
| folder-hook     ML_debian       source ~/.mutt/security.pgp.debian
| folder-hook     ML_dos          source ~/.mutt/security.pgp.dos
| folder-hook     ML_linux        source ~/.mutt/security.pgp.linux
| folder-hook     ML_misc         source ~/.mutt/security.pgp.misc
| folder-hook     ML_php          source ~/.mutt/security.pgp.php
| folder-hook     ML_postgresql   source ~/.mutt/security.pgp.postgresql
| folder-hook     ML_programming  source ~/.mutt/security.pgp.programming
 \______________________________________________________________________

I have already checked whether it calls the right folder-hook or not,
but whenever I change the folder, mutt tells me "Unknown command".

I have already tried:

folder-hook ML_debian :source ~/.mutt/security.pgp.debian
folder-hook ML_debian <shell-escape>source ~/.mutt/security.pgp.debian
folder-hook ML_debian ':source ~/.mutt/security.pgp.debian'
folder-hook ML_debian '<shell-escape>source ~/.mutt/security.pgp.debian'
folder-hook ML_debian ":source ~/.mutt/security.pgp.debian"
folder-hook ML_debian "<shell-escape>source ~/.mutt/security.pgp.debian"

and otherstuff...

In the section 3.5 of the manual it is written:

    folder-hook mutt set sort=threads

so I was asuming, that my version from sourcing a config works simmilar.

    folder-hook debian source <file>

Can anyone help me ?

Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature