From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: next-error use cases Date: Mon, 09 Apr 2018 23:19:39 -0500 Message-ID: <86a7ub3d7o.fsf@stephe-leake.org> References: <87zi2esn7l.fsf@mail.linkov.net> <83in91zu5o.fsf@gnu.org> <878t9xu1yc.fsf@mail.linkov.net> <24bb4cb2-a295-2f49-262f-4916ab9ac1c1@gmail.com> <67fa99bd-77ac-37c3-2af9-a205388d6cce@yandex.ru> 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 1523333868 32148 195.159.176.226 (10 Apr 2018 04:17:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 10 Apr 2018 04:17:48 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (windows-nt) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 10 06:17:44 2018 Return-path: Envelope-to: ged-emacs-devel@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 1f5kj1-0008Ga-AO for ged-emacs-devel@m.gmane.org; Tue, 10 Apr 2018 06:17:43 +0200 Original-Received: from localhost ([::1]:36560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5kl7-0000Sn-2N for ged-emacs-devel@m.gmane.org; Tue, 10 Apr 2018 00:19:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5kl0-0000Q9-LE for emacs-devel@gnu.org; Tue, 10 Apr 2018 00:19:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f5kkw-0006TS-IV for emacs-devel@gnu.org; Tue, 10 Apr 2018 00:19:46 -0400 Original-Received: from smtp121.iad3b.emailsrvr.com ([146.20.161.121]:57788) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f5kkw-0006T5-Ea for emacs-devel@gnu.org; Tue, 10 Apr 2018 00:19:42 -0400 Original-Received: from smtp8.relay.iad3b.emailsrvr.com (localhost [127.0.0.1]) by smtp8.relay.iad3b.emailsrvr.com (SMTP Server) with ESMTP id C57434006E for ; Tue, 10 Apr 2018 00:19:41 -0400 (EDT) X-Auth-ID: board-president@tomahawk-creek-hoa.com Original-Received: by smtp8.relay.iad3b.emailsrvr.com (Authenticated sender: board-president-AT-tomahawk-creek-hoa.com) with ESMTPSA id 93B924005C for ; Tue, 10 Apr 2018 00:19:41 -0400 (EDT) X-Sender-Id: board-president@tomahawk-creek-hoa.com Original-Received: from Takver4 (76-218-37-33.lightspeed.kscymo.sbcglobal.net [76.218.37.33]) (using TLSv1.2 with cipher AES256-GCM-SHA384) by 0.0.0.0:25 (trex/5.7.12); Tue, 10 Apr 2018 00:19:41 -0400 In-Reply-To: <67fa99bd-77ac-37c3-2af9-a205388d6cce@yandex.ru> (Dmitry Gutov's message of "Sun, 8 Apr 2018 23:35:33 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 146.20.161.121 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:224486 Archived-At: Dmitry Gutov writes: > On 4/8/18 11:26 PM, Cl=C3=A9ment Pit-Claudel wrote: > >> Or we could query all backends and go to the closest location. It >> would match with what the user sees on the screen: if I have a >> flyspell underline followed by a FlyCheck error, it would visit one >> then the other. > > I'm afraid that won't match the user's intention: if I just run Grep, > I probably want to jump between its results, and not between Flyspell > markers. +1. I often have several compilation-mode buffers active (one from a compile, one from a cross-reference tool, one from grep), and I expect next-error to use the one I last chose. I chose one by visiting the buffer, and using to go to an error. So just be sure the user has a way to indicate which buffer/location list is "current". --=20 -- Stephe