From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#40919: 27.0.91; next-error-select-buffer does not always behave as documented Date: Sun, 03 May 2020 02:38:10 +0300 Organization: LINKOV.NET Message-ID: <87d07lykkd.fsf@mail.linkov.net> References: <53913bd9-2bdc-0f70-f7b4-744283e0512f@ieee.org> <87d07rmb6j.fsf@mail.linkov.net> <87zhau5bfw.fsf@mail.linkov.net> <66f63b16-307a-919c-1d25-60ff63f92ae6@ieee.org> <87bln8u3xq.fsf@mail.linkov.net> <851cd382-4b2e-447a-2212-919c8a4ce908@ieee.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="94154"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 40919@debbugs.gnu.org To: Trevor Spiteri Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 03 01:41:18 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 1jV1l0-000OPD-0z for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 May 2020 01:41:18 +0200 Original-Received: from localhost ([::1]:56554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jV1kz-0003bP-4J for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 May 2020 19:41:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jV1kl-0003bF-9P for bug-gnu-emacs@gnu.org; Sat, 02 May 2020 19:41:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jV1kk-0002j2-Jr for bug-gnu-emacs@gnu.org; Sat, 02 May 2020 19:41:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42610) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jV1kk-0002iJ-6y for bug-gnu-emacs@gnu.org; Sat, 02 May 2020 19:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jV1kk-0002Ko-4r for bug-gnu-emacs@gnu.org; Sat, 02 May 2020 19:41: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, 02 May 2020 23:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40919 X-GNU-PR-Package: emacs Original-Received: via spool by 40919-submit@debbugs.gnu.org id=B40919.15884628188903 (code B ref 40919); Sat, 02 May 2020 23:41:02 +0000 Original-Received: (at 40919) by debbugs.gnu.org; 2 May 2020 23:40:18 +0000 Original-Received: from localhost ([127.0.0.1]:54156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jV1k1-0002JV-Cq for submit@debbugs.gnu.org; Sat, 02 May 2020 19:40:18 -0400 Original-Received: from relay5-d.mail.gandi.net ([217.70.183.197]:43289) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jV1jz-0002JE-IE for 40919@debbugs.gnu.org; Sat, 02 May 2020 19:40:16 -0400 X-Originating-IP: 91.129.106.11 Original-Received: from mail.gandi.net (m91-129-106-11.cust.tele2.ee [91.129.106.11]) (Authenticated sender: juri@linkov.net) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id EDF7F1C0002; Sat, 2 May 2020 23:40:07 +0000 (UTC) In-Reply-To: <851cd382-4b2e-447a-2212-919c8a4ce908@ieee.org> (Trevor Spiteri's message of "Fri, 1 May 2020 01:18:49 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:179549 Archived-At: >> But I'm still not sure if this is a preferable behavior for most users. >> Maybe this needs a user option? > > I thought that the change was unintentional. If it's intentional that's > another thing. If no one else complains then maybe most users prefer the > new behavior. I've already added advice to compilation-start so it's not > hard for me that I prefer the old behavior. I think the problem occurs only because compilation/grep pop up their output buffer in another window - this creates ambiguity whether to use navigation from the current buffer or from another (new) buffer. It seems there is no right answer suitable for all users. So I propose to add more options. Eli, do you agree with adding more options to `next-error-find-buffer-function' in emacs-27? Currently it has one option that defines one of possible behaviors existed in older versions. Now we need to add other option for compatibility with pre-27 versions. Then users of emacs-27 could decide whether they want to keep the old behavior or use the new. I'm not sure about the default value: should it default to pre-27 behavior.