From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17228 Path: news.gmane.org!not-for-mail From: Damien Wyart Newsgroups: gmane.emacs.gnus.user 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 Organization: Serveur de News Free Message-ID: <545b8f0a$0$2898$426a34cc@news.free.fr> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1415289023 18258 80.91.229.3 (6 Nov 2014 15:50:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Nov 2014 15:50:23 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Nov 06 16:50:18 2014 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XmPKD-0005UR-0p for gegu-info-gnus-english@m.gmane.org; Thu, 06 Nov 2014 16:50:17 +0100 Original-Received: from localhost ([::1]:54526 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmPKC-0000A4-KS for gegu-info-gnus-english@m.gmane.org; Thu, 06 Nov 2014 10:50:16 -0500 X-Received: by 10.182.120.8 with SMTP id ky8mr3908831obb.14.1415286538956; Thu, 06 Nov 2014 07:08:58 -0800 (PST) Original-Path: usenet.stanford.edu!r10no4725239igi.0!news-out.google.com!ks2ni13831igb.0!nntp.google.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news.roellig-ltd.de!open-news-network.org!news.muarf.org!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed4-a.proxad.net!nnrp1-1.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help,gnu.emacs.gnus User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 Original-Followup-To: gnu.emacs.gnus Original-Lines: 27 Original-NNTP-Posting-Date: 06 Nov 2014 16:08:58 CET Original-NNTP-Posting-Host: 213.41.244.197 Original-X-Trace: 1415286538 news-4.free.fr 2898 213.41.244.197:55408 Original-X-Complaints-To: abuse@proxad.net X-Received-Bytes: 2122 X-Received-Body-CRC: 2610330839 Original-Xref: usenet.stanford.edu gnu.emacs.help:208520 gnu.emacs.gnus:88357 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:17228 Archived-At: [ copy & fu2 gnus.emacs.gnus] * Denis Bitouz=E9 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.h= tml 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