From: Stefan Monnier <monnier@iro.umontreal.ca>
To: bugs@gnus.org
Cc: emacs-devel@gnu.org
Subject: Why multibyte for original-article buffer
Date: Thu, 28 Feb 2008 14:15:10 -0500 [thread overview]
Message-ID: <jwvd4qg3nfg.fsf-monnier+emacs@gnu.org> (raw)
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)
next reply other threads:[~2008-02-28 19:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-28 19:15 Stefan Monnier [this message]
2008-02-29 0:35 ` Why multibyte for original-article buffer Katsumi Yamaoka
2008-02-29 4:22 ` Stefan Monnier
2008-02-29 5:44 ` Katsumi Yamaoka
2008-02-29 6:18 ` Miles Bader
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvd4qg3nfg.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=bugs@gnus.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.