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#32607: 27.0.50; pop-to-buffer in next-error-no-select Date: Sun, 02 Sep 2018 01:32:12 +0300 Organization: LINKOV.NET Message-ID: <87a7p0alxv.fsf@mail.linkov.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1535841130 2863 195.159.176.226 (1 Sep 2018 22:32:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 1 Sep 2018 22:32:10 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) To: 32607@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 02 00:32:06 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 1fwER4-0000df-HC for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Sep 2018 00:32:06 +0200 Original-Received: from localhost ([::1]:38659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwETA-0003CU-V7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Sep 2018 18:34:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwET5-0003CN-85 for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2018 18:34:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwESw-0000wK-Fr for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2018 18:34:09 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37187) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fwESw-0000wE-C0 for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2018 18:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fwESw-0001gm-6N for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2018 18:34: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, 01 Sep 2018 22:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32607 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15358412146449 (code B ref -1); Sat, 01 Sep 2018 22:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Sep 2018 22:33:34 +0000 Original-Received: from localhost ([127.0.0.1]:42205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwEST-0001fx-Rv for submit@debbugs.gnu.org; Sat, 01 Sep 2018 18:33:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59257) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwESS-0001fl-Ik for submit@debbugs.gnu.org; Sat, 01 Sep 2018 18:33:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwESM-0000i6-C9 for submit@debbugs.gnu.org; Sat, 01 Sep 2018 18:33:27 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:40105) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fwESM-0000hy-8Y for submit@debbugs.gnu.org; Sat, 01 Sep 2018 18:33:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51989) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwESL-000251-FL for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2018 18:33:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwESG-0000eF-HX for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2018 18:33:25 -0400 Original-Received: from pop.dreamhost.com ([64.90.62.162]:58348 helo=pdx1-sub0-mail-a39.g.dreamhost.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fwESF-0000bb-U8 for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2018 18:33:20 -0400 Original-Received: from pdx1-sub0-mail-a39.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a39.g.dreamhost.com (Postfix) with ESMTP id 845D37FA79 for ; Sat, 1 Sep 2018 15:33:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=linkov.net; bh=hMjEhcwTt5DPbIUGIxM mgthTHgI=; b=df4F3FYLdI9QGkkcb6EE0f4/vZ+mtZSzlwB3s4QCW06Jt8RFjlO m13xH43tpwkdZwYCzRff111wNijTRAkXhay+iOvMivzJRYH9L7OISjrCSRPP3ox0 3Arj9HuMPmmArPX6LNrJRzL+py8LETv2LQYxheIQT1Ac90CvKNe3Wy+0= Original-Received: from localhost.linkov.net (m91-129-101-104.cust.tele2.ee [91.129.101.104]) (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-a39.g.dreamhost.com (Postfix) with ESMTPSA id 737647FA7A for ; Sat, 1 Sep 2018 15:33:16 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:149953 Archived-At: Suppose we have such customization: (setq display-buffer-alist '(("\\`\\*grep\\*\\'" display-buffer-same-wi= ndow))) Now after running grep with a non-empty output in =E2=80=98emacs -Q=E2=80= =99, typing =E2=80=98C-o=E2=80=99 (compilation-display-error) will display two= identical buffers instead of displaying the buffer with the found grep hit. The problem is with pop-to-buffer in next-error-no-select. I wonder what is an idiomatic way to ensure a buffer is already displayed in some window, to not display the same buffer in other window?