all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: rms@gnu.org
Cc: ke.vigouroux@laposte.net, 52328@debbugs.gnu.org
Subject: bug#52328: 27.2; [DOC] Paragraph about quit-restore-window
Date: Tue, 07 Dec 2021 20:36:45 +0200	[thread overview]
Message-ID: <83mtlcxnwi.fsf@gnu.org> (raw)
In-Reply-To: <E1muRst-00055E-HJ@fencepost.gnu.org> (message from Richard Stallman on Mon, 06 Dec 2021 23:15:19 -0500)

> From: Richard Stallman <rms@gnu.org>
> Date: Mon, 06 Dec 2021 23:15:19 -0500
> Cc: 52328@debbugs.gnu.org
> 
>   > If the third element of the ‘quit-restore’ parameter is a list of
>   > buffer, window start (*note Window Start and End), and point
>   > (*note
>   > Window Point), 
> 
> It would be clearer to present the list using Lisp syntax:
> (@var{buffer} @var{window-start} @var{new-point})
> Then it can talk about these values with their names, which
> is clearer.

That is true.  But that's far from being the single or the main
problem of that description.

>                    and that buffer is still live, the buffer will be
>   > displayed, and start and point set accordingly.
> 
> It's bad to use passive voice; that is generally less clear because
> of the missing subject, as well as more cluttered.
> 
> "Set accordingly" is hard work to interpret because it is not concrete.

I invite you to read the entire description of this function.  It is
very complex and is IMO very hard to grasp.  I think it needs to be
completely rewritten, with the method of presenting the various
options rethought to be more clear.  One possibility is to describe
the options from the opposite POV: instead of saying "if the parameter
is this-and-that, the function will do some stuff", first describe a
job that the caller would want to do, with the rationale for that, and
then how to tell the function to do that job.

Other suggestions for clarifying that part will be most welcome.





  reply	other threads:[~2021-12-07 18:36 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-06 11:46 bug#52328: 27.2; [DOC] Paragraph about quit-restore-window Kevin Vigouroux via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-07  4:15 ` Richard Stallman
2021-12-07 18:36   ` Eli Zaretskii [this message]
2021-12-08  4:35     ` Richard Stallman
2021-12-08 11:02       ` martin rudalics
2021-12-09  4:16         ` Richard Stallman
2021-12-09  8:05           ` martin rudalics
2021-12-11  4:06             ` Richard Stallman
2021-12-11  4:48               ` bug#52328: [External] : " Drew Adams
2021-12-12  4:00                 ` Richard Stallman
2021-12-11  4:06         ` Richard Stallman
2021-12-11  8:44           ` martin rudalics
2021-12-12  4:00             ` Richard Stallman
2021-12-12  7:02               ` Eli Zaretskii
2021-12-12 13:09                 ` Eli Zaretskii
2021-12-07 18:31 ` Eli Zaretskii
2021-12-08 11:00 ` martin rudalics

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=83mtlcxnwi.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=52328@debbugs.gnu.org \
    --cc=ke.vigouroux@laposte.net \
    --cc=rms@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.