On Sun, Dec 17, 2000 at 04:02:37AM -0800, Eugene Lee wrote:
: 
: I'm trying to set up a folder-hook that matches all mailboxes I read
: beginning with a specific character.  However, the ^ metacharacter does
: not appear to work at all for some reason.  Here's an example that
: should work but does not:
: 
:       folder-hook ^b 'save-hook . =bobby'

Figured it out, with a bit of a tip from David Champion (thanks dude!) :

        folder-hook =^b 'save-hook . =bobby'

Of course this reminds me that the pattern either matches the entire
absolute filesystem pathname or any piece of the absolute pathname.
There's no shortcut to match a relative pathname.  For example, the
above working folder-hook works for this path:

        /home/eugene/Mail/bob

but does not work for this path:

        /home/eugene/Mail/info/bills

It would be nice to have another mailbox shortcut that would act as a
pseudo directory separator that refers to your current directory.  Too
bad this doesn't work:

        folder-hook ./^b 'save-hook . =bobby'


-- 
Eugene Lee
[EMAIL PROTECTED]

Reply via email to