GNU bug report logs - #10381
24.0.92; delete-other-windows-vertically depends on the window split order

Previous Next

Package: emacs;

Reported by: sds <at> gnu.org

Date: Tue, 27 Dec 2011 21:35:01 UTC

Severity: normal

Tags: notabug

Found in version 24.0.92

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: sds <at> gnu.org
Cc: 10381 <at> debbugs.gnu.org
Subject: bug#10381: 24.0.92;	delete-other-windows-vertically depends on the window split order
Date: Wed, 28 Dec 2011 10:50:23 +0100
> `delete-other-windows-vertically' behavior depends on the order in which
> the windows were created.

Yes.

> M-x delete-other-windows-vertically RET
>
> now there are 3 windows like this:
> -------
> |     |
> -------
> |  |  |
> -------
>
> which is _WRONG_.

Why?  Your doc-string says

  Delete the windows in the same column with WINDOW, but not WINDOW itself.

That sentence is vague but doesn't contradict what the function does.

If you want the function do something different, I'd suggest reading
section 28.2 Windows and Frames of the Elisp manual first and make
yourself acquainted with internal windows.  Then you will probably
understand that the behavior you apparently strive for cannot be
obtained when the first split of a frame's root window creates windows
one above the other.

martin




This bug report was last modified 12 years and 108 days ago.

Previous Next


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