At 20:34 -0500 05 Jan 2002, parv <[EMAIL PROTECTED]> wrote:
> in message <[EMAIL PROTECTED]>, 
> wrote Aaron Schrab thusly...

> >      color index red default %~P
> 
> aaron, i have been using similar syntax for the same purpose since mutt
> v1.2.something (less than 1.2.4 for sure) created from freebsd ports, 
> now on v1.3.25i, w/o any problems.  syntax is...
> 
>   color index red default ~P
>                           ^----- notice the missing '%'
> 
> ...so how does the patch figure in?

It adds support for the % modifier, which causes the rest of the match
operator to match against the parent of the message (the message that it
was in reply to), rather than the message itself.

So while ~P matches messages that you wrote yourself, %~P matches
messages that are replies to messages that you wrote.

> 
> >    Although that would only work if your message was in the same
> >    mailbox.
> 
> i didn't understand the above statement.  when you say "message(s)
> in the same mailbox", what do you mean by it?

Since mutt doesn't keep information about messages not in the current
mailbox, the parent of a message needs to be in the current mailbox in
order to match against it.

-- 
Aaron Schrab     [EMAIL PROTECTED]      http://www.execpc.com/~aarons/
 In general, if you think something isn't in Perl, try it out,
 because it usually is.  :-)    --Larry Wall

Attachment: msg22375/pgp00000.pgp
Description: PGP signature

Reply via email to