From: Dmitry Gutov <dgutov@yandex.ru>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master 2475687: Improve documentation changes of a recent commit
Date: Mon, 15 Apr 2019 18:42:50 +0300 [thread overview]
Message-ID: <c522a6e3-45fe-60bf-94a6-8d995d11822f@yandex.ru> (raw)
In-Reply-To: <83ftqjiaf6.fsf@gnu.org>
On 15.04.2019 17:57, Eli Zaretskii wrote:
> I did. We have enough similar doc strings already; one more or less
> won't change anything.
I admit to being a bit nervous for the remaining "dry" docstrings.
>> Which of the two functions? Both of them seem to have pretty apt names.
>
> Not IMO. "Parse" is ambiguous, and doesn't hint on the fact that
> these functions produce a Lisp representation of a JSON object.
Erm. Well, I thought it's a given. It is something we can explain with
just one sentence, though (see an example in my previous message).
> Please don't take my changes as some kind of indirect accusation
> against you. It was just a routine maintenance job, something I do
> almost every day when I see documentation that can be improved.
It's not personal, but it's something I'd have to deal with next time
I'm making a change there (if that happens). I also liked the previous
version better, or at least some aspects of it.
Speaking of routine maintenance, since you're asking for documentation
changes together with the patches now, it might be worth it to
standardize the approach more.
> It's at least one more keystroke. More importantly, the doc strings
> are slightly different, because some of the things one function does
> make no sense for the other. So the reader will also have to decide
> which parts are not relevant.
It's not like I disagree with the whole commit altogether. That part
could be improved. But "refer to that other docstring for the
description of the optional keyword arguments" is something that made
sense to me. Enumerating all the possible return types in just one place
is another thing.
next prev parent reply other threads:[~2019-04-15 15:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20190413070933.31645.83730@vcs0.savannah.gnu.org>
[not found] ` <20190413070934.DDF7B202C6@vcs0.savannah.gnu.org>
2019-04-14 10:34 ` [Emacs-diffs] master 2475687: Improve documentation changes of a recent commit Dmitry Gutov
2019-04-14 14:40 ` Eli Zaretskii
2019-04-14 20:34 ` Dmitry Gutov
2019-04-15 14:57 ` Eli Zaretskii
2019-04-15 15:42 ` Dmitry Gutov [this message]
2019-04-15 16:06 ` Eli Zaretskii
2019-04-15 17:15 ` Dmitry Gutov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c522a6e3-45fe-60bf-94a6-8d995d11822f@yandex.ru \
--to=dgutov@yandex.ru \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.