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: Wed, 05 Sep 2018 00:28:30 +0300 Organization: LINKOV.NET Message-ID: <87o9ddc8yc.fsf@mail.linkov.net> References: <87a7p0alxv.fsf@mail.linkov.net> <5B8B8DCE.4070704@gmx.at> <87efebjzbd.fsf@mail.linkov.net> <5B8CE360.5030700@gmx.at> <877ek2tdqx.fsf@mail.linkov.net> <5B8E3998.3050907@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1536096496 20074 195.159.176.226 (4 Sep 2018 21:28:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 4 Sep 2018 21:28:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 32607@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 04 23:28: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 1fxIro-00050x-AF for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Sep 2018 23:28:08 +0200 Original-Received: from localhost ([::1]:52706 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxItu-0001yM-Mp for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Sep 2018 17:30:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fxIth-0001vM-VR for bug-gnu-emacs@gnu.org; Tue, 04 Sep 2018 17:30:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fxItf-0002Ur-3K for bug-gnu-emacs@gnu.org; Tue, 04 Sep 2018 17:30:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41051) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fxIte-0002Ue-Sp for bug-gnu-emacs@gnu.org; Tue, 04 Sep 2018 17:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fxIte-0003zb-Mj for bug-gnu-emacs@gnu.org; Tue, 04 Sep 2018 17:30: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: Tue, 04 Sep 2018 21:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32607 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32607-submit@debbugs.gnu.org id=B32607.153609657015254 (code B ref 32607); Tue, 04 Sep 2018 21:30:02 +0000 Original-Received: (at 32607) by debbugs.gnu.org; 4 Sep 2018 21:29:30 +0000 Original-Received: from localhost ([127.0.0.1]:46065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fxIt7-0003xy-UB for submit@debbugs.gnu.org; Tue, 04 Sep 2018 17:29:30 -0400 Original-Received: from pop.dreamhost.com ([64.90.62.162]:52518 helo=pdx1-sub0-mail-a1.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fxIt6-0003xq-Dg for 32607@debbugs.gnu.org; Tue, 04 Sep 2018 17:29:28 -0400 Original-Received: from pdx1-sub0-mail-a1.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a1.g.dreamhost.com (Postfix) with ESMTP id 8F79D7ED89; Tue, 4 Sep 2018 14:29:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=slvMk0UVsVVOxbUXonmXZ6PcKzA=; b= AnIAJNblqnqUrGIgT9xo8r6cK7JWFypQBVgGHpCntEckCw62M4FYk5MZFY8c+8JP r/S6jgc3xIBZe8VZkf16HXrR6weJXmJLCSX1bKV4e9NdfRDnEhN13dLLEfEXrJLz kR3uKMI+nf/ofAlaBlvQAdAvSnJ0xGGegYaWV+UAFQc= 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-a1.g.dreamhost.com (Postfix) with ESMTPSA id E68F47EAE7; Tue, 4 Sep 2018 14:29:25 -0700 (PDT) In-Reply-To: <5B8E3998.3050907@gmx.at> (martin rudalics's message of "Tue, 04 Sep 2018 09:51:52 +0200") 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:150022 Archived-At: >>>> But it fails when using C-o from the already displayed *grep*. >>>> I think next-error-no-select should override the user setting with >>>> display-buffer-overriding-action because the purpose of pop-to-buffer in >>>> next-error-no-select is to ensure the *grep* buffer is displayed somewhere: >>> >>> And if a user wanted to pop up a new window here? >> >> It pops up according to user setting but only when >> this buffer is not displayed already in other window. > > Still: IMHO it's not the task of the calling function to fix a bad > user customization. What is bad in user customization? It's normal customization that corresponds to the old way of using same-window-regexps. It's not responsibility of user customization to workaround deficiencies in core functions. The task of next-error-no-select is to check if the buffer is already displayed, not to pop up a new buffer. There is no such problem in other commands that use pop-to-buffer.