From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Schierl Newsgroups: gmane.emacs.bugs Subject: (quote a b) discards argument Date: Sun, 19 Aug 2007 00:27:36 +0200 Message-ID: <46C77258.5020400@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1187476068 1845 80.91.229.12 (18 Aug 2007 22:27:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Aug 2007 22:27:48 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 19 00:27:46 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IMWll-0000Rh-BI for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Aug 2007 00:27:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IMWlm-0004v1-Dp for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Aug 2007 18:27:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IMWlk-0004uV-4G for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2007 18:27:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IMWli-0004tL-Bc for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2007 18:27:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IMWli-0004tG-76 for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2007 18:27:42 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IMWlf-000251-Np for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2007 18:27:40 -0400 Original-Received: (qmail invoked by alias); 18 Aug 2007 22:27:37 -0000 Original-Received: from p549BB10E.dip0.t-ipconnect.de (EHLO [192.168.0.201]) [84.155.177.14] by mail.gmx.net (mp002) with SMTP; 19 Aug 2007 00:27:37 +0200 X-Authenticated: #13243522 X-Provags-ID: V01U2FsdGVkX192F4MZzFx2f+dd2qjU59SwCeDLaQF0ogQ0tM9MSm QotHTx4FeSva1x User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.0 X-Enigmail-Version: 0.95.3 OpenPGP: id=58B48CDD X-Y-GMX-Trusted: 0 X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16389 Archived-At: 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'