all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sam Steingold <sds@gnu.org>
To: martin rudalics <rudalics@gmx.at>
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 12:50:34 -0500	[thread overview]
Message-ID: <8762h0bn6d.fsf@gnu.org> (raw)
In-Reply-To: <4EFAE65F.1020305@gmx.at> (martin rudalics's message of "Wed, 28 Dec 2011 10:50:23 +0100")

> * martin rudalics <ehqnyvpf@tzk.ng> [2011-12-28 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?

Because in this case delete-other-windows-vertically deletes windows
horizontally.
I would have understood if the function did _nothing_, but deleting
windows horizontally is clearly wrong.

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

this makes for a very unintuitive notion of a column.

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

this is very unfortunate.


-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000
http://www.PetitionOnline.com/tap12009/ http://memri.org http://dhimmi.com
http://pmw.org.il http://jihadwatch.org http://palestinefacts.org
A professor is someone who talks in someone else's sleep.





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

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

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