emacs-devel
[Top][All Lists]
Advanced

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

Re: [Unicode-2] `read' always returns multibyte symbol


From: Katsumi Yamaoka
Subject: Re: [Unicode-2] `read' always returns multibyte symbol
Date: Fri, 16 Nov 2007 10:24:06 +0900
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

>>>>> Kenichi Handa wrote:
> In article <address@hidden>,
>       Katsumi Yamaoka <address@hidden> writes:

>> (insert (prog1
>>          (decode-coding-string (buffer-string) 'coding)
>>        (erase-buffer)
>>        (set-buffer-multibyte t)))

> The best is to decide buffer's multibyteness just after it
> is created, and don't change the multibyteness later.

I see.  In relation to this, I've been wanting to exterminate
the `mm-with-unibyte-current-buffer' macro that Gnus uses here
and there (if you have time, please look at how it is evil, in
mm-util.el).




reply via email to

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