From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40919: 27.0.91; next-error-select-buffer does not always behave as documented Date: Tue, 26 May 2020 19:06:53 +0300 Message-ID: <83367mvfxe.fsf@gnu.org> 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> <87d07lykkd.fsf@mail.linkov.net> <83bln5rbah.fsf@gnu.org> <87zhaozlvo.fsf@mail.linkov.net> <87v9kr8t1s.fsf@mail.linkov.net> <87zh9yuw5o.fsf@mail.linkov.net> <87zh9xuhq2.fsf@mail.linkov.net> <5c6d82c4-436e-9014-7dc7-0897caf76403@yandex.ru> <83367ovyah.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="22572"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40919@debbugs.gnu.org, tspiteri@ieee.org, juri@linkov.net To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 26 18:11:20 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 1jdcAg-0004tl-71 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 May 2020 18:11:18 +0200 Original-Received: from localhost ([::1]:59982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jdcA1-0007YL-Mz for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 May 2020 12:10:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdc7W-0003Zi-VT for bug-gnu-emacs@gnu.org; Tue, 26 May 2020 12:08:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34699) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jdc7W-0005uO-Lx for bug-gnu-emacs@gnu.org; Tue, 26 May 2020 12:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jdc7W-0006RR-9t for bug-gnu-emacs@gnu.org; Tue, 26 May 2020 12:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 May 2020 16:08: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.159050924624718 (code B ref 40919); Tue, 26 May 2020 16:08:02 +0000 Original-Received: (at 40919) by debbugs.gnu.org; 26 May 2020 16:07:26 +0000 Original-Received: from localhost ([127.0.0.1]:46245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdc6n-0006QV-Ir for submit@debbugs.gnu.org; Tue, 26 May 2020 12:07:25 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdc6m-0006QH-0d for 40919@debbugs.gnu.org; Tue, 26 May 2020 12:07:16 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46936) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jdc6e-0005mk-Gi; Tue, 26 May 2020 12:07:08 -0400 Original-Received: from [176.228.60.248] (port=1413 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jdc6d-0000K1-Hy; Tue, 26 May 2020 12:07:08 -0400 In-Reply-To: (message from Dmitry Gutov on Tue, 26 May 2020 02:17:34 +0300) 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:181048 Archived-At: > Cc: juri@linkov.net, 40919@debbugs.gnu.org, tspiteri@ieee.org > From: Dmitry Gutov > Date: Tue, 26 May 2020 02:17:34 +0300 > > The attached patch moves case #2 into a new function and makes it the > default value of the said defcustom (thus case #2 effectively moves into > case #1). As a result, the default behavior doesn't change, but the user > will have a much easier time turning off case #2. Maybe I don't understand something, but it looks to me that this changes the behavior if next-error-find-buffer-function has a non-default value: previously what's now next-error-no-navigation-try-current would be executed after calling next-error-find-buffer-function, now it isn't. Is that really necessary? > > (Btw, the textual descriptions of the options both in the patch and > > those already in the code are confusingly obscure, so much so that I > > don't think I could understand what each one does.) > > Knowing the subject matter somewhat, I think the descriptions are > meaningful enough, but to make sense of them one has to understand how > the whole feature comes together. E.g. at what times > next-error-find-buffer is called. I think I know something about the subject matter, and still the text is quite impenetrable for me. > > All in all, I feel (for quite some time) that this area is > > over-engineered and keeps bumping into more and more unintended > > consequences. Maybe it's time to take a step back and rethink the > > entire subject? (But definitely not on the release branch.) > > That's what we're doing here. Sigh.