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

Re: mutt/2402: damaged regexps in folder-hooks



The following reply was made to PR mutt/2402; it has been noted by GNATS.

From: Thomas Roessler <roessler@xxxxxxxxxxxxxxxxxx>
To: bug-any@xxxxxxxxxxxxx
Cc: 
Subject: Re: mutt/2402: damaged regexps in folder-hooks
Date: Thu, 3 Aug 2006 13:05:26 +0200

 On 2006-08-03 12:55:01 +0200, Rocco Rutte wrote:
 
 >  I though of that, too, but then I have in my config:
 >  
 >     folder-hook ! '...'
 >     folder-hook ~/Mail/archive '...'
 >     folder-hook =IN.mutt-dev '...'
 >  
 
 Would we lose much by having hooks *either* do regular
 expression matching *or* mailbox shortcuts?
 
 One way to multiplex between the two modes would be to check
 the first character for being special (with the obvious
 exception of ^), and possibly add folder-hook-rx and
 folder-hook-path keywords to override.
 
 -- 
 Thomas Roessler                              <roessler@xxxxxxxxxxxxxxxxxx>