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

Re: folder-hooks applying too often



On Sat, Apr 14, 2007 at 04:59:45PM +0200, Rado S wrote:
> =- Matthew Daubenspeck wrote on Sat 14.Apr'07 at 10:55:49 -0400 -=
> 
> > > * Matthew Daubenspeck <matt@xxxxxxxxxxxxxx> [2007-04-14 09:48 -0400]:
> > > > folder-hook =INBOX       'macro index d 
> > > > "<save-message>=INBOX.Trash<enter>"'
> > > 
> > > This hook is applied to all folders that contain =INBOX.
> > > 
> > > > when in INBOX and INBOX.Work. However, it is using the setup in ALL
> > > > folders. Any suggestions?
> > > 
> > > Add $ at the end of the mailboxname.
> > 
> > I must have the syntax wrong, as I tried that and it makes no
> > difference:
> 
> Please re-check how folder-hooks work, maybe
> http://WIKI.mutt.org/?DebugConfig can help you.
> "catch-all" default is what you miss.

Ugh. My mistake. That fixed it and made it work perfectly. Thanks for
the link.

-- 
  Matthew Daubenspeck
  http://oddprocess.org

Gentoo Linux x86_64 Dual Core AMD Opteron(tm) Processor 165
01:07:02 up 72 days, 14:54, 1 user, load average: 0.00, 0.00, 0.00