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: Kenichi Handa
Subject: Re: with-output-to-temp-buffer [Re: reverting CJK input methods]
Date: Fri, 7 May 2004 10:53:21 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Stefan Monnier <address@hidden> writes:

>>  I fear there's many other codes that pay attention to
>>  buffer-read-only but not to read-only text-property.  In
>>  almost all cases, I think what they want is to erase a
>>  buffer completely including read-only text.

> Then maybe erase-buffer should do something like
> (let ((inhibit-read-only (not buffer-read-only)))

Ah, yes.  It seems that buffer-read-only is a stronger
specification for read-only-ness than read-only text
property.

---
Ken'ichi HANDA
address@hidden





reply via email to

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