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: Tue, 25 Sep 2018 09:28:16 +0200 Message-ID: <5BA9E390.8030506@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> <5BA8A143.9040604@gmx.at> <87sh1ybyo6.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 1537860466 12452 195.159.176.226 (25 Sep 2018 07:27:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 25 Sep 2018 07:27:46 +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 Tue Sep 25 09:27:41 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 1g4hkz-000394-Q0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Sep 2018 09:27:41 +0200 Original-Received: from localhost ([::1]:51429 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4hn6-0005oh-Cr for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Sep 2018 03:29:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4hmM-0005JM-9Y for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2018 03:29:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g4hmJ-0004s5-3q for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2018 03:29:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48552) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g4hmI-0004qu-VP for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2018 03:29:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g4hmI-0005EQ-RY for bug-gnu-emacs@gnu.org; Tue, 25 Sep 2018 03:29: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: Tue, 25 Sep 2018 07:29: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.153786051220041 (code B ref 32790); Tue, 25 Sep 2018 07:29:02 +0000 Original-Received: (at 32790) by debbugs.gnu.org; 25 Sep 2018 07:28:32 +0000 Original-Received: from localhost ([127.0.0.1]:52805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4hlo-0005DB-ET for submit@debbugs.gnu.org; Tue, 25 Sep 2018 03:28:32 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:48715) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4hlm-0005Cy-MJ for 32790@debbugs.gnu.org; Tue, 25 Sep 2018 03:28:31 -0400 Original-Received: from [192.168.1.101] ([46.125.249.3]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M70HF-1fs91X2yzl-00wnQH; Tue, 25 Sep 2018 09:28:22 +0200 In-Reply-To: <87sh1ybyo6.fsf@mail.lin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j3ZL5MS0tIJcaHN/diQEmX X-BeenThere: debbugs-submit@debbugs.gnu.org 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:150640 Archived-At: > The problem is that the cursor jumps to the distant part of the frame > too far from the current focus. It takes additional efforts to bring > it back where the input focus was. It's more about visual perception. But then we have to care about the position of each window's point as well. Consider the case of a vertical combination of three windows with all windows' points at their top. Deleting the middle window should then probably select the lower window. With all points at their windows' bottoms we probably should select the upper window. >> 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? > > Just to play around in these windows, not to work or use them :-) Obviously, these C-x o are needed to make the example work. Without them the window split off by C-x 2 would be selected. > It seems the logic of deciding to which sibling to give the space back > is fine now. The need is to select the same window that got the space > after C-x 0. We can add an option for that. How should we call it? martin