all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: 13823@debbugs.gnu.org
Subject: bug#13823: 24.3.50; Elisp manual description of property `pure'
Date: Tue, 26 Feb 2013 11:43:34 -0800	[thread overview]
Message-ID: <7C809B3AAAD746858CBC43BE77242FAA@us.oracle.com> (raw)

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@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'
 






             reply	other threads:[~2013-02-26 19:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-26 19:43 Drew Adams [this message]
2013-02-26 21:04 ` bug#13823: 24.3.50; Elisp manual description of property `pure' Stefan Monnier
2013-02-26 21:13   ` Christopher Schmidt
2013-02-27  1:27     ` Stefan Monnier
2013-03-17 16:55       ` Christopher Schmidt
2013-02-26 21:56   ` Drew Adams
2013-02-27  1:24     ` Stefan Monnier
2013-02-27  4:38       ` Drew Adams
2013-02-27 14:27   ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7C809B3AAAD746858CBC43BE77242FAA@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=13823@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.