emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r110945: message.el (message-get-repl


From: Katsumi Yamaoka
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r110945: message.el (message-get-reply-headers): Make sure the reply goes to the author if it is a wide reply
Date: Mon, 19 Nov 2012 06:24:14 +0000
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 110945
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Mon 2012-11-19 06:24:14 +0000
message:
  message.el (message-get-reply-headers): Make sure the reply goes to the 
author if it is a wide reply
modified:
  lisp/gnus/ChangeLog
  lisp/gnus/message.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog       2012-11-16 17:20:23 +0000
+++ b/lisp/gnus/ChangeLog       2012-11-19 06:24:14 +0000
@@ -1,3 +1,8 @@
+2012-11-19  Katsumi Yamaoka  <address@hidden>
+
+       * message.el (message-get-reply-headers):
+       Make sure the reply goes to the author if it is a wide reply.
+
 2012-11-16  Jan Tatarik  <address@hidden>
 
        * gnus-score.el (gnus-score-body):

=== modified file 'lisp/gnus/message.el'
--- a/lisp/gnus/message.el      2012-11-02 23:37:02 +0000
+++ b/lisp/gnus/message.el      2012-11-19 06:24:14 +0000
@@ -6730,11 +6730,16 @@
                               ", "))
            mct (message-fetch-field "mail-copies-to")
            author (or (message-fetch-field "mail-reply-to")
-                      (message-fetch-field "reply-to")
-                      (message-fetch-field "from")
-                      "")
+                      (message-fetch-field "reply-to"))
            mft (and message-use-mail-followup-to
-                    (message-fetch-field "mail-followup-to"))))
+                    (message-fetch-field "mail-followup-to")))
+      ;; Make sure this message goes to the author if this is a wide
+      ;; reply, sine Reply-To address may be a list address a mailing
+      ;; list server added.
+      (when (and wide author)
+       (setq cc (concat author ", " cc)))
+      (when (or wide (not author))
+       (setq author (or (message-fetch-field "from") ""))))
 
     ;; Handle special values of Mail-Copies-To.
     (when mct


reply via email to

[Prev in Thread] Current Thread [Next in Thread]