emacs-devel
[Top][All Lists]
Advanced

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

Re: Add hints to documentation of car and cdr for (e)lisp newcomers - ta


From: Lars Ingebrigtsen
Subject: Re: Add hints to documentation of car and cdr for (e)lisp newcomers - take 2
Date: Thu, 15 Jul 2021 17:44:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> IMO, examples are for the manual, not for the doc strings.  If some
>> parts of our manuals could benefit from more examples, patches for
>> that would be welcome.

I think having some examples is fine in doc strings -- it can be
difficult to explain some concepts in words, but a simple example can be
a really efficient way to say what a function does.

But we should indeed not go overboard with examples in doc strings --
that's better left for the manual.

> I think displaying the examples we have in shortdoc.el in the
> *Help* buffer would make a lot of sense.

Yeah, I agree.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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