Re: pattern aliases
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
pattern aliases
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
On Thu, Oct 11, 2007 at 09:19:15PM -0600, Michael Hendricks wrote: 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? I think not, but why not use macros instead? -- Javier Rojas GPG Key ID: 0xA1C57061 pgp1Vw0tkvI2D.pgp Description: PGP signature
Re: pattern aliases
Thus spake Michael Hendricks [10/11/07 @ 21.19.15 -0600]: 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? 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. -G
Re: pattern aliases
On 11Oct2007 23:29, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: | Thus spake Michael Hendricks [10/11/07 @ 21.19.15 -0600]: | Is it possible to create | aliases for commonly used patterns? [...] | 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. Yeah. For a real world example, I have this one: macro index y limit~h ^^x-label:.* limit by X-Label header to easily commence a limit by X-Label: header limit. Cheers, -- Cameron Simpson [EMAIL PROTECTED] DoD#743 http://www.cskk.ezoshosting.com/cs/ You want to have consistent and uniform muscle development across all of your muscles? It can't be done. It's just a fact of life. You just have to accept inconsistent muscle development as an unalterable condition of weight training. - Response to Arthur Jones, who solved the unsolvable problem by inventing Nautilus.