changeset 111031:4bed37ddc92b

* lisp/gnus/nnimap.el (nnimap-request-move-article, nnimap-parse-line) (nnimap-process-expiry-targets): Use unibyte for buffers that hold undecoded network data.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 18 Oct 2010 20:13:27 -0400
parents fdb969225593
children 1ed05f12a0bc
files lisp/gnus/ChangeLog lisp/gnus/nnimap.el
diffstat 2 files changed, 13 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Mon Oct 18 23:41:03 2010 +0000
+++ b/lisp/gnus/ChangeLog	Mon Oct 18 20:13:27 2010 -0400
@@ -1,3 +1,9 @@
+2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* nnimap.el (nnimap-request-move-article, nnimap-parse-line)
+	(nnimap-process-expiry-targets): Use unibyte for buffers that hold
+	undecoded network data.
+
 2010-10-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
 	* gnus-agent.el (gnus-agent-toggle-plugged): Use the right minor mode
@@ -20,9 +26,9 @@
 
 2010-10-18  Andrew Cohen  <cohen@andy.bu.edu>
 
-	* gnus-registry.el (gnus-registry-split-fancy-with-parent): Splitting
-	according to references/in-reply-to obeys the ignore-groups variable,
-	while splitting by sender and subject do not.
+	* gnus-registry.el (gnus-registry-split-fancy-with-parent):
+	Splitting according to references/in-reply-to obeys the ignore-groups
+	variable, while splitting by sender and subject do not.
 
 2010-10-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
@@ -48,7 +54,7 @@
 
 2010-10-15  Andrew Cohen  <cohen@andy.bu.edu>
 
-	* gnus-sum.el (gnus-summary-refer-thread): unconditionally ignore
+	* gnus-sum.el (gnus-summary-refer-thread): Unconditionally ignore
 	duplicates.
 
 2010-10-15  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
--- a/lisp/gnus/nnimap.el	Mon Oct 18 23:41:03 2010 +0000
+++ b/lisp/gnus/nnimap.el	Mon Oct 18 20:13:27 2010 -0400
@@ -714,6 +714,7 @@
 (deffoo nnimap-request-move-article (article group server accept-form
 					     &optional last internal-move-group)
   (with-temp-buffer
+    (mm-disable-multibyte)
     (when (nnimap-request-article article group server (current-buffer))
       ;; If the move is internal (on the same server), just do it the easy
       ;; way.
@@ -769,6 +770,7 @@
     (dolist (article articles)
       (let ((target nnmail-expiry-target))
 	(with-temp-buffer
+          (mm-disable-multibyte)
 	  (when (nnimap-request-article article group server (current-buffer))
 	    (nnheader-message 7 "Expiring article %s:%d" group article)
 	    (when (functionp target)
@@ -1474,6 +1476,7 @@
 (defun nnimap-parse-line (line)
   (let (char result)
     (with-temp-buffer
+      (mm-disable-multibyte)
       (insert line)
       (goto-char (point-min))
       (while (not (eobp))