GNU bug report logs - #33424
pop-to-buffer-same-window in emacs 26-1

Previous Next

Package: emacs;

Reported by: Steve Schooler <sgschooler <at> gmail.com>

Date: Mon, 19 Nov 2018 00:51:01 UTC

Severity: minor

Tags: notabug

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#33424: closed (pop-to-buffer-same-window in emacs 26-1)
Date: Tue, 20 Nov 2018 15:49:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 20 Nov 2018 17:47:59 +0200
with message-id <831s7fkaxc.fsf <at> gnu.org>
and subject line Re: bug#33424: pop-to-buffer-same-window in emacs 26-1
has caused the debbugs.gnu.org bug report #33424,
regarding pop-to-buffer-same-window in emacs 26-1
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
33424: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33424
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Steve Schooler <sgschooler <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: pop-to-buffer-same-window in emacs 26-1
Date: Sun, 18 Nov 2018 15:54:54 -0800
[Message part 3 (text/plain, inline)]
Please see
https://emacs.stackexchange.com/questions/46072/emacs-26-1-problems-find-file-and-neotree
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Steve Schooler <sgschooler <at> gmail.com>
Cc: 33424-done <at> debbugs.gnu.org
Subject: Re: bug#33424: pop-to-buffer-same-window in emacs 26-1
Date: Tue, 20 Nov 2018 17:47:59 +0200
[Please use "Reply to All" to reply to these messages, otherwise you
are only replying to myself.]

> From: Steve Schooler <sgschooler <at> gmail.com>
> 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><buffer> 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.


This bug report was last modified 6 years and 182 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.