unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12158: 24.1; unclear, incomplete doc of window parameter `quit-restore'
@ 2012-08-08 16:11 Drew Adams
  2012-08-09  8:44 ` martin rudalics
  2012-11-09  9:50 ` martin rudalics
  0 siblings, 2 replies; 5+ messages in thread
From: Drew Adams @ 2012-08-08 16:11 UTC (permalink / raw)
  To: 12158

In (elisp) `Window Parameters', the description of `quit-restore' is not
very helpful.  It says what the parameter is used for, and how it is
established, and even which function uses it.  But it says _nothing_
about what the parameter value is or how to understand its various
components.
 
From the description of `window-parameters' and experimenting using that
function we can discover that `quit-restore' has a value that is a list.
But that is all.  What the parts of that list are and what they mean or
are used for is a complete mystery.  Here is an example `quit-restore'
value:
 
(frame frame #<window 3 on *Messages*> #<buffer *Process List*>)
 
And?  What is the expected form of the parameter value?  Does it always
have 4 elements?  What are they - what do they mean?  How are they used?
 
OK, so there are two cross references here, that should presumably
enlighten us.  Following the first and searching for `quit-restore', we
find NOTHING - it is not even mentioned in that node.
 
Following the second and searching for `quit-restore', we find only
this:
 
 "The function `quit-window' bases its decisions on information stored
  in WINDOW's `quit-restore' window parameter (*note Window Parameters::),
  and resets that parameter to `nil' after it's done."
 
That does not help us at all to understand the `quit-restore' value.
Searching the rest of the manual shows that there is nothing anywhere
that helps us interpret `quit-restore' values.
 
NOTE: It is possible that this comment applies also to other window
parameters listed in this node.  Please describe each parameter: its
format (possible values), including the use/meaning of any components of
possible values.

In GNU Emacs 24.1.1 (i386-mingw-nt5.1.2600)
 of 2012-06-10 on MARVIN
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.6) --cflags
 -ID:/devel/emacs/libs/libXpm-3.5.8/include
 -ID:/devel/emacs/libs/libXpm-3.5.8/src
 -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include
 -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
 -ID:/devel/emacs/libs/giflib-4.1.4-1/include
 -ID:/devel/emacs/libs/jpeg-6b-4/include
 -ID:/devel/emacs/libs/tiff-3.8.2-1/include
 -ID:/devel/emacs/libs/gnutls-3.0.9/include'
 






^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-11-09  9:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2012-11-09  9:50 ` martin rudalics

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).