emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch: make eldoc indicate current argument


From: Kevin Rodgers
Subject: Re: Patch: make eldoc indicate current argument
Date: Thu, 12 Jul 2007 23:25:12 -0600
User-agent: Thunderbird 1.5.0.12 (Macintosh/20070509)

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 ...)

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

[Prev in Thread] Current Thread [Next in Thread]