Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: keeping to-header addresses in wide mail replies
Date: Sun, 05 May 2013 08:38:35 -0700	[thread overview]
Message-ID: <87r4hlo2ro.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87sj2132u3.fsf@gmail.com>

Mario Peter <empee0@gmail.com> writes:

> Hi All,
>
> I wonder if there is a possibility to keep addresses in to: and cc:
> headers where they are when composing a wide reply to an email. When I
> do a wide reply, in the to: header remains only the address of whom I
> reply to , all other addresses go to cc:
>
> What I want is that all addresses in to: are kept in to:
> Is there an option to get such a behavior ?
>
> Maybe I have to play with message-wide-reply-to-function ?
>
> Thx for suggestions!
> Mario

You could certainly write your own `message-wide-reply-to-function', but
looking at all the checks and alterations that go on in
`message-get-reply-headers', you'd pretty much need to copy and paste
the whole body of that function, and then change just the end.

Another option is the function `message-reduce-to-to-cc', which nearly
does what you want: it *replaces* the contents of To with the contents
of Cc, instead of concatenating them. It would be a one- or two-line
change to that function to make it do what you want, though. Then you'd
have to call it explicitly.

Eric





  reply	other threads:[~2013-05-05 15:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-05 14:42 Mario Peter
2013-05-05 15:38 ` Eric Abrahamsen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-05-05 12:17 Mario Peter

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=87r4hlo2ro.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=ding@gnus.org \
    /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).