[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Why multibyte for original-article buffer
From: |
Stefan Monnier |
Subject: |
Why multibyte for original-article buffer |
Date: |
Thu, 28 Feb 2008 14:15:10 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
I've been running with the following patch with good results.
Also the patch makes sense to me: the original article is a sequence of
bytes (i.e. encoded chars), so a unibyte buffer makes a lot of sense
(it's more efficient and is likely to hide fewer bugs).
Yet the code currently explicitly sets the buffer to multibyte mode.
Does anybody know why?
Stefan
--- gnus-art.el.~1.154.~ 2008-02-28 14:10:39.000000000 -0500
+++ gnus-art.el 2008-02-28 14:09:51.000000000 -0500
@@ -4342,7 +4342,7 @@
(gnus-article-setup-highlight-words)
;; Init original article buffer.
(with-current-buffer (gnus-get-buffer-create gnus-original-article-buffer)
- (mm-enable-multibyte)
+ (mm-disable-multibyte)
(setq major-mode 'gnus-original-article-mode)
(make-local-variable 'gnus-original-article))
(if (and (get-buffer name)
- Why multibyte for original-article buffer,
Stefan Monnier <=