[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Poor quality documentation in edebug.el, and recursive documentation
From: |
Stefan Monnier |
Subject: |
Re: Poor quality documentation in edebug.el, and recursive documentation. |
Date: |
Wed, 06 May 2020 14:26:23 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> And like you say above, even that much is only a little bit helpful when
> the main thing needing documenting is the return value of the function
> call - what precisely a def-name is.
The function has no idea what that is.
> After all, in the doc string for parse-partial-sexp, we don't just say
> it returns an 11-element list.
That's a bad analogy: the 11-element list is completely constructed by
`parse-partial-sexp` so it knows very precisely what's in there.
In contrast Edebug's slot-accessor only knows that it returns the
content of that slot. So it's more like `cl-third` or `nth` which can't
tell you much about their return value other than where it comes from.
This can be addressed by adding a `:documentation` to the slot in
`edebug.el`, tho. But, for that you'll first need to find someone who
knows/understands that code. Maybe you'll be the one best placed to add
that doc after you solve the problem that lead you to look at that
function ;-)
Stefan
- Re: Poor quality documentation in edebug.el, and recursive documentation., (continued)
- Re: Poor quality documentation in edebug.el, and recursive documentation., Stefan Monnier, 2020/05/06
- Re: Poor quality documentation in edebug.el, and recursive documentation., Eli Zaretskii, 2020/05/06
- Re: Poor quality documentation in edebug.el, and recursive documentation., Alan Mackenzie, 2020/05/08
- Re: Poor quality documentation in edebug.el, and recursive documentation., Eli Zaretskii, 2020/05/09
- Re: Poor quality documentation in edebug.el, and recursive documentation., Stefan Monnier, 2020/05/09
- Re: Poor quality documentation in edebug.el, and recursive documentation., Eli Zaretskii, 2020/05/09
- Re: Poor quality documentation in edebug.el, and recursive documentation., Alan Mackenzie, 2020/05/09
- Re: Poor quality documentation in edebug.el, and recursive documentation., tomas, 2020/05/09
- Re: Poor quality documentation in edebug.el, and recursive documentation., Andreas Schwab, 2020/05/09
- Re: Poor quality documentation in edebug.el, and recursive documentation., Eli Zaretskii, 2020/05/09
- Re: Poor quality documentation in edebug.el, and recursive documentation.,
Stefan Monnier <=
Re: Poor quality documentation in edebug.el, and recursive documentation., Stefan Monnier, 2020/05/05
- Re: Poor quality documentation in edebug.el, and recursive documentation., Alan Mackenzie, 2020/05/08
- Re: Poor quality documentation in edebug.el, and recursive documentation., Stefan Monnier, 2020/05/08
- Re: Poor quality documentation in edebug.el, and recursive documentation., Madhu, 2020/05/12
- Re: Poor quality documentation in edebug.el, and recursive documentation., Eli Zaretskii, 2020/05/12
- cl-generic misdesign (was: Poor quality documentation in edebug.el, and recursive documentation), Stefan Monnier, 2020/05/12
- Re: cl-generic misdesign (was: Poor quality documentation in edebug.el, and recursive documentation), Richard Stallman, 2020/05/14