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#33424: pop-to-buffer-same-window in emacs 26-1 Date: Tue, 20 Nov 2018 17:47:59 +0200 Message-ID: <831s7fkaxc.fsf@gnu.org> References: <83wop9rrcp.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1542728837 31076 195.159.176.226 (20 Nov 2018 15:47:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2018 15:47:17 +0000 (UTC) Cc: 33424-done@debbugs.gnu.org To: Steve Schooler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 20 16:47:12 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 1gP8F6-0007zr-6S for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Nov 2018 16:47:12 +0100 Original-Received: from localhost ([::1]:34408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP8HC-000573-Kv for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Nov 2018 10:49:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP8Gz-00052I-3C for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 10:49:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gP8Gu-0005xd-1s for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 10:49:09 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59229) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gP8Gs-0005vx-0U for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 10:49:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gP8Gr-0002hE-UZ for bug-gnu-emacs@gnu.org; Tue, 20 Nov 2018 10:49:01 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Nov 2018 15:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 33424 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Mail-Followup-To: 33424@debbugs.gnu.org, eliz@gnu.org, sgschooler@gmail.com Original-Received: via spool by 33424-done@debbugs.gnu.org id=D33424.154272888710289 (code D ref 33424); Tue, 20 Nov 2018 15:49:01 +0000 Original-Received: (at 33424-done) by debbugs.gnu.org; 20 Nov 2018 15:48:07 +0000 Original-Received: from localhost ([127.0.0.1]:35253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gP8Fz-0002fs-Kd for submit@debbugs.gnu.org; Tue, 20 Nov 2018 10:48:07 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gP8Fz-0002fX-0g for 33424-done@debbugs.gnu.org; Tue, 20 Nov 2018 10:48:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gP8Fo-0005JV-6k for 33424-done@debbugs.gnu.org; Tue, 20 Nov 2018 10:48:01 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gP8Fm-0005Hw-6k; Tue, 20 Nov 2018 10:47:54 -0500 Original-Received: from [176.228.60.248] (port=3116 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gP8Fj-00021D-QC; Tue, 20 Nov 2018 10:47:53 -0500 In-reply-to: (message from Steve Schooler on Mon, 19 Nov 2018 13:18:53 -0800) 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:152566 Archived-At: [Please use "Reply to All" to reply to these messages, otherwise you are only replying to myself.] > From: Steve Schooler > Date: Mon, 19 Nov 2018 13:18:53 -0800 > > Thank you very much for the thorough analysis. I just installed the latest version of neotree, and the behavior > of emacs 26-1 is just as you described. This covers most but (perhaps) not all of the bug-issue that I > suspected. > > I thought that I had also noticed unusual behavior, where (sometimes) opening a file would result in splitting > the current frame into 2 windows, rather than dedicating the entire frame to the new file. Unfortunately, I could > not detect a pattern to this, so I can not report a reproducible situation, EXCEPT FOR ONE THING. > > Suppose that you re-create the situation where at the end of your emacs initialization, you use the find-file > command to load a few files, then use the neotree command. You would then be simulating the tail end of my > initialization. > > Suppose that immediately after emacs comes up, you take the menu option to display the > list of (some of ) the buffers. If you then mouse-select one of these buffers, the frame will split into two > windows. I suspect that this is BECAUSE the pop-to-buffer-same-window function is REGARDING THE > FRAME AS BELONGING TO NEOTREE. > > This is just a heads-up. You might reasonably construe this to NOT BE A BUG. If so, then I think the > bug-ticket can be closed. However, this may serve as a warning that in some situations, > pop-to-buffer-same-window will behave unusually, based on who pop-to-buffer-same-window believes is the > "owner" of the frame. If you invoke find-file from the menu bar with the neotree's directory in the selected window, you will always see this behavior, because find-file is unable to reuse the selected window, due to its being dedicated to the neotree buffer. I'm therefore closing the bug.