* (quote a b) discards argument
@ 2007-08-18 22:27 Michael Schierl
2007-08-19 15:52 ` Richard Stallman
0 siblings, 1 reply; 2+ messages in thread
From: Michael Schierl @ 2007-08-18 22:27 UTC (permalink / raw)
To: bug-gnu-emacs
Hello,
I don't know if this is a bug or a documentation bug. If I evaluate
(quote a b) this results in 'a and does not throw an error. Usually you
do not use the quote function anyway (since writing ' is more
convenient) but when editing code that was written out by `print', it
happened to me that I accidentally removed one paren too much...
C-h f quote tells:
----8<----
quote is a special form in `C source code'.
(quote arg)
Return the argument, without evaluating it. `(quote x)' yields `x'.
---->8----
So I expected it to have thrown an error if two or more arguments are
specified, otherwise the documentation should be something like
----8<----
quote is a special form in `C source code'.
(quote arg &rest ignore)
Return the argument, without evaluating it. `(quote x)' yields `x'.
Additional arguments are ignored, if present.
---->8----
Michael
In GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600)
of 2007-06-02 on RELEASE
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include'
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: (quote a b) discards argument
2007-08-18 22:27 (quote a b) discards argument Michael Schierl
@ 2007-08-19 15:52 ` Richard Stallman
0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2007-08-19 15:52 UTC (permalink / raw)
To: Michael Schierl; +Cc: bug-gnu-emacs
I made this give an error.
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-19 15:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-18 22:27 (quote a b) discards argument Michael Schierl
2007-08-19 15:52 ` Richard Stallman
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.