all messages for Emacs-related lists mirrored at yhetil.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 19:34:43 +0100	[thread overview]
Message-ID: <4EFB6143.9000700@gmx.at> (raw)
In-Reply-To: <8762h0bn6d.fsf@gnu.org>

 > Because in this case delete-other-windows-vertically deletes windows
 > horizontally.

Really?

 > I would have understood if the function did _nothing_, but deleting
 > windows horizontally is clearly wrong.

If you want the function to do nothing in that case, you would have to
tell it do nothing.  `window-combined-p' can help here.

 >>   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.
 >
 > this makes for a very unintuitive notion of a column.

You probably should use the term "edge" instead of "column".  Then you
would see that the function indeed deletes every window whose
corresponding edge has the same coordinate value as that of WINDOW.

 >>  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.
 >
 > this is very unfortunate.

... but deeply rooted in the way Emacs splits windows ever since.

martin





  reply	other threads:[~2011-12-28 18:34 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
2011-12-28 17:50   ` Sam Steingold
2011-12-28 18:34     ` martin rudalics [this message]
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

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

  git send-email \
    --in-reply-to=4EFB6143.9000700@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.