unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: sds@gnu.org
Cc: 10381@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	[thread overview]
Message-ID: <4EFAE65F.1020305@gmx.at> (raw)
In-Reply-To: <87pqf9d7la.fsf@gnu.org>

 > `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





  reply	other threads:[~2011-12-28  9:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-27 21:32 bug#10381: 24.0.92; delete-other-windows-vertically depends on the window split order Sam Steingold
2011-12-28  9:50 ` martin rudalics [this message]
2011-12-28 17:50   ` Sam Steingold
2011-12-28 18:34     ` martin rudalics
2011-12-28 18:02   ` Sam Steingold
2011-12-28 18:35     ` 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EFAE65F.1020305@gmx.at \
    --to=rudalics@gmx.at \
    --cc=10381@debbugs.gnu.org \
    --cc=sds@gnu.org \
    /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 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).