Gnus development mailing list
 help / color / mirror / Atom feed
From: James Leifer <James.Leifer@inria.fr>
Subject: Re: One recipient per line
Date: Mon, 08 Dec 2003 10:12:51 +0100	[thread overview]
Message-ID: <r77k757zn8s.fsf@muscadet.inria.fr> (raw)
In-Reply-To: <m28ylpvb8h.fsf@Andrew-Kortys-Computer.local> (Andrew Korty's message of "Sat, 06 Dec 2003 17:21:18 -0500")

Andrew Korty <ajk@iu.edu> writes:

> Greetings.  Is there a configuration option to make message.el put no
> more than one recipient per line in the header when I reply to a
> message?

Just off the top of my head, it probably would be easy to write a
little function that

* narrows to the To, BCC, and CC fields (others?)

* searches and replaces the space separators between run-on email
  addresses by a newline

The second requires care: you can't just search for

  , *

since there may be commas lurking inside quotes or inside the email
addresses themselves.  I guess there are regexps lurking inside the
gnus or message codebase for identifying the boundaries between email
addresses which you could reuse.

You could then bind this wonderful function to M-q, which currently
does nothing useful in the headers...

Good luck!

-James



  parent reply	other threads:[~2003-12-08  9:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-06 22:21 Andrew Korty
2003-12-07 12:39 ` Reiner Steib
2003-12-07 18:48 ` Xavier Maillard
2003-12-07 20:17   ` Andrew Korty
2003-12-08  9:12 ` James Leifer [this message]
2003-12-31  3:11 ` Lars Magne Ingebrigtsen

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=r77k757zn8s.fsf@muscadet.inria.fr \
    --to=james.leifer@inria.fr \
    /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).