Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Damien Wyart <damien.wyart@free.fr>
To: info-gnus-english@gnu.org
Subject: Re: Make `r` and `F` behave as `S L` when replying to a message from a mailing list
Date: Thu, 06 Nov 2014 16:08:57 +0100	[thread overview]
Message-ID: <545b8f0a$0$2898$426a34cc@news.free.fr> (raw)
In-Reply-To: <m3vbmsvisc.fsf@example.com>

[ copy & fu2 gnus.emacs.gnus]

* Denis Bitouzé <dbitouze@wanadoo.fr> in gnu.emacs.help:
> I've just been told that when I reply (`r` or `F`) to a message from
> a mailing list, the `To` is the original message sender's address
> instead of the mailing list address, the latter being in the `Cc`
> field.

> It appears that it should be enough to use `S L` to get the expected
> behavior (the mailing list address in the `To` field, nothing in
> `Cc`), but I'd like a unique keybinding for all the "reply" actions.

> Hence my question: how could I make `r` and `F` behave as `S L` when
> replying to a message from a mailing list?

If the lists have their own Gnus groups, I think the simplest solution
is to play with the corresponding group parameter to-address (and
broken-reply-to if needed). See:
https://www.gnu.org/software/emacs/manual/html_node/gnus/Group-Parameters.html

Else writing a custom replying function might be needed but I don't
think there exists a predefined funtion to check if a message is from
a mailing-list (checking List-Id and X-Mailing-List might be enough,
though).

-- 
DW

       reply	other threads:[~2014-11-06 15:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m3vbmsvisc.fsf@example.com>
2014-11-06 15:08 ` Damien Wyart [this message]
2014-11-07  6:38   ` Denis Bitouzé
     [not found]   ` <mailman.13094.1415342343.1147.info-gnus-english@gnu.org>
2014-11-07  9:09     ` Damien Wyart
2014-11-07 18:53       ` Denis Bitouzé
     [not found]       ` <mailman.13173.1415386451.1147.info-gnus-english@gnu.org>
2014-11-07 19:25         ` Emanuel Berg
2014-11-09 16:53           ` Denis Bitouzé
     [not found]           ` <mailman.13309.1415552050.1147.info-gnus-english@gnu.org>
2014-11-15 13:20             ` Emanuel Berg
2014-11-17 13:07               ` Denis Bitouzé
     [not found]               ` <mailman.13874.1416229661.1147.info-gnus-english@gnu.org>
2014-11-17 22:09                 ` Emanuel Berg

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='545b8f0a$0$2898$426a34cc@news.free.fr' \
    --to=damien.wyart@free.fr \
    --cc=info-gnus-english@gnu.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).