Gnus development mailing list
 help / color / mirror / Atom feed
From: jidanni@jidanni.org
To: ding@gnus.org
Cc: reiner.steib@gmx.de
Subject: Re: How to strip names out of To: and CC:
Date: Thu, 04 Feb 2010 03:25:44 +0800	[thread overview]
Message-ID: <878wbaf7ev.fsf@jidanni.org> (raw)
In-Reply-To: <87hbpzdnsu.fsf@jidanni.org>

>>>>> "j" == jidanni  <jidanni@jidanni.org> writes:
j> message-simplify-recipients is an interactive compiled Lisp function
j> in `message.el'.

j> 1. This function is apparently unused by any other code.

j> 2. When I do M-x message-simplify-recipients, it does what I want.
j> However, when I put it into any hook, it causes an error that mentions
j> the "--text follows this line--" separator.

j> 3. It seems to work on addresses, even if they don't match
j> message-recipients-without-full-name, which is fine with me though.

Never mind, I'll just do
(defun jidanni-message-alter-recipients-discard-all-names (addrcell)
  "Discard all names in mail addresses, because it looks neater"
  (cons (car addrcell) (car addrcell)))

(setq message-alter-recipients-function 'jidanni-message-alter-recipients-discard-all-names)

P.S., hope this shows up in gmane.emacs.gnus.general...



  reply	other threads:[~2010-02-03 19:25 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-09  3:26 jidanni
2007-11-09 17:54 ` jidanni
2008-03-19 16:46 ` Reiner Steib
2008-03-21  3:16   ` jidanni
2008-03-21  7:35     ` Reiner Steib
2010-02-03  3:02       ` jidanni
2010-02-03 19:25         ` jidanni [this message]
2010-02-03 19:48           ` Reiner Steib
2010-02-03 20:15             ` jidanni
  -- strict thread matches above, loose matches on Subject: below --
2007-10-18 17:42 jidanni
2007-10-18 18:53 ` Reiner Steib
2007-10-20 19:30   ` jidanni
2007-10-21  5:54     ` Daniel Pittman
2007-10-24 18:52       ` jidanni
2007-10-24 20:03         ` Reiner Steib
2007-10-24 22:06           ` jidanni
2007-10-24 23:16             ` Bastien
2007-10-24 23:25               ` jidanni

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=878wbaf7ev.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=ding@gnus.org \
    --cc=reiner.steib@gmx.de \
    /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).