Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Pattern for messages addressed only to me

28 views
Skip to first unread message

Klaus Dohmen

unread,
Jan 6, 2012, 9:20:03 AM1/6/12
to
Hi,

is there a pattern that matches the messages addressed *only* to me? I
would like to hightlight them with a different color. '+' does not work.

Any hint is welcome.

Klaus.


Frank Ursel

unread,
Jan 6, 2012, 9:47:17 AM1/6/12
to
Klaus Dohmen schrieb:
> is there a pattern that matches the messages addressed *only* to me? I
> would like to hightlight them with a different color. '+' does not work.
>
> Any hint is welcome.

~p

Klaus Dohmen

unread,
Jan 6, 2012, 1:19:34 PM1/6/12
to
Unfortunately, this pattern matches all messages where my address occurs
in the To: line.


Frank Ursel

unread,
Jan 6, 2012, 3:20:15 PM1/6/12
to
Klaus Dohmen schrieb:

> Am 06.01.2012 15:47, schrieb Frank Ursel:
>> Klaus Dohmen schrieb:
>>> is there a pattern that matches the messages addressed *only* to me? I
>> ~p
> Unfortunately, this pattern matches all messages where my address occurs
> in the To: line.

Right, I missed the *only* condition. Looks not so easy to get. You could
try ~h"To: yourmailregexp" but this would also catch messages where
someone other is in Cc:.

Frank

Klaus Dohmen

unread,
Jan 7, 2012, 9:13:29 AM1/7/12
to
Thank you very much. That works, but slowly since I use imap and all
mails have to be downloaded to search the header for this pattern.

I am wondering that there is no simple way because mutt itself places a
+ sign to mark messages addressed only to me. The documentation does not
help.

Klaus.




0 new messages