From: Michael Cook <michael@waxrat.com>
Subject: Re: "@" for addressed-to-you in summary line
Date: Sun, 18 Sep 2005 16:23:44 -0400 [thread overview]
Message-ID: <m3ll1um8fj.fsf@pigpen.waxrat.com> (raw)
In-Reply-To: <quack.20050811T0014.87k6it0wu4@quack.cs.berkeley.edu> (Karl Chen's message of "Thu, 11 Aug 2005 00:14:11 -0700")
Karl Chen <quarl@NOSPAM.quarl.org> writes:
> I've been using the following code successfully for over a year to
> mark mail addressed to me with a "@". This is the same as the "+"
> character used by pine and mutt. To use add "%u+" to
> gnus-summary-line-format. I hope someone finds this useful.
> Something similar is suitable for inclusion in Gnus.
[...]
> (defun gnus-user-format-function-+ (header)
> (if (kc-gnus-interesting-recipients-p (kc-mail-header-recipients header))
> "@"
> " "))
cool. here's a slightly different version of your
gnus-user-format-function-+ that distinguishes between emails where
you're on the To list versus the Cc list:
(defun gnus-user-format-function-+ (header)
(let ((case-fold-search t))
(cond ((string-match gnus-ignored-from-addresses
(gnus-extra-header 'To header))
"To ")
((string-match gnus-ignored-from-addresses
(gnus-extra-header 'Cc header))
"Cc ")
(" "))))
m.
prev parent reply other threads:[~2005-09-18 20:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-11 7:14 Karl Chen
2005-09-18 20:23 ` Michael Cook [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3ll1um8fj.fsf@pigpen.waxrat.com \
--to=michael@waxrat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).