changeset 100137:f3e7e60dc941

(message-idna-to-ascii-rhs): Use message-narrow-to-headers-or-head rather than message-narrow-to-head since there will be the message header separator.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Wed, 03 Dec 2008 02:32:18 +0000
parents 6ee9281fcd28
children 0f7cad881e42
files lisp/gnus/ChangeLog lisp/gnus/message.el
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Wed Dec 03 02:27:26 2008 +0000
+++ b/lisp/gnus/ChangeLog	Wed Dec 03 02:32:18 2008 +0000
@@ -1,3 +1,9 @@
+2008-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+	* message.el (message-idna-to-ascii-rhs): Use
+	message-narrow-to-headers-or-head rather than message-narrow-to-head
+	since there will be the message header separator.
+
 2008-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* nnimap.el (nnimap-retrieve-headers-progress): Don't use nnimap-demule
--- a/lisp/gnus/message.el	Wed Dec 03 02:27:26 2008 +0000
+++ b/lisp/gnus/message.el	Wed Dec 03 02:32:18 2008 +0000
@@ -5661,7 +5661,7 @@
   (when message-use-idna
     (save-excursion
       (save-restriction
-	(message-narrow-to-head)
+	(message-narrow-to-headers-or-head)
 	(message-idna-to-ascii-rhs-1 "From")
 	(message-idna-to-ascii-rhs-1 "To")
 	(message-idna-to-ascii-rhs-1 "Reply-To")