GNU bug report logs -
#13823
24.3.50; Elisp manual description of property `pure'
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Tue, 26 Feb 2013 19:46:02 UTC
Severity: wishlist
Found in version 24.3.50
Done: Christopher Schmidt <christopher <at> ch.ristopher.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#13823: 24.3.50; Elisp manual description of property `pure'
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 13823 <at> debbugs.gnu.org.
--
13823: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13823
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
> Sounds OK. Feel free to put it in.
I did this, r112066.
Christopher
[Message part 3 (message/rfc822, inline)]
The doc for property `pure' is inadequate and misleading. It says only
this:
`pure'
This property is used internally to mark certain named functions
for byte compiler optimization. Do not set it.
In discussion of bug #13052, no good reason was given for this.
The consideration of this property as somehow being "internal", and not
for use by anyone programming with Emacs Lisp other than those
developing core Emacs, is misguided. Users deserve a real description
of what this property does, so they can determine whether and where to
use it in code they develop.
The same information would of course be useful to core Emacs developers
- the manual serves them too.
The idea of withholding such information from users is misguided. All
users are potentially Emacs-Lisp users and even potentially core Emacs
developers. The Elisp manual should say what such a property actually
does, specifically.
AFAICT, there is no difference between using this property in code
distributed as part of core Emacs and using it in other, user code.
Why shouldn't, for example, a user function with a definition similar
to, or even identical to, that for `kbd' have `pure' applied to it,
since it is applied to `kbd'? Why make users guess when `pure' might be
appropriate or inappropriate?
Emacs Dev really needs to get over its antiquated conception of Emacs
users as something other than Emacs-Lisp developers. The world has
moved beyond end users submitting batch requests at the Univac job
queue.
GNU should be in the vanguard of putting users first and encouraging
them to dig into, understand, and modify the programs that GNU provides.
Shame on GNU for not helping users by making things more transparent.
In GNU Emacs 24.3.50.1 (i386-mingw-nt5.1.2600)
of 2013-02-25 on ODIEONE
Bzr revision: 111879 yamaoka <at> jpl.org-20130225224731-cv9gznq5nqf3ei7g
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
`configure --with-gcc (4.7) --no-opt --enable-checking --cflags
-IC:/Devel/emacs/build/include --ldflags -LC:/Devel/emacs/build/lib'
This bug report was last modified 12 years and 64 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.