emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 5d76288: Fix problem with 8bit content-transfer-encoding in nnd


From: Lars Ingebrigtsen
Subject: emacs-27 5d76288: Fix problem with 8bit content-transfer-encoding in nndoc mbox files
Date: Thu, 7 Jan 2021 08:34:47 -0500 (EST)

branch: emacs-27
commit 5d76288660279c2affa4bed45956efd311eaf53d
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix problem with 8bit content-transfer-encoding in nndoc mbox files
    
    * lisp/gnus/nndoc.el (nndoc-possibly-change-buffer): If we're
    reading an mbox file, it may contain messages that use
    content-transfer-encoding 8bit, which means that we have to treat
    the file as a sequence of byte (bug#42951).  This avoids
    double-decoding -- once by Emacs when inserting the mbox into the
    buffer, and once by Gnus when displaying the articles.
---
 lisp/gnus/nndoc.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/gnus/nndoc.el b/lisp/gnus/nndoc.el
index 79518bb..9d5e390 100644
--- a/lisp/gnus/nndoc.el
+++ b/lisp/gnus/nndoc.el
@@ -352,6 +352,7 @@ from the document.")
            nndoc-group-alist)
       (setq nndoc-dissection-alist nil)
       (with-current-buffer nndoc-current-buffer
+       (set-buffer-multibyte nil)
        (erase-buffer)
        (condition-case error
            (if (and (stringp nndoc-address)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]