[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch: make eldoc indicate current argument
From: |
David Kastrup |
Subject: |
Re: Patch: make eldoc indicate current argument |
Date: |
Fri, 13 Jul 2007 09:15:41 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux) |
Kevin Rodgers <address@hidden> 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
- Re: Patch: make eldoc indicate current argument, Kevin Rodgers, 2007/07/13
- Re: Patch: make eldoc indicate current argument,
David Kastrup <=
- Re: Patch: make eldoc indicate current argument, Richard Stallman, 2007/07/13
- Re: Patch: make eldoc indicate current argument, Juanma Barranquero, 2007/07/14
- Re: Patch: make eldoc indicate current argument, David Kastrup, 2007/07/14
- Re: Patch: make eldoc indicate current argument, Richard Stallman, 2007/07/14
- Re: Patch: make eldoc indicate current argument, Juanma Barranquero, 2007/07/15
- Re: Patch: make eldoc indicate current argument, Richard Stallman, 2007/07/15
- Re: Patch: make eldoc indicate current argument, Johan Bockgård, 2007/07/15
- Re: Patch: make eldoc indicate current argument, Richard Stallman, 2007/07/15
- Re: Patch: make eldoc indicate current argument, Paul Pogonyshev, 2007/07/15
- Re: Patch: make eldoc indicate current argument, Richard Stallman, 2007/07/16