GNU bug report logs - #38197
26.3; File opened by find-file appears in other window

Previous Next

Package: emacs;

Reported by: Johan Bengtsson <johan.bengtsson <at> iar.com>

Date: Wed, 13 Nov 2019 15:18:02 UTC

Severity: normal

Tags: moreinfo, unreproducible

Found in version 26.3

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 38197 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Johan Bengtsson <johan.bengtsson <at> iar.com>, 38197 <at> debbugs.gnu.org
Subject: Re: bug#38197: 26.3; File opened by find-file appears in other window
Date: Tue, 25 Aug 2020 16:21:51 -0700
tags 38197 + moreinfo
thanks

martin rudalics <rudalics <at> gmx.at> writes:

>> If find-file is used on a file that already exists in a buffer and there
>> is than one window then the buffer will be displayed in one of the
>
> I suppose you mean "more" than one window here.
>
>> non-active windows. If the file does not exist in a buffer it will be
>> opened and displayed in the current window as expected.
>>
>> The problem seems to be related to the use of pop-to-buffer-same-window
>> in find-file. If the definition of find-file is changed to use
>> switch-to-buffer (as it was in emacs25) it works as expected.
>
> I can't reproduce that here.  Regardless of whether the file's buffer
> is shown in a window or not and whether there are one or two windows,
> the file's buffeer is always shown in the selected window.  Please
> provide a recipe with emacs -Q.

It seems like we need more info here to progress.  Could you provide a
recipe to reproduce this bug starting from "emacs -Q"?

Best regards,
Stefan Kangas




This bug report was last modified 4 years and 289 days ago.

Previous Next


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