On Thu, Mar 22, 2001 at 09:50:40AM -0800, Enoch Wu wrote:
> 
> Greetings,
> 
> Will someone test the following for me.  Thanks in advance!
> 
> # If tagged, then save message with hooks applied. Must predefine
> # save-hooks.
> # One macro does all the mail "redirect".
> macro index "\cy" "<tag-pattern>~C *\n:push <tag-prefix><save-message>\n\n"
> 
> Hope it helps.
> 
> -ew
> > 
> > I hear you -- but I haven't solved the " no files tagged, so do nothing"
> > issue. Like I said above -- DON'T use the macros that you don't need for
> > the time being, until we come up with a "slicker than snot on a
> > door-knob" solution. ;,) Again -- color-code the "groups" of messages in
> > your /etc/muttrc file, then use the appropriate macro. Later...

It didn't work for me as *I* expected! ;( The macro tagged the entire
$spoolfile in the "main" index, and turned around and saved the whole
thing to only one of my pre-defined IN.xxxxx mailboxes. Here's how I've
defined my "save-hook"s:

save-hook "(~C freebsd-question@) | (~C questions@)" +IN.freebsd
save-hook "~t .BAMA.UA.EDU" +IN.mercury
save-hook "~C @mutt.org" +IN.mutt
save-hook "(~C @cygwin)|(~C cygwin@)" +IN.cygwin
save-hook "~C php-db" +IN.php-db

Do they look like yours? Is the macro working for you? Later...
-- 
-duke
Calgary, Alberta, Canada


Reply via email to