From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#38197: 26.3; File opened by find-file appears in other window Date: Thu, 1 Oct 2020 05:50:48 -0700 Message-ID: References: <52602834-06af-3a9e-c4cc-93316aa8603f@iar.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5887"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Johan Bengtsson , 38197@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 01 14:51:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kNy3D-0001RA-T0 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Oct 2020 14:51:11 +0200 Original-Received: from localhost ([::1]:48484 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNy3C-0002ZZ-Pm for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Oct 2020 08:51:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNy34-0002Z9-7C for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 08:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51385) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNy33-0003XF-U8 for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 08:51:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kNy33-0006en-Ru for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 08:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Oct 2020 12:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38197 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 38197-submit@debbugs.gnu.org id=B38197.160155665725574 (code B ref 38197); Thu, 01 Oct 2020 12:51:01 +0000 Original-Received: (at 38197) by debbugs.gnu.org; 1 Oct 2020 12:50:57 +0000 Original-Received: from localhost ([127.0.0.1]:34695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNy2z-0006eK-9G for submit@debbugs.gnu.org; Thu, 01 Oct 2020 08:50:57 -0400 Original-Received: from mail-ej1-f52.google.com ([209.85.218.52]:34052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kNy2w-0006dl-UH for 38197@debbugs.gnu.org; Thu, 01 Oct 2020 08:50:55 -0400 Original-Received: by mail-ej1-f52.google.com with SMTP id gr14so7919811ejb.1 for <38197@debbugs.gnu.org>; Thu, 01 Oct 2020 05:50:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=uh29yHvw+WhKS86yhXH2lUklidL5fl4GIrqv0OFkhHQ=; b=lRnmMUcA5bTJs36CwIQ9DYn0tPiMFBEkMxXStgrX7sAGCRmsl+APv9dvAx7Ur57c5S Q6SMWFXEpf6zI/rlfg0DF1wQmdZ92eA8WAqpFqYSBqueiV+npHsXFzRuwGBwG2VqlwHl 54CmG8LEPnd+HqIaZhMFfnL7TP6sV86gBN178hysgMdEaWImOeSVcoNuxz6iYt6pHXd4 FuGlio4Z86wy266oarnmTzzvfNwhN3+q8KkNr94ZQ7fwjt9gskXiY4/b9dD0vc+VNE2P d/0emrXYIXBVn65bBmfkadSwNywVx/rEOEC1UV90q+kq/Ho1r6Qag6PVKUu5/PifycqD +6cQ== X-Gm-Message-State: AOAM530/g9wMNdeSh7REvb5TpaSYNXHA+hagCgzfRiJj6KgoEiQ8Ku/f arz5uSYphGp0iEquVePaFxlBQ//0eJ7Inn/3icI= X-Google-Smtp-Source: ABdhPJxnY0BovP+s9kpzCOLmRRD+Io5/y9VBLLA53jeafVx/T8G/B/723RXm2vmw/oKAmg8VeZFXz9WphtN5V6pxlp0= X-Received: by 2002:a17:907:70cb:: with SMTP id yk11mr7838671ejb.312.1601556649265; Thu, 01 Oct 2020 05:50:49 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 1 Oct 2020 05:50:48 -0700 In-Reply-To: (Stefan Kangas's message of "Tue, 25 Aug 2020 16:21:51 -0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:189507 Archived-At: tags 38197 + unreproducible close 38197 thanks Stefan Kangas writes: > tags 38197 + moreinfo > thanks > > martin rudalics 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"? More information was requested, but none was given within 5 weeks, so I'm closing this bug. If this is still an issue, please reply to this email (use "Reply to all" in your email client) and we can reopen the bug report. Best regards, Stefan Kangas