pattern aliases

2007-10-11 Thread Michael Hendricks
I was unable to find an answer to this question on the wiki, in the
manual or in the mailing list archives.  Is it possible to create
aliases for commonly used patterns?  For instance, when I begin working
on project "foo", I often start by limiting my messages to something
like "(~f example.org | ~f sample.com) ~s foo !~s PATCH"  It gets
tedious to type that each time.  I'd like to put something like this in
my .muttrc

pattern_alias foo (~f example.org | ~f sample.com) ~s foo !~s PATCH

and then just limit my messages to the pattern "foo".  Is something
similar possible?

Thank you.

-- 
Michael


Re: pattern aliases

2007-10-12 Thread Michael Hendricks
On Thu, Oct 11, 2007 at 11:29:17PM -0400, [EMAIL PROTECTED] wrote:
> Thus spake Michael Hendricks [10/11/07 @ 21.19.15 -0600]:
> > I'd like to put something like this in my .muttrc
> > 
> > pattern_alias foo (~f example.org | ~f sample.com) ~s foo !~s
> > PATCH
> > 
> > and then just limit my messages to the pattern "foo".  Is something
> > similar possible?
> 
> I just tried this:
> 
> macro editor *foo "some stuff here"
> 
> and it expanded after I hit 'l' for limit.  Maybe that's not so
> elegant, but it seems to work just fine.

That works great.  Thank you for the suggestion.

-- 
Michael