Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael Sperber <sperber@deinprogramm.de>
To: ding@gnus.org
Subject: PATCH: Bind `rmail-dont-reply-to-names'
Date: Sun, 18 Oct 2015 18:04:22 +0200	[thread overview]
Message-ID: <y9l37x8rwmx.fsf@deinprogramm.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 141 bytes --]


XEmacs uses `rmail-dont-reply-to-names' in a few places, bound in the
attached patch.  Could this be applied and pushed?

-- 
Regards,
Mike

[-- Attachment #2: Type: text/plain, Size: 1474 bytes --]

commit 93e9c3007ab16c6e95016d302c5fdd6e386c94c3
Author: Mike Sperber <sperber@deinprogramm.de>
Date:   Sun Oct 18 17:43:47 2015 +0200

    	* message.el (message-get-reply-headers): In addition to
    	`mail-dont-reply-to-names', bind `rmail-dont-reply-to-names', which is
    	used in XEmacs.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9ea368d..2f7fd2b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2015-10-18  Michael Sperber  <mike@xemacs.org>
+
+	* message.el (message-get-reply-headers): In addition to
+	`mail-dont-reply-to-names', bind `rmail-dont-reply-to-names', which is
+	used in XEmacs.
+
 2015-10-14  Katsumi Yamaoka  <yamaoka@jpl.org>
 
 	* auth-source.el (auth-source-epa-make-gpg-token): Revert.
diff --git a/lisp/message.el b/lisp/message.el
index 12e4e49..7d0534c 100644
--- a/lisp/message.el
+++ b/lisp/message.el
@@ -6974,7 +6974,8 @@ want to get rid of this query permanently.")))
       (while (string-match "[ \t][ \t]+" recipients)
 	(setq recipients (replace-match " " t t recipients)))
       ;; Remove addresses that match `mail-dont-reply-to-names'.
-      (let ((mail-dont-reply-to-names (message-dont-reply-to-names)))
+      (let ((mail-dont-reply-to-names (message-dont-reply-to-names))
+	    (rmail-dont-reply-to-names (message-dont-reply-to-names)))
 	(setq recipients (mail-dont-reply-to recipients)))
       ;; Perhaps "Mail-Copies-To: never" removed the only address?
       (if (string-equal recipients "")

             reply	other threads:[~2015-10-18 16:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-18 16:04 Michael Sperber [this message]
2015-10-19 16:29 ` Andreas Schwab
2015-10-20  6:04   ` Katsumi Yamaoka

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=y9l37x8rwmx.fsf@deinprogramm.de \
    --to=sperber@deinprogramm.de \
    --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).