unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#35063: 26.1; Doc of window parameter `other-window'...
@ 2019-03-31 22:37 Drew Adams
  2019-04-06  8:09 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2019-03-31 22:37 UTC (permalink / raw)
  To: 35063

(elisp) `Window Parameters' should be the place where the window
parameters are each described.

A reader should not just fall upon a cop-out description such as this:

`other-window'
     This parameter affects the execution of `other-window' (see Cylic
     Window Ordering)

But the real bug is that when you go to node Cyclic Window Ordering you
find nothing at all describing parameter `other-window', whose doc sent
you there for a real description.

Arguably parameter `no-other-window' is described there:

     This function does not select a window that has a non-'nil'
     'no-other-window' window parameter (*note Window Parameters::).

But there's nothing about parameter `other-window'.

Also, the first sentence of node `Window Parameters' says:

     This section describes how window parameters can be used to
     associate additional information with windows.

But it doesn't seem to be mostly about that.  Only the description of
function `set-window-parameter' tells you "how window parameters can be
used to associate additional information with windows".

What's more, the node doesn't really tell you _why_ you would
associate...  What's that for?  When would you do that?  Not clear from
this node, AFAICT.  OK, a few of the parameter descriptions,
e.g. `window-preserved-size' give an idea of what they might be used
for.  But most do not, do they?



In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32)
 of 2018-05-30
Repository revision: 07f8f9bc5a51f5aa94eb099f3e15fbe0c20ea1ea
Windowing system distributor `Microsoft Corp.', version 10.0.17134
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''





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

* bug#35063: 26.1; Doc of window parameter `other-window'...
  2019-03-31 22:37 bug#35063: 26.1; Doc of window parameter `other-window' Drew Adams
@ 2019-04-06  8:09 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2019-04-06  8:09 UTC (permalink / raw)
  To: Drew Adams; +Cc: 35063-done

> Date: Sun, 31 Mar 2019 15:37:18 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
> 
> (elisp) `Window Parameters' should be the place where the window
> parameters are each described.
> 
> A reader should not just fall upon a cop-out description such as this:
> 
> `other-window'
>      This parameter affects the execution of `other-window' (see Cylic
>      Window Ordering)

There's nothing wrong, per se, with having the detailed description of
the parameter in a more appropriate place.  It isn't a "cop-out".

> But the real bug is that when you go to node Cyclic Window Ordering you
> find nothing at all describing parameter `other-window', whose doc sent
> you there for a real description.

I added the description of other-window parameter there.

> Also, the first sentence of node `Window Parameters' says:
> 
>      This section describes how window parameters can be used to
>      associate additional information with windows.
> 
> But it doesn't seem to be mostly about that.  Only the description of
> function `set-window-parameter' tells you "how window parameters can be
> used to associate additional information with windows".

I modified that sentence to not imply the actual description of the
parameters must be in this section.

> What's more, the node doesn't really tell you _why_ you would
> associate...  What's that for?  When would you do that?  Not clear from
> this node, AFAICT.  OK, a few of the parameter descriptions,
> e.g. `window-preserved-size' give an idea of what they might be used
> for.  But most do not, do they?

If you read the detailed descriptions of the parameters in the context
of the functions they affect, I think this question answers itself.

Thanks.





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

end of thread, other threads:[~2019-04-06  8:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-31 22:37 bug#35063: 26.1; Doc of window parameter `other-window' Drew Adams
2019-04-06  8:09 ` Eli Zaretskii

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).