From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs 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 Message-ID: <4EFAE65F.1020305@gmx.at> References: <87pqf9d7la.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1325065889 10985 80.91.229.12 (28 Dec 2011 09:51:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Dec 2011 09:51:29 +0000 (UTC) Cc: 10381@debbugs.gnu.org To: sds@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 28 10:51:25 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RfqAN-0001Wl-5M for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Dec 2011 10:51:23 +0100 Original-Received: from localhost ([::1]:57257 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfqAM-0005b1-GZ for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Dec 2011 04:51:22 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:58208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfqAK-0005aw-Mv for bug-gnu-emacs@gnu.org; Wed, 28 Dec 2011 04:51:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RfqAJ-0000Gq-Hy for bug-gnu-emacs@gnu.org; Wed, 28 Dec 2011 04:51:20 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfqAJ-0000Gk-Ez for bug-gnu-emacs@gnu.org; Wed, 28 Dec 2011 04:51:19 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RfqCw-0006hI-Fb for bug-gnu-emacs@gnu.org; Wed, 28 Dec 2011 04:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Dec 2011 09:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10381 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10381-submit@debbugs.gnu.org id=B10381.132506599225678 (code B ref 10381); Wed, 28 Dec 2011 09:54:02 +0000 Original-Received: (at 10381) by debbugs.gnu.org; 28 Dec 2011 09:53:12 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RfqC8-0006g7-24 for submit@debbugs.gnu.org; Wed, 28 Dec 2011 04:53:12 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1RfqC5-0006fy-6L for 10381@debbugs.gnu.org; Wed, 28 Dec 2011 04:53:10 -0500 Original-Received: (qmail invoked by alias); 28 Dec 2011 09:50:24 -0000 Original-Received: from 62-47-52-13.adsl.highway.telekom.at (EHLO [62.47.52.13]) [62.47.52.13] by mail.gmx.net (mp062) with SMTP; 28 Dec 2011 10:50:24 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX193aFAUv4l3PHe0oNDBYXDidtFahAosfTpU+403b4 I4boN5MggHHwI5 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <87pqf9d7la.fsf@gnu.org> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 28 Dec 2011 04:54:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:55245 Archived-At: > `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