[gnus git] branch master updated: m0-3-89-g9f4d6d7 =1= gnus-msg.el (gnus-summary-resend-message): Don't encode encoded words in header when Gcc'ing resent mesage.

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  9f4d6d702b3b46c0c1dd93bc201d8e01f9f882ee (commit)
      from  ea43095d03f49b57ef853bb54a642c8af13f98a4 (commit)


- Log -----------------------------------------------------------------
commit 9f4d6d702b3b46c0c1dd93bc201d8e01f9f882ee
Author: Katsumi Yamaoka <[email protected]>
Date:   Thu Mar 22 10:03:13 2012 +0000

    gnus-msg.el (gnus-summary-resend-message): Don't encode encoded words in header when Gcc'ing resent mesage.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cd294d6..e408abb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+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 mesage.
+
 2012-03-19  Lars Magne Ingebrigtsen  <[email protected]>
 
 	* shr.el (shr-insert): Treat non-breaking space just like normal
diff --git a/lisp/gnus-msg.el b/lisp/gnus-msg.el
index ff250b8..e09f728 100644
--- a/lisp/gnus-msg.el
+++ b/lisp/gnus-msg.el
@@ -1357,9 +1357,12 @@ For the \"inline\" alternatives, also see the variable
     ;; `gnus-summary-resend-message-insert-gcc' must run last.
     (add-hook 'message-header-setup-hook
 	      'gnus-summary-resend-message-insert-gcc t)
-    (add-hook 'message-sent-hook (if gnus-agent
-				     'gnus-agent-possibly-do-gcc
-				   'gnus-inews-do-gcc))
+    (add-hook 'message-sent-hook
+	      `(lambda ()
+		 (let ((rfc2047-encode-encoded-words nil))
+		   ,(if gnus-agent
+			'(gnus-agent-possibly-do-gcc)
+		      '(gnus-inews-do-gcc)))))
     (dolist (article (gnus-summary-work-articles n))
       (gnus-summary-select-article nil nil nil article)
       (with-current-buffer gnus-original-article-buffer

-----------------------------------------------------------------------
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   |    9 +++++++--
 lisp/gnus-msg.el |    9 ++++++---
 2 files changed, 13 insertions(+), 5 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.