From: Le Wang <l26wang@gmail.com>
To: 9482@debbugs.gnu.org
Subject: bug#9482: Documentation bug: Emacs Lisp Manual should say quoting does not cons explicitly in quoting section. related to bug#9469
Date: Mon, 12 Sep 2011 23:01:23 +0800 [thread overview]
Message-ID: <CAM=K+iqk3bdnru=LrsnyWqCWYF3WTh6keuh-1wRJOs39_R3uZg@mail.gmail.com> (raw)
Relevant page here:
http://www.gnu.org/s/emacs/manual/html_node/elisp/Quoting.html
I was confused and always assumed that
'(a . b)
is simply short hand for
(cons 'a 'b)
Reading stackexchange, it seems at least some other people are under
this impression as well. This works a majority of the time, but when
it fails it's really surprising.
In fact, the manual already has an example of this pit-fall in the
nconc section: http://www.gnu.org/software/emacs/elisp/html_node/Rearrangement.html
I think the quoting section should give an explicit warning with a
reference to the nconc example.
--
Le
next reply other threads:[~2011-09-12 15:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-12 15:01 Le Wang [this message]
2011-09-13 13:25 ` bug#9482: specific manual text suggestion Le Wang
2011-09-16 14:14 ` Stefan Monnier
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='CAM=K+iqk3bdnru=LrsnyWqCWYF3WTh6keuh-1wRJOs39_R3uZg@mail.gmail.com' \
--to=l26wang@gmail.com \
--cc=9482@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.