all messages for Emacs-related lists mirrored at yhetil.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.