GNU bug report logs - #9875
24.0.90; Confusing description of the "window tree" in ELisp manual

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Wed, 26 Oct 2011 11:46:01 UTC

Severity: minor

Found in version 24.0.90

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 9875 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#9875: 24.0.90;	Confusing description of the "window tree" in ELisp manual
Date: Thu, 27 Oct 2011 11:56:16 +0200
> That's true, but this fact is an implementation detail; we could
> easily have the nodes be different Lisp objects.

Certainly not.  If you look into the window resizing code you will see
that it treats internal and leaf windows alike.  Changing the underlying
representation would have meant to double the work done there.

> So I think speaking about "nodes" instead will avoid confusion,
> because otherwise whenever we talk about a "window", the reader will
> always be in doubt whether this applies only to the "real", i.e. leaf
> windows, or to the "internal" ones as well.

This is usually said in the second sentence of the doc-string.  For
`split-window' it reads

  "WINDOW can be any window and defaults to the selected one."

And for `set-window-buffer' we have

  "WINDOW has to be a live window and defaults to the selected one."

Let's not spoil this very simple recipe.

martin




This bug report was last modified 13 years and 232 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.