emacs-devel
[Top][All Lists]
Advanced

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

Re: with-output-to-temp-buffer [Re: reverting CJK input methods]


From: Kevin Rodgers
Subject: Re: with-output-to-temp-buffer [Re: reverting CJK input methods]
Date: Thu, 06 May 2004 14:57:02 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Stefan Monnier wrote:
>>>Then maybe erase-buffer should do something like
>>>(let ((inhibit-read-only (not buffer-read-only)))
>>>
>>I don't understand why that should not be the caller's responsibility.
>
> Of course, the caller could do it, but experience seems to indicate that
> all callers need to do it (and many forget), so it might make sense to do
> it in erase-buffer.

I understand now: read-only buffers would not be affected, just
modifiable buffers with read-only text.

--
Kevin Rodgers






reply via email to

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