[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: toggle-read-only should not give compilation warnings
From: |
Richard Stallman |
Subject: |
Re: toggle-read-only should not give compilation warnings |
Date: |
Wed, 11 Jul 2012 20:58:06 -0400 |
The reason for putting toggle-read-only into that list is that it
displays a message, and programmers who don't know better would often
use it for code that wants to modify some read-only text, code that
really ought to bind inhibit-read-only.
There are lots of toggle-read-only warnings in the Emacs Lisp source
tree.
How many is "lots"?
As far as I can tell, the overwhelming majority of these are all
legitimate use cases.
That may be true -- because most of the erroneous uses were already
fixed thanks to this warning.
--
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
Use Ekiga or an ordinary phone call
Re: toggle-read-only should not give compilation warnings,
Richard Stallman <=