From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Patch: make eldoc indicate current argument Date: Fri, 13 Jul 2007 09:15:41 +0200 Message-ID: <86wsx4pyea.fsf@lola.quinscape.zz> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1184310962 7750 80.91.229.12 (13 Jul 2007 07:16:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Jul 2007 07:16:02 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kevin Rodgers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 13 09:16:01 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I9FNg-0008JU-Dk for ged-emacs-devel@m.gmane.org; Fri, 13 Jul 2007 09:16:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I9FNf-0005ED-Pl for ged-emacs-devel@m.gmane.org; Fri, 13 Jul 2007 03:15:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I9FNR-000553-Fk for emacs-devel@gnu.org; Fri, 13 Jul 2007 03:15:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I9FNP-00052g-Mg for emacs-devel@gnu.org; Fri, 13 Jul 2007 03:15:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I9FNP-00052L-BM for emacs-devel@gnu.org; Fri, 13 Jul 2007 03:15:43 -0400 Original-Received: from pc3.berlin.powerweb.de ([62.67.228.11]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I9FNO-0005OK-Sr for emacs-devel@gnu.org; Fri, 13 Jul 2007 03:15:43 -0400 Original-Received: from quinscape.de (dslnet.212-29-44.ip210.dokom.de [212.29.44.210] (may be forged)) by pc3.berlin.powerweb.de (8.9.3p3/8.9.3) with ESMTP id JAA13628 for ; Fri, 13 Jul 2007 09:15:41 +0200 X-Delivered-To: Original-Received: (qmail 3503 invoked from network); 13 Jul 2007 07:15:41 -0000 Original-Received: from unknown (HELO lola.quinscape.zz) ([10.0.3.43]) (envelope-sender ) by ns.quinscape.de (qmail-ldap-1.03) with SMTP for ; 13 Jul 2007 07:15:41 -0000 Original-Received: by lola.quinscape.zz (Postfix, from userid 1001) id 661358FA2B; Fri, 13 Jul 2007 09:15:41 +0200 (CEST) In-Reply-To: (Kevin Rodgers's message of "Thu\, 12 Jul 2007 23\:25\:12 -0600") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:74715 Archived-At: Kevin Rodgers writes: > Richard Stallman wrote: >> &optional and &rest appear in calling patterns of functions. >> We use ellipses and square brackets in calling patterns of macros >> and special forms. >> >> Some use "..." appended >> to an argument name, e.g. "CLAUSES...". And, some use "..." as a >> standalone argument name (see 'when'). >> >> Do you mean this? >> >> (when COND BODY ...) >> >> If so, I think that is a misunderstanding. The ellipsis here is not >> an argument name, it is just an ellipsis. The space after `BODY' has >> no significance. >> >> Perhaps we should delete that space, for consistency. > > The problem is not the space, it is the ellipsis, which is usually > interpreted in this context to mean "et cetera". But there is only 1 > BODY, which is the list of individual body forms. > > I would prefer > > (when COND &rest BODY) > > or > > (when COND FORM ...) BODY... is a single symbol which brings across the idea of a multi-form entity quite intuitively. A agree with Richard that there should not be a space, however. -- David Kastrup