From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#32790: 27.0.50; point jumps unexpectedly after delete-window Date: Sun, 23 Sep 2018 01:34:43 +0300 Organization: LINKOV.NET Message-ID: <87mus9upoc.fsf@mail.linkov.net> References: <87efdnsp2k.fsf@mail.linkov.net> <83zhwbcpau.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1537664584 23030 195.159.176.226 (23 Sep 2018 01:03:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 23 Sep 2018 01:03:04 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 32790@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 23 03:02:59 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 1g3snb-0005pX-2O for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Sep 2018 03:02:59 +0200 Original-Received: from localhost ([::1]:38086 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g3sph-0002aR-P0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Sep 2018 21:05:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g3sYp-0001sy-1a for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2018 20:47:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g3rhN-0006T9-2p for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2018 19:52:29 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45798) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g3rhM-0006SP-Re for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2018 19:52:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g3qcA-0000eS-UD for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2018 18:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Sep 2018 22:43: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.15376561692468 (code B ref 32790); Sat, 22 Sep 2018 22:43:02 +0000 Original-Received: (at 32790) by debbugs.gnu.org; 22 Sep 2018 22:42:49 +0000 Original-Received: from localhost ([127.0.0.1]:50019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3qbw-0000dk-Ro for submit@debbugs.gnu.org; Sat, 22 Sep 2018 18:42:49 -0400 Original-Received: from pop.dreamhost.com ([64.90.62.162]:34648 helo=pdx1-sub0-mail-a31.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g3qbv-0000dd-Ey for 32790@debbugs.gnu.org; Sat, 22 Sep 2018 18:42:47 -0400 Original-Received: from pdx1-sub0-mail-a31.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a31.g.dreamhost.com (Postfix) with ESMTP id 9518D7F382; Sat, 22 Sep 2018 15:42:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=7QGdIilQQKIMyQbbDat1JGfO0xU=; b= VEeyG328OIZkAlHtrAg4S3FRDumqZDF0F1yqQ/Y9DWrz8S+TMxATu8Bxmwq9Tsj5 YFQDuVoB9GyQ6IxWk3LhmL/p2H2j14AAuHEKTpoGybOuYD6IWDSDDrZ+RuLqImv3 PZzwO2Cyj1ANO6JA3cEsSCngImjCr+UMRll6iDz5/hA= Original-Received: from localhost.linkov.net (m91-129-111-128.cust.tele2.ee [91.129.111.128]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a31.g.dreamhost.com (Postfix) with ESMTPSA id 8BD2A7F381; Sat, 22 Sep 2018 15:42:44 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a31 X-DH-BACKEND: pdx1-sub0-mail-a31 In-Reply-To: <83zhwbcpau.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 21 Sep 2018 09:55:37 +0300") 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:150560 Archived-At: >> 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? Actually it's a rare case when the same buffer is displayed in two windows. But I meant a more general case where all windows display different buffers. This is a more appropriate recipe that avoids the same buffers: 0. emacs -Q 1. C-h e 2. C-x o 3. C-x 2 4. C-h i 5. C-x 0