[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Separating obarray handling from abbrevs
From: |
Stephen Leake |
Subject: |
Re: Separating obarray handling from abbrevs |
Date: |
Mon, 09 Nov 2015 03:38:39 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) |
Przemysław Wojnowski <address@hidden> writes:
> Artur Malabarba <address@hidden> writes:
>
>>> +(defun obarray-make (&optional size)
>>> + "Return a new obarray of size `SIZE' or `obarray-default-size'."
>>
>> Use SIZE, not `SIZE'. Similarly everywhere else.
The markup for arguments (like "size") is all caps. The markup for other
variables/defuns (like "obarray-default-size") is quotes.
>>> +(defun obarray-get (obarray name)
>>> + "Return from obarray `OBARRAY' symbol with `NAME' or nil."
>>
>> I'd use:
>> "Return symbol named NAME if it is contained in OBARRAY.
>> Return nil otherwise."
>>
>> And I would repeat this throughout the docstrings.
> Will do that.
Then you have to ignore complaints from the comment style checker, which
insists on listing the arguments in order in the doc string. There was a
proposal recently to delete that check.
--
-- Stephe
- Re: Separating obarray handling from abbrevs, Artur Malabarba, 2015/11/01
- Re: Separating obarray handling from abbrevs, Przemysław Wojnowski, 2015/11/08
- Re: Separating obarray handling from abbrevs, Artur Malabarba, 2015/11/08
- Re: Separating obarray handling from abbrevs, Przemysław Wojnowski, 2015/11/09
- Re: Separating obarray handling from abbrevs, Nicolas Petton, 2015/11/09
- Re: Separating obarray handling from abbrevs, John Wiegley, 2015/11/09
- Re: Separating obarray handling from abbrevs, Przemysław Wojnowski, 2015/11/10
- Re: Separating obarray handling from abbrevs, John Wiegley, 2015/11/10
- Re: Separating obarray handling from abbrevs, Eli Zaretskii, 2015/11/10
- Re: Separating obarray handling from abbrevs, Przemysław Wojnowski, 2015/11/10
- Re: Separating obarray handling from abbrevs, Ken Raeburn, 2015/11/10