emacs-devel
[Top][All Lists]
Advanced

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

Re: Some ideas with Emacs


From: Michael Albinus
Subject: Re: Some ideas with Emacs
Date: Fri, 29 Nov 2019 21:09:18 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> > AFACT, currently we have some examples in the Elisp manual and very
>> > few examples in docstrings.
>> > It might be a good idea to encourage the addition of examples either in
>> > docstrings or in the Elisp manual (or both).
>>
>> Personally, I don't like docstring to be too verbose. Usually, when a
>> function is documented with both docstrings and a manual, I prefer to
>> put the examples in the manual.
>
> I agree: the examples should be mostly in the manual.  Doc strings
> should only have examples if it is otherwise very hard to explain
> something.

Shall we say something like this in "(elisp) Documentation Tips"?

Best regards, Michael.



reply via email to

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