From: Nicholas Drozd <nicholasdrozd@gmail.com>
To: 32284@debbugs.gnu.org
Subject: bug#32284: special form documentation
Date: Thu, 26 Jul 2018 17:44:17 -0500 [thread overview]
Message-ID: <CABAiW0pVBHYo2f7vqOwfwC=Ttp8uis3XFuz0e60mFJFiu5N1rw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 899 bytes --]
The Elisp manual section on Special Forms (10.2.7) lists around two dozen
special forms, but two of them aren't special forms.
* `lambda', it turns out, is not a special form, but a macro that wraps
itself in a call to the special form `function'. (The documentation for
`lambda' refers to it as "self-quoting"; this might be better changed to
"self-evaluating".)
* `track-mouse' isn't a special form, but a macro wrapper around the
primitive function `internal--track-mouse', which isn't a special form
either. (Section 29.15 on Mouse Tracking also inaccruately refers to
`track-mouse' as a special form.)
On the other hand, the special form `inline' is not listed in the Special
Forms section.
A list of all special forms can be gotten with
(let (special-forms)
(mapatoms
(lambda (sym)
(when (special-form-p sym)
(push sym special-forms))))
(sort special-forms #'string<))
[-- Attachment #2: Type: text/html, Size: 1195 bytes --]
next reply other threads:[~2018-07-26 22:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-26 22:44 Nicholas Drozd [this message]
2018-07-27 0:04 ` bug#32284: special form documentation Brett Gilio
2018-07-28 7:26 ` Eli Zaretskii
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CABAiW0pVBHYo2f7vqOwfwC=Ttp8uis3XFuz0e60mFJFiu5N1rw@mail.gmail.com' \
--to=nicholasdrozd@gmail.com \
--cc=32284@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).