From f66de92f0b99786bfb643981dda120a1b7227c4f Mon Sep 17 00:00:00 2001 From: Katsumi Yamaoka Date: Wed, 3 Dec 2008 02:32:18 +0000 Subject: [PATCH] (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. --- lisp/gnus/ChangeLog | 6 ++++++ lisp/gnus/message.el | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index aad131c7362..0366a2fad9d 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,9 @@ +2008-12-03 Katsumi Yamaoka + + * 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 * nnimap.el (nnimap-retrieve-headers-progress): Don't use nnimap-demule diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index fde3f5a5f13..a57e290f26f 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el @@ -5661,7 +5661,7 @@ See `message-idna-encode'." (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") -- 2.39.2