From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32790: 27.0.50; point jumps unexpectedly after delete-window Date: Fri, 21 Sep 2018 09:55:37 +0300 Message-ID: <83zhwbcpau.fsf@gnu.org> References: <87efdnsp2k.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1537512912 19808 195.159.176.226 (21 Sep 2018 06:55:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 21 Sep 2018 06:55:12 +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 Fri Sep 21 08:55:08 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 1g3FLH-000539-V5 for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Sep 2018 08:55:08 +0200 Original-Received: from localhost ([::1]:54110 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g3FNO-0006zY-FL for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Sep 2018 02:57:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g3FNB-0006xx-GM for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2018 02:57:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g3FN8-0007xA-Bn for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2018 02:57:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43346) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g3FN8-0007x2-71 for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2018 02:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g3FN8-0003N5-2j for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2018 02:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Sep 2018 06:57: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.153751296312887 (code B ref 32790); Fri, 21 Sep 2018 06:57:02 +0000 Original-Received: (at 32790) by debbugs.gnu.org; 21 Sep 2018 06:56:03 +0000 Original-Received: from localhost ([127.0.0.1]:47604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3FMB-0003Ln-B4 for submit@debbugs.gnu.org; Fri, 21 Sep 2018 02:56:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3FMA-0003LK-15 for 32790@debbugs.gnu.org; Fri, 21 Sep 2018 02:56:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g3FM1-0007Kx-Fv for 32790@debbugs.gnu.org; Fri, 21 Sep 2018 02:55:56 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46640) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g3FM0-0007JQ-FH; Fri, 21 Sep 2018 02:55:52 -0400 Original-Received: from [176.228.60.248] (port=4005 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g3FM0-0005Ar-0J; Fri, 21 Sep 2018 02:55:52 -0400 In-reply-to: <87efdnsp2k.fsf@mail.linkov.net> (message from Juri Linkov on Fri, 21 Sep 2018 02:33:55 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:150516 Archived-At: > From: Juri Linkov > Date: Fri, 21 Sep 2018 02:33:55 +0300 > > 0. emacs -Q > > 1. C-h e > > 2. C-x o > > 3. C-x 2 > > 4. C-x 0 > > It's expected that point will remain where it was visually on the screen, > just will relocate to the window that takes place of the deleted window, > but point jumps to an unexpected place in the opposite part of the frame. > > This is not a regression, but nevertheless very annoying behavior. You mean you expected that if the same buffer is displayed in another window, Emacs should prefer that other window when it decides what window to make the selected one? I don't think this is guaranteed, and in any case I could think of a scenario where the current behavior is the convenient one.