[gnus git] branch master updated: m0-3-91-gee575fc =1= gnus-msg.el (gnus-summary-resend-message-insert-gcc): Assume that gnus-gcc-self-resent-messages may be a group parameter.
Katsumi Yamaoka <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via ee575fcc7284a89f548895720c436b11f2a190e0 (commit)
from e0c4fb0085a3e38ea31bf0b791d0367b38ee4329 (commit)
- Log -----------------------------------------------------------------
commit ee575fcc7284a89f548895720c436b11f2a190e0
Author: Katsumi Yamaoka <[email protected]>
Date: Thu Mar 22 10:55:10 2012 +0000
gnus-msg.el (gnus-summary-resend-message-insert-gcc): Assume that gnus-gcc-self-resent-messages may be a group parameter.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9f1912f..43f1a97 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,7 +1,9 @@
2012-03-22 Katsumi Yamaoka <[email protected]>
- * gnus-msg.el (gnus-summary-resend-message): Don't encode encoded words
- in header when Gcc'ing resent message.
+ * gnus-msg.el (gnus-summary-resend-message-insert-gcc): Assume that
+ gnus-gcc-self-resent-messages may be a group parameter.
+ (gnus-summary-resend-message): Don't encode encoded words in header
+ when Gcc'ing resent message.
2012-03-19 Lars Magne Ingebrigtsen <[email protected]>
diff --git a/lisp/gnus-msg.el b/lisp/gnus-msg.el
index e09f728..6cf0837 100644
--- a/lisp/gnus-msg.el
+++ b/lisp/gnus-msg.el
@@ -1313,26 +1313,27 @@ For the \"inline\" alternatives, also see the variable
group)))
(message-unquote-tokens
(message-tokenize-header (mail-fetch-field "gcc" nil t)
- " ,")))))
+ " ,"))))
+ (self (with-current-buffer gnus-summary-buffer
+ gnus-gcc-self-resent-messages)))
(message-remove-header "gcc")
(when gcc
(goto-char (point-max))
- (cond ((eq gnus-gcc-self-resent-messages 'none))
- ((eq gnus-gcc-self-resent-messages t)
+ (cond ((eq self 'none))
+ ((eq self t)
(insert "Gcc: \"" gnus-newsgroup-name "\"\n"))
- ((stringp gnus-gcc-self-resent-messages)
+ ((stringp self)
(insert "Gcc: "
(mm-encode-coding-string
- (if (string-match " " gnus-gcc-self-resent-messages)
- (concat "\"" gnus-gcc-self-resent-messages "\"")
- gnus-gcc-self-resent-messages)
- (gnus-group-name-charset
- (gnus-inews-group-method gnus-gcc-self-resent-messages)
- gnus-gcc-self-resent-messages))
+ (if (string-match " " self)
+ (concat "\"" self "\"")
+ self)
+ (gnus-group-name-charset (gnus-inews-group-method self)
+ self))
"\n"))
- ((null gnus-gcc-self-resent-messages)
+ ((null self)
(insert "Gcc: " (mapconcat 'identity gcc ", ") "\n"))
- ((eq gnus-gcc-self-resent-messages 'no-gcc-self)
+ ((eq self 'no-gcc-self)
(when (setq gcc (delete
gnus-newsgroup-name
(delete (concat "\"" gnus-newsgroup-name "\"")
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 6 ++++--
lisp/gnus-msg.el | 25 +++++++++++++------------
2 files changed, 17 insertions(+), 14 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project