unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Why multibyte for original-article buffer
@ 2008-02-28 19:15 Stefan Monnier
  2008-02-29  0:35 ` Katsumi Yamaoka
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2008-02-28 19:15 UTC (permalink / raw)
  To: bugs; +Cc: emacs-devel

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)




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-02-29  6:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-28 19:15 Why multibyte for original-article buffer Stefan Monnier
2008-02-29  0:35 ` Katsumi Yamaoka
2008-02-29  4:22   ` Stefan Monnier
2008-02-29  5:44     ` Katsumi Yamaoka
2008-02-29  6:18       ` Miles Bader

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).