all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Drew Adams <drew.adams@oracle.com>
Cc: 12158@debbugs.gnu.org
Subject: bug#12158: 24.1; unclear, incomplete doc of window parameter `quit-restore'
Date: Thu, 09 Aug 2012 20:01:34 +0200	[thread overview]
Message-ID: <5023FAFE.1030006@gmx.at> (raw)
In-Reply-To: <7F77380D0CBD41C0AC4452F9BACC9709@us.oracle.com>

 >> The value of the `quit-restore' parameter is set by the buffer display
 >> routines and inspected when quitting the window.  Applications are not
 >> supposed to inspect or alter the value of this parameter.
 >
 > If this is supposed to be internal, then do not doc it.  If not, please doc it
 > so readers can understand.

The value of the parameter is supposed to be internal.

 > I only came to this doc because you pointed me to it explicitly, when trying to
 > investigate a (user) bug.  So it's not super clear (to me) just how internal
 > this topic should be.

I pointed you to it because you apparently were not aware of the
existence of window parameters and looked for frame parameters instead.

 >> The window-pub branch contains a detailed description of an earlier
 >> version of this parameter.  You can find it here:
 >> http://bzr.savannah.gnu.org/lh/emacs/old-branches/window-pub/a
 > nnotate/head:/doc/lispref/windows.texi
 >
 > The existence of that description outside of Emacs does not help users much.

It can help anyone interested understand whether describing the
parameter in the manual would help users at all.

 >> In the course of subsequent changes to the buffer display code, this
 >> description was omitted from the current version of the manual.
 >
 > I guess you are saying that that omission was a mistake.

Your guess is wrong.

 > Please include the
 > missing info, then.

AFAICT that information is of no practical value for users.  OTOH
informing users that a parameter with that name exists _is_ of practical
value to avoid that they implement a parameter with the same name.  And
it is of practical value for users to know who creates that parameter
and who uses it.  Otherwise users might think that _they_ are supposed
to change or check that parameter.  If people think that the information
I gave is not needed, I have no problems removing it from the manual.

 >> These parameters are listed in this node in order to tell programmers
 >> that their names are in use and which parts of the Emacs code use it.
 >> If any information is missing, please provide a report.
 >
 > It is not up to me to determine all that might be missing - I have no idea.  The
 > explanation should be be complete and understandable; that's all.

IMHO the present explantion is complete and understandable.  Programmers
who do need more information will find it in the doc-string of
`display-buffer-record-window'.

martin





  reply	other threads:[~2012-08-09 18:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-08 16:11 bug#12158: 24.1; unclear, incomplete doc of window parameter `quit-restore' Drew Adams
2012-08-09  8:44 ` martin rudalics
2012-08-09 14:21   ` Drew Adams
2012-08-09 18:01     ` martin rudalics [this message]
2012-11-09  9:50 ` 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=5023FAFE.1030006@gmx.at \
    --to=rudalics@gmx.at \
    --cc=12158@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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.