From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#32790: 27.0.50; point jumps unexpectedly after delete-window Date: Mon, 24 Sep 2018 10:33:07 +0200 Message-ID: <5BA8A143.9040604@gmx.at> References: <87efdnsp2k.fsf@mail.linkov.net> <5BA490EA.4000502@gmx.at> <87bm8pxjcb.fsf@mail.linkov.net> <5BA74E75.8000405@gmx.at> <87zhw8nd8g.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1537777928 24611 195.159.176.226 (24 Sep 2018 08:32:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Sep 2018 08:32:08 +0000 (UTC) Cc: 32790@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 24 10:32:04 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4MHj-0006Ee-NT for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Sep 2018 10:32:03 +0200 Original-Received: from localhost ([::1]:44057 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4MJq-00052t-4M for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Sep 2018 04:34:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4MJi-00052n-2P for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2018 04:34:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g4MJe-0002Z1-Ok for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2018 04:34:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47043) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g4MJe-0002Yu-KH for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2018 04:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g4MJe-0001sW-BC for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2018 04:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Sep 2018 08:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32790 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32790-submit@debbugs.gnu.org id=B32790.15377780057172 (code B ref 32790); Mon, 24 Sep 2018 08:34:02 +0000 Original-Received: (at 32790) by debbugs.gnu.org; 24 Sep 2018 08:33:25 +0000 Original-Received: from localhost ([127.0.0.1]:51301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4MJ3-0001rc-4I for submit@debbugs.gnu.org; Mon, 24 Sep 2018 04:33:25 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:46311) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4MIz-0001rM-11 for 32790@debbugs.gnu.org; Mon, 24 Sep 2018 04:33:23 -0400 Original-Received: from [192.168.1.101] ([212.95.5.130]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LyR1G-1fjvmo2A7i-015uF0; Mon, 24 Sep 2018 10:33:12 +0200 In-Reply-To: <87zhw8nd8g.fsf@mail.linkov.net> X-Provags-ID: V03:K1:bIqRE9OvZNONercqVhfa08OllZIOq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X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:150588 Archived-At: >> A parent window is internal and cannot be selected. You probably mean >> one of the former siblings of the deleted window. If we did that, we >> should make it customizable somehow. > > Yes, I meant siblings. Is it possible to make it customizable? I probably still have no good understanding what precisely your problem is with selecting the most recently selected window. Can you please elaborate once more? > Searching for this, I see others find the current behavior annoying too, e.g. > https://github.com/wasamasa/dotemacs/blob/master/TODO.org#fix-emacs-selection-after-window-quitclose C-x 3 C-x o C-x o C-x 2 C-x 0 What's the purpose of the 'other-buffer' calls if they don't express the user's wish to "work" in these windows? > Does this mean that a simple rule would be just to use the left sibling, > otherwise the right sibling? With "use" you mean choose for giving back the space of the deleted window? Then we should remember from which window Emacs obtained the space when creating a new window and return that space when deleting the new window, provided that old window still exists. martin