X-Loop: help-debbugs@HIDDEN Subject: bug#31027: 27.0.50; xref, tags-location-ring equivalent Resent-From: charles@HIDDEN (Charles A. Roelli) Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 02 Apr 2018 18:08:02 +0000 Resent-Message-ID: <handler.31027.B.152269243929972 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 31027 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 31027 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.152269243929972 (code B ref -1); Mon, 02 Apr 2018 18:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Apr 2018 18:07:19 +0000 Received: from localhost ([127.0.0.1]:35366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1f33rT-0007nM-FH for submit <at> debbugs.gnu.org; Mon, 02 Apr 2018 14:07:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <charles@HIDDEN>) id 1f33rS-0007n9-As for submit <at> debbugs.gnu.org; Mon, 02 Apr 2018 14:07:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <charles@HIDDEN>) id 1f33rM-0004GK-Gf for submit <at> debbugs.gnu.org; Mon, 02 Apr 2018 14:07:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42144) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <charles@HIDDEN>) id 1f33rM-0004G4-DA for submit <at> debbugs.gnu.org; Mon, 02 Apr 2018 14:07:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <charles@HIDDEN>) id 1f33rL-000300-D2 for bug-gnu-emacs@HIDDEN; Mon, 02 Apr 2018 14:07:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <charles@HIDDEN>) id 1f33rI-0004Ab-5v for bug-gnu-emacs@HIDDEN; Mon, 02 Apr 2018 14:07:11 -0400 Received: from sinyavsky.aurox.ch ([37.35.109.145]:45290) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <charles@HIDDEN>) id 1f33rH-0003v6-V4 for bug-gnu-emacs@HIDDEN; Mon, 02 Apr 2018 14:07:08 -0400 Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id 1B0BF226F8 for <bug-gnu-emacs@HIDDEN>; Mon, 2 Apr 2018 18:08:01 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= subject:subject:to:from:from:message-id:date:date; s=dkim; t= 1522692479; x=1523556480; bh=CK0eP8QKmTn0eaa9LUO37gMhrEyOxzM3TcY p4Ta1Wkk=; b=j1135A+IUepQC7jDlXe0eKYynOl5PgVGpIqDV/2pEfJbikkiAsJ 5G1qFzboJY045V324VW9Msw4HC37XOKW+P2OCaTAxixjzzPFIh6OQYP2LL7eaR8Z XQiHD0exzsgOc3qYayYr/Y/a3VQldiUmEv06ELI5PD+m3qAUtV0rBf6Y= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id VHlK_nVZpSFT for <bug-gnu-emacs@HIDDEN>; Mon, 2 Apr 2018 18:07:59 +0000 (UTC) Received: from gray (202.100.1.85.dynamic.wline.res.cust.swisscom.ch [85.1.100.202]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id BED99226F5 for <bug-gnu-emacs@HIDDEN>; Mon, 2 Apr 2018 18:07:59 +0000 (UTC) Date: Mon, 02 Apr 2018 20:06:29 +0200 Message-Id: <m2y3i51o0q.fsf@HIDDEN> From: charles@HIDDEN (Charles A. Roelli) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.1 (----) tags-location-ring seems to have no replacement in xref.el. from etags.el: (defvar tags-location-ring (make-ring xref-marker-ring-length) "Ring of markers which are locations visited by \\[find-tag]. Pop back to the last location with \\[negative-argument] \\[find-tag].") We should add a "xref-location-ring" (or similar) that stores the locations visited by "xref-find-definitions", and we can allow jumping to them with C-u - M-., in the same way as "find-tag" does.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: charles@HIDDEN (Charles A. Roelli) Subject: bug#31027: Acknowledgement (27.0.50; xref, tags-location-ring equivalent) Message-ID: <handler.31027.B.152269243929972.ack <at> debbugs.gnu.org> References: <m2y3i51o0q.fsf@HIDDEN> X-Gnu-PR-Message: ack 31027 X-Gnu-PR-Package: emacs Reply-To: 31027 <at> debbugs.gnu.org Date: Mon, 02 Apr 2018 18:08:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 31027 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 31027: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D31027 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#31027: 27.0.50; xref, tags-location-ring equivalent Resent-From: Robert Pluim <rpluim@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 03 Apr 2018 07:16:02 +0000 Resent-Message-ID: <handler.31027.B31027.152273974324382 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 31027 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: charles@HIDDEN (Charles A. Roelli) Cc: 31027 <at> debbugs.gnu.org Received: via spool by 31027-submit <at> debbugs.gnu.org id=B31027.152273974324382 (code B ref 31027); Tue, 03 Apr 2018 07:16:02 +0000 Received: (at 31027) by debbugs.gnu.org; 3 Apr 2018 07:15:43 +0000 Received: from localhost ([127.0.0.1]:35728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1f3GAQ-0006LB-Uo for submit <at> debbugs.gnu.org; Tue, 03 Apr 2018 03:15:43 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:35147) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rpluim@HIDDEN>) id 1f3GAP-0006Kz-6g for 31027 <at> debbugs.gnu.org; Tue, 03 Apr 2018 03:15:41 -0400 Received: by mail-wm0-f54.google.com with SMTP id r82so32820311wme.0 for <31027 <at> debbugs.gnu.org>; Tue, 03 Apr 2018 00:15:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version; bh=QFDz4M/CeBbZq48OnG01/ZHGewvyPC9QBNtwcilPK6Y=; b=US/HxC1iCXURypDwKxTFYJ54V3UmDSEBK55WNypC6hDJauUKwdBL3Qj/B0ZCzhsyAQ RF/1k1MhFHUv0U7VWYFcUs+oX7CfDA3XcbpSBuQ8OlwBTFhM7GdJjqcee4NgtBDsh1gc WuZunaNTetANr9WxGjn2AWe4QFlZZXC3Sx+H4DNW3lKlC9H/7bmICtbxndRvIG7LhMmX xfEVrjlcNkwQUTE2wRx/Zd+4INQbdnE72C+RFf6pWw2/9fXEsFJk6bh1OF4rjT3BHH6j /171g6jSuZq0mIzn9Ife36bPZI57w2WVG+wAIHak9phJOjP8Ejr0Ak4uQ3ZyFiDnXDwm x2lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=QFDz4M/CeBbZq48OnG01/ZHGewvyPC9QBNtwcilPK6Y=; b=pgx2YYNeYSBF8PP/849s+lPNrizLFJM6kNwOYzcNsoyb6jIc347R2C7kCBLJ1pfL9W MBA5UeviBTLJLXPCaRZ84KYFB6bCalEDXOi5+Q7dCvUHGDDFZC0GgwUGFFteht6dJeOL mKIB7sHtXomt1ib/iR67EWGI5nwYK0jxcE+0jFy49j7LuhoDOPMZhiTT5lXyWT5s42IJ 0OiwJgGTd/gyqJT4+cbXD4xEw0gY46joJqa0QMcg8AKc99gpFtnzj/5LHSTDvaOza8St ej3KpQY0UfAVpogM1pmQ30D0nn2gtb9vYNG9BGmqe7SuxTxwlTYwR3EXcIHRH8dn5/fd ak1Q== X-Gm-Message-State: ALQs6tBGo4CmbEQtkR6XbyR9JU9AheD1E6/TTGRShAxDm3B8TO8NElIL cuzGcNoQZauwVOkVydB+xlfEfM8B X-Google-Smtp-Source: AIpwx4+FpT4oTeYIvx4BEKrIExD/MlGwSLVm9ePiByvbKlokdiNEtcXgVdR4sOfOtcMA0vGFVuUtlg== X-Received: by 10.28.124.14 with SMTP id x14mr3335033wmc.86.1522739734881; Tue, 03 Apr 2018 00:15:34 -0700 (PDT) Received: from rpluim ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id j126sm1961502wmb.33.2018.04.03.00.15.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Apr 2018 00:15:33 -0700 (PDT) From: Robert Pluim <rpluim@HIDDEN> References: <m2y3i51o0q.fsf@HIDDEN> Mail-Copies-To: never Gmane-Reply-To-List: yes Date: Tue, 03 Apr 2018 09:15:33 +0200 In-Reply-To: <m2y3i51o0q.fsf@HIDDEN> (Charles A. Roelli's message of "Mon, 02 Apr 2018 20:06:29 +0200") Message-ID: <87efjwyd4a.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) charles@HIDDEN (Charles A. Roelli) writes: > tags-location-ring seems to have no replacement in xref.el. > > from etags.el: > (defvar tags-location-ring (make-ring xref-marker-ring-length) > "Ring of markers which are locations visited by \\[find-tag]. > Pop back to the last location with \\[negative-argument] \\[find-tag].") > > We should add a "xref-location-ring" (or similar) that stores the > locations visited by "xref-find-definitions", and we can allow jumping > to them with C-u - M-., in the same way as "find-tag" does. xref has a marker stack. The following is bound to "M-," by default. (defun xref-pop-marker-stack () "Pop back to where \\[xref-find-definitions] was last invoked." (interactive) Robert
X-Loop: help-debbugs@HIDDEN Subject: bug#31027: 27.0.50; xref, tags-location-ring equivalent Resent-From: charles@HIDDEN (Charles A. Roelli) Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 03 Apr 2018 17:59:02 +0000 Resent-Message-ID: <handler.31027.B31027.152277829915931 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 31027 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Robert Pluim <rpluim@HIDDEN> Cc: 31027 <at> debbugs.gnu.org Received: via spool by 31027-submit <at> debbugs.gnu.org id=B31027.152277829915931 (code B ref 31027); Tue, 03 Apr 2018 17:59:02 +0000 Received: (at 31027) by debbugs.gnu.org; 3 Apr 2018 17:58:19 +0000 Received: from localhost ([127.0.0.1]:37328 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1f3QCI-00048t-Qx for submit <at> debbugs.gnu.org; Tue, 03 Apr 2018 13:58:19 -0400 Received: from sinyavsky.aurox.ch ([37.35.109.145]:39773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <charles@HIDDEN>) id 1f3QCG-00048f-S5 for 31027 <at> debbugs.gnu.org; Tue, 03 Apr 2018 13:58:17 -0400 Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id E77D7226FE for <31027 <at> debbugs.gnu.org>; Tue, 3 Apr 2018 17:59:14 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= references:subject:subject:in-reply-to:to:from:from:message-id :date:date; s=dkim; t=1522778352; x=1523642353; bh=o3X6B0YB5klRV Oe7EZz/Ty2OYXGp8kcPf36A53KUe6k=; b=RD73ToJWMvWxOBIoAKRpd0sVSKhqp VsQA/t4x83UVK0uaAAecAaSi2lXwsLyTSy23p3u1O5LIprhyGyjfZKiVKO5S8pKu Op2DeqFB9lOS86kWPzCMkSGnb6VMQOa/Xlw4LZlHO5QjWMTucyR43CaLvU9aDTj8 pK7cAE9uCrcZck= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pfEAfmAYt3Si for <31027 <at> debbugs.gnu.org>; Tue, 3 Apr 2018 17:59:12 +0000 (UTC) Received: from gray (202.100.1.85.dynamic.wline.res.cust.swisscom.ch [85.1.100.202]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 82C73226ED; Tue, 3 Apr 2018 17:59:12 +0000 (UTC) Date: Tue, 03 Apr 2018 19:58:45 +0200 Message-Id: <m2vad818a2.fsf@HIDDEN> From: charles@HIDDEN (Charles A. Roelli) In-reply-to: <87efjwyd4a.fsf@HIDDEN> (message from Robert Pluim on Tue, 03 Apr 2018 09:15:33 +0200) References: <m2y3i51o0q.fsf@HIDDEN> <87efjwyd4a.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) > Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com > From: Robert Pluim <rpluim@HIDDEN> > Cc: 31027 <at> debbugs.gnu.org > Mail-Copies-To: never > Gmane-Reply-To-List: yes > Date: Tue, 03 Apr 2018 09:15:33 +0200 > Content-Type: text/plain > > charles@HIDDEN (Charles A. Roelli) writes: > > > tags-location-ring seems to have no replacement in xref.el. > > > > from etags.el: > > (defvar tags-location-ring (make-ring xref-marker-ring-length) > > "Ring of markers which are locations visited by \\[find-tag]. > > Pop back to the last location with \\[negative-argument] \\[find-tag].") > > > > We should add a "xref-location-ring" (or similar) that stores the > > locations visited by "xref-find-definitions", and we can allow jumping > > to them with C-u - M-., in the same way as "find-tag" does. > > xref has a marker stack. The following is bound to "M-," by default. > > (defun xref-pop-marker-stack () > "Pop back to where \\[xref-find-definitions] was last invoked." > (interactive) The xref marker stack (in xref--marker-ring) is a different beast: it stores the list of places where xref-find-definitions was invoked. I suggest having another marker stack that tracks the list of places jumped to by xref-find-definitions.
X-Loop: help-debbugs@HIDDEN Subject: bug#31027: 27.0.50; xref, tags-location-ring equivalent Resent-From: Dmitry Gutov <dgutov@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 03 Apr 2018 20:33:02 +0000 Resent-Message-ID: <handler.31027.B31027.152278755929494 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 31027 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Charles A. Roelli" <charles@HIDDEN>, 31027 <at> debbugs.gnu.org Received: via spool by 31027-submit <at> debbugs.gnu.org id=B31027.152278755929494 (code B ref 31027); Tue, 03 Apr 2018 20:33:02 +0000 Received: (at 31027) by debbugs.gnu.org; 3 Apr 2018 20:32:39 +0000 Received: from localhost ([127.0.0.1]:37381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1f3Sbf-0007fe-H3 for submit <at> debbugs.gnu.org; Tue, 03 Apr 2018 16:32:39 -0400 Received: from mail-wm0-f44.google.com ([74.125.82.44]:51124) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <raaahh@HIDDEN>) id 1f3Sbc-0007fP-0n for 31027 <at> debbugs.gnu.org; Tue, 03 Apr 2018 16:32:38 -0400 Received: by mail-wm0-f44.google.com with SMTP id t67so16384846wmt.0 for <31027 <at> debbugs.gnu.org>; Tue, 03 Apr 2018 13:32:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=B7LPOR5bNlaIDo9Mt7z6yEeAYVFw57MjyrTVhd/qyxg=; b=ZQTF8P9l5aATOIPcoTGhQxCeHXnFGmHhvtiMC5zoSlgfgjT4NFzXQ2SjtSIVApbgd1 x0wM9+CqOXczrYigmoM7H7Na3x7TiEwBqrQFddU6sSHZFp78Vyv+OATlSM5v/8/7wj2y 4Aaz6PbqmcAWPruCX6MtHcCibHbIQ+0t4q7Ft3RcIP3o+mN8bzT1wCk4nZFyv8Dq4pi2 H9hl7e185ovdafW99bbw9YjXOLijARWWEmeijZVQot3Xh7twFvL7/HZMMe143gkM+ypH hbPGdzXCn1D45jCcBW/IGhjHjixvLQAqhv2buB8Ubz7z2cqIxB24cmVYlm0V6+vcpjvs wzvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=B7LPOR5bNlaIDo9Mt7z6yEeAYVFw57MjyrTVhd/qyxg=; b=b3gG4YsqYbVF3yAt6BNenM0/G62oOeL9HAz0F8PqZzSaFZdl0t8dBrlqUkFEMlSWZq wv3jk+LcZ5iKFXL4McUGLEQvzP6uaBAk52Nzm0e5TQArLomCJfs9wrzOkAOIio1+IcJf auPyYsx3iOh7ajBQlRVBCTjoQWfu47LNpQrOZejcnWSvzez7Cg4MQHXcpPVLkvhB9tmw SkZgBFx22tPnl/9wcvYs4rijITAxK0tJiyU5cKfUQN7FQ1He1wSxwl65etkE4GwDgx0A bUMaXA27u+V2t+00VFJ9p1xVYsltUaN/NnTu6by52GelqWYXtglkyFgFQungCyJfMIOu JBYw== X-Gm-Message-State: AElRT7GuuGFhiK+aowVS42LOytt4Q+AFOvj5kU4NpIB2i62wd7iiBDcT w93lqtE4Xt+t/to4Sx0gn7hXh7kO X-Google-Smtp-Source: AIpwx4/ZBQVyI+c6cLGWwZcFB5lyTIAZdR+dZA/NX13tMp12meYk+YAJeM8T33DR562pDntzLf4TCw== X-Received: by 10.28.245.16 with SMTP id t16mr5126170wmh.63.1522787549926; Tue, 03 Apr 2018 13:32:29 -0700 (PDT) Received: from [192.168.1.3] ([185.105.174.23]) by smtp.googlemail.com with ESMTPSA id l131sm1966583wmb.36.2018.04.03.13.32.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Apr 2018 13:32:29 -0700 (PDT) References: <m2y3i51o0q.fsf@HIDDEN> From: Dmitry Gutov <dgutov@HIDDEN> Message-ID: <4540850e-1f76-22d9-cf7b-bd680eb34c6b@HIDDEN> Date: Tue, 3 Apr 2018 23:32:26 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <m2y3i51o0q.fsf@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.5 (/) On 4/2/18 9:06 PM, Charles A. Roelli wrote: > tags-location-ring seems to have no replacement in xref.el. > > from etags.el: > (defvar tags-location-ring (make-ring xref-marker-ring-length) > "Ring of markers which are locations visited by \\[find-tag]. > Pop back to the last location with \\[negative-argument] \\[find-tag].") > > We should add a "xref-location-ring" (or similar) that stores the > locations visited by "xref-find-definitions", and we can allow jumping > to them with C-u - M-., in the same way as "find-tag" does. What about 'M-x previous error'? Or 'C-u - M-x next-error', to mirror your example.
X-Loop: help-debbugs@HIDDEN Subject: bug#31027: 27.0.50; xref, tags-location-ring equivalent Resent-From: charles@HIDDEN (Charles A. Roelli) Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 04 Apr 2018 18:37:01 +0000 Resent-Message-ID: <handler.31027.B31027.152286700631911 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 31027 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov <dgutov@HIDDEN> Cc: 31027 <at> debbugs.gnu.org Received: via spool by 31027-submit <at> debbugs.gnu.org id=B31027.152286700631911 (code B ref 31027); Wed, 04 Apr 2018 18:37:01 +0000 Received: (at 31027) by debbugs.gnu.org; 4 Apr 2018 18:36:46 +0000 Received: from localhost ([127.0.0.1]:38624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1f3nH3-0008Ic-US for submit <at> debbugs.gnu.org; Wed, 04 Apr 2018 14:36:46 -0400 Received: from sinyavsky.aurox.ch ([37.35.109.145]:40520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <charles@HIDDEN>) id 1f3nH2-0008IQ-T7 for 31027 <at> debbugs.gnu.org; Wed, 04 Apr 2018 14:36:45 -0400 Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id 248D9226FB for <31027 <at> debbugs.gnu.org>; Wed, 4 Apr 2018 18:37:44 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= references:subject:subject:in-reply-to:to:from:from:message-id :date:date; s=dkim; t=1522867062; x=1523731063; bh=7uVug1PC8DDD8 AYwbrMbfyFigVCk1xBDADuTNjeK7Oo=; b=hnGrZKrCbqFCNVwBLexaP/jXcC6iK s1hUmD3fT0SYw6nECPpvcw6rW18h1QwWlZs7BbSlqyKl6frNJALq1coAVl08Hf1l 3wTcVE0VzhrnNSjRhVYhcldF3aiJ11T/FsP97ZfjgA06tsHkzBt0pOUo6pnsX2Hx Y6DoaNpYQvQSRI= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 6tqZQsCmlHLZ for <31027 <at> debbugs.gnu.org>; Wed, 4 Apr 2018 18:37:42 +0000 (UTC) Received: from gray (202.100.1.85.dynamic.wline.res.cust.swisscom.ch [85.1.100.202]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id DDC22226F6; Wed, 4 Apr 2018 18:37:41 +0000 (UTC) Date: Wed, 04 Apr 2018 20:37:32 +0200 Message-Id: <m2o9iy24yb.fsf@HIDDEN> From: charles@HIDDEN (Charles A. Roelli) In-reply-to: <4540850e-1f76-22d9-cf7b-bd680eb34c6b@HIDDEN> (message from Dmitry Gutov on Tue, 3 Apr 2018 23:32:26 +0300) References: <m2y3i51o0q.fsf@HIDDEN> <4540850e-1f76-22d9-cf7b-bd680eb34c6b@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) > From: Dmitry Gutov <dgutov@HIDDEN> > Date: Tue, 3 Apr 2018 23:32:26 +0300 > > On 4/2/18 9:06 PM, Charles A. Roelli wrote: > > tags-location-ring seems to have no replacement in xref.el. > > > > from etags.el: > > (defvar tags-location-ring (make-ring xref-marker-ring-length) > > "Ring of markers which are locations visited by \\[find-tag]. > > Pop back to the last location with \\[negative-argument] \\[find-tag].") > > > > We should add a "xref-location-ring" (or similar) that stores the > > locations visited by "xref-find-definitions", and we can allow jumping > > to them with C-u - M-., in the same way as "find-tag" does. > > What about 'M-x previous error'? Or 'C-u - M-x next-error', to mirror > your example. That's useful, but also different in nature and scope to a global ring, which would not use a local variable (`next-error-function') to navigate to other "errors". An "xref-location-ring" would be simpler. By the way, I didn't know previous-error/next-error worked with xref. Is that documented in the manual?
X-Loop: help-debbugs@HIDDEN Subject: bug#31027: 27.0.50; xref, tags-location-ring equivalent Resent-From: Dmitry Gutov <dgutov@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 04 Apr 2018 18:59:02 +0000 Resent-Message-ID: <handler.31027.B31027.15228682841266 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 31027 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Charles A. Roelli" <charles@HIDDEN> Cc: 31027 <at> debbugs.gnu.org Received: via spool by 31027-submit <at> debbugs.gnu.org id=B31027.15228682841266 (code B ref 31027); Wed, 04 Apr 2018 18:59:02 +0000 Received: (at 31027) by debbugs.gnu.org; 4 Apr 2018 18:58:04 +0000 Received: from localhost ([127.0.0.1]:38633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1f3nbf-0000KM-W8 for submit <at> debbugs.gnu.org; Wed, 04 Apr 2018 14:58:04 -0400 Received: from mail-wr0-f170.google.com ([209.85.128.170]:43388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <raaahh@HIDDEN>) id 1f3nbc-0000Jr-67 for 31027 <at> debbugs.gnu.org; Wed, 04 Apr 2018 14:58:00 -0400 Received: by mail-wr0-f170.google.com with SMTP id p53so24396869wrc.10 for <31027 <at> debbugs.gnu.org>; Wed, 04 Apr 2018 11:58:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=brewhdlJOdPVfQAA+o8wxACWCN5ciInKeSKg9CuAmjk=; b=GetaR0hcDON5exqQhf/zfqEGVa7Hq46Ckm7ty7TPZgPt21N1k+crY874tiM/WUOe+W T6gcvoGnIkpbCgZzI7JjOP7rDoRYHhwApsV1mzL7IjMN/fXbQpePc55/+YI590RHZdS6 A/SMzZGsO+6OryHBdPSHjcPzk8QJS4tV8OklMNyDNz4BTmcr0Hw/kx1yAAGYFEHD+sLe skYlr8WleGrdG8l0x0Pv9RMCezO9Bry9wwOS8lG/Knin/9BlST7MsJ02++RpPa4c8Ejq pwEbino1420yTXRHuREorzYooqw1n+zQMqB4w0gnhevWkMrY6/Q5qviHfT/woqJ8zlsi itAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=brewhdlJOdPVfQAA+o8wxACWCN5ciInKeSKg9CuAmjk=; b=cBTkpVn4UeBmg1J8RNhjfFSBTGbtFw8CVVUe9+3XkRsnlVNc4E5ldKoMD6S4odSYWW AMpInAeHfbqv2zUrKtJEYdB1lXifiGz5e2xTN6YvmAsHvS0yNnAhgpwq/RPUmUKDC+yE hsUedESXrdfB0wIBPCaJQB5vxzx87SowozFE+fRgaSYpGVpm0HhDvGbNG/UkVqOYE+rt hGND0EpVzkCnyZCKCg1LTOkCVY8yJXhELfy1lD2N93mjyyoOWA1utfmwX0FUfa7iMrCc NXqP4e4bHuBvkIxVlcUvV7hKPmS+nn5WJsZdJHZkxC15GDW401fP1f0gSk9mEhTe7gR2 4kEw== X-Gm-Message-State: AElRT7G0Fym+tYhzTWKvvdf7d5M+pwJ75S4WvwJ7iD5goQuubjU58+CU AWiJApK4lEpdatG5DTuNd5l4gskT X-Google-Smtp-Source: AIpwx4+E13cMqUw9DHK2CMaIEweYmrjoAGpDifH3NF7q947i7z3P12o4HGSjTLdmkTv5x3SR+pMwQg== X-Received: by 10.223.164.140 with SMTP id g12mr14833995wrb.270.1522868274031; Wed, 04 Apr 2018 11:57:54 -0700 (PDT) Received: from [192.168.1.3] ([185.105.174.23]) by smtp.googlemail.com with ESMTPSA id k35sm4485379wre.55.2018.04.04.11.57.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Apr 2018 11:57:52 -0700 (PDT) References: <m2y3i51o0q.fsf@HIDDEN> <4540850e-1f76-22d9-cf7b-bd680eb34c6b@HIDDEN> <m2o9iy24yb.fsf@HIDDEN> From: Dmitry Gutov <dgutov@HIDDEN> Message-ID: <399191a7-2570-75da-d9b7-12ca8172dc4e@HIDDEN> Date: Wed, 4 Apr 2018 21:57:49 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <m2o9iy24yb.fsf@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.5 (/) On 4/4/18 9:37 PM, Charles A. Roelli wrote: >> What about 'M-x previous error'? Or 'C-u - M-x next-error', to mirror >> your example. > > That's useful, but also different in nature and scope to a global > ring, which would not use a local variable (`next-error-function') to Whether next-error-function is going to be local or not, is subject to discussion, see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20489 and https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30674. > navigate to other "errors". An "xref-location-ring" would be simpler. What's simpler about that? You'd need some new commands to use it as well, right? > By the way, I didn't know previous-error/next-error worked with xref. > Is that documented in the manual? Not sure.
X-Loop: help-debbugs@HIDDEN Subject: bug#31027: 27.0.50; xref, tags-location-ring equivalent Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 04 Apr 2018 19:26:01 +0000 Resent-Message-ID: <handler.31027.B31027.15228699413751 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 31027 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov <dgutov@HIDDEN> Cc: charles@HIDDEN, 31027 <at> debbugs.gnu.org Reply-To: Eli Zaretskii <eliz@HIDDEN> Received: via spool by 31027-submit <at> debbugs.gnu.org id=B31027.15228699413751 (code B ref 31027); Wed, 04 Apr 2018 19:26:01 +0000 Received: (at 31027) by debbugs.gnu.org; 4 Apr 2018 19:25:41 +0000 Received: from localhost ([127.0.0.1]:38655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1f3o2O-0000yQ-U9 for submit <at> debbugs.gnu.org; Wed, 04 Apr 2018 15:25:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1f3o2N-0000yE-AP for 31027 <at> debbugs.gnu.org; Wed, 04 Apr 2018 15:25:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1f3o2D-0006tg-Er for 31027 <at> debbugs.gnu.org; Wed, 04 Apr 2018 15:25:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1f3o2D-0006ta-BS; Wed, 04 Apr 2018 15:25:29 -0400 Received: from [176.228.60.248] (port=1543 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1f3o2B-00029d-Lj; Wed, 04 Apr 2018 15:25:28 -0400 Date: Wed, 04 Apr 2018 22:25:39 +0300 Message-Id: <83po3e3hak.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <399191a7-2570-75da-d9b7-12ca8172dc4e@HIDDEN> (message from Dmitry Gutov on Wed, 4 Apr 2018 21:57:49 +0300) References: <m2y3i51o0q.fsf@HIDDEN> <4540850e-1f76-22d9-cf7b-bd680eb34c6b@HIDDEN> <m2o9iy24yb.fsf@HIDDEN> <399191a7-2570-75da-d9b7-12ca8172dc4e@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) > From: Dmitry Gutov <dgutov@HIDDEN> > Date: Wed, 4 Apr 2018 21:57:49 +0300 > Cc: 31027 <at> debbugs.gnu.org > > > By the way, I didn't know previous-error/next-error worked with xref. > > Is that documented in the manual? > > Not sure. It is not documented, because this feature is still in flux.
X-Loop: help-debbugs@HIDDEN Subject: bug#31027: 27.0.50; xref, tags-location-ring equivalent Resent-From: Juri Linkov <juri@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 04 Apr 2018 21:03:01 +0000 Resent-Message-ID: <handler.31027.B31027.152287574012160 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 31027 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov <dgutov@HIDDEN> Cc: "Charles A. Roelli" <charles@HIDDEN>, 31027 <at> debbugs.gnu.org Received: via spool by 31027-submit <at> debbugs.gnu.org id=B31027.152287574012160 (code B ref 31027); Wed, 04 Apr 2018 21:03:01 +0000 Received: (at 31027) by debbugs.gnu.org; 4 Apr 2018 21:02:20 +0000 Received: from localhost ([127.0.0.1]:38680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1f3pXw-0003A4-2n for submit <at> debbugs.gnu.org; Wed, 04 Apr 2018 17:02:20 -0400 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:44140 helo=homiemail-a19.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1f3pXu-00039x-Ls for 31027 <at> debbugs.gnu.org; Wed, 04 Apr 2018 17:02:19 -0400 Received: from homiemail-a19.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a19.g.dreamhost.com (Postfix) with ESMTP id 0A4A2604076; Wed, 4 Apr 2018 14:02:18 -0700 (PDT) Received: from localhost.linkov.net (m91-129-105-236.cust.tele2.ee [91.129.105.236]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jurta@HIDDEN) by homiemail-a19.g.dreamhost.com (Postfix) with ESMTPSA id E6D9B604069; Wed, 4 Apr 2018 14:02:16 -0700 (PDT) From: Juri Linkov <juri@HIDDEN> Organization: LINKOV.NET References: <m2y3i51o0q.fsf@HIDDEN> <4540850e-1f76-22d9-cf7b-bd680eb34c6b@HIDDEN> <m2o9iy24yb.fsf@HIDDEN> <399191a7-2570-75da-d9b7-12ca8172dc4e@HIDDEN> Date: Wed, 04 Apr 2018 23:59:13 +0300 In-Reply-To: <399191a7-2570-75da-d9b7-12ca8172dc4e@HIDDEN> (Dmitry Gutov's message of "Wed, 4 Apr 2018 21:57:49 +0300") Message-ID: <871sfubsda.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) >>> What about 'M-x previous error'? Or 'C-u - M-x next-error', to mirror >>> your example. >> >> That's useful, but also different in nature and scope to a global >> ring, which would not use a local variable (`next-error-function') to > > Whether next-error-function is going to be local or not, is subject to > discussion, see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20489 and > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30674. I have a wish to close these overgrown bugreports and redesign this feature from scratch ;) >> navigate to other "errors". An "xref-location-ring" would be simpler. > > What's simpler about that? You'd need some new commands to use it as > well, right? Is the idea to use a ring of next-error capable buffers? So that the next-error command in the current buffer will return a list of all potentially next-error capable buffers and allow the user to select the required one.
X-Loop: help-debbugs@HIDDEN Subject: bug#31027: 27.0.50; xref, tags-location-ring equivalent Resent-From: Dmitry Gutov <dgutov@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 04 Apr 2018 22:15:02 +0000 Resent-Message-ID: <handler.31027.B31027.152288006518553 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 31027 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov <juri@HIDDEN> Cc: "Charles A. Roelli" <charles@HIDDEN>, 31027 <at> debbugs.gnu.org Received: via spool by 31027-submit <at> debbugs.gnu.org id=B31027.152288006518553 (code B ref 31027); Wed, 04 Apr 2018 22:15:02 +0000 Received: (at 31027) by debbugs.gnu.org; 4 Apr 2018 22:14:25 +0000 Received: from localhost ([127.0.0.1]:38746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1f3qfg-0004pB-Pj for submit <at> debbugs.gnu.org; Wed, 04 Apr 2018 18:14:24 -0400 Received: from mail-wr0-f177.google.com ([209.85.128.177]:33206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <raaahh@HIDDEN>) id 1f3qff-0004oy-PA for 31027 <at> debbugs.gnu.org; Wed, 04 Apr 2018 18:14:24 -0400 Received: by mail-wr0-f177.google.com with SMTP id z73so25165257wrb.0 for <31027 <at> debbugs.gnu.org>; Wed, 04 Apr 2018 15:14:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=rWIsMjWR7t8Eor4GSr1+S+8Ezr481qGb/GdFrDqhaS8=; b=r39X06x9RaSkIsE4+UL/o7A3drXwJOD0WoK62ty8ZBZySmuXTFQg83ifz5ldIIlN8F 6ELq4VQ47XtVPoCtMNTCZ54smJvAy+ec9/2r/nqInjbTfZqtiMZRw9VGalSVn9ppqDBm fl6lQ4neILEIcHi0Iu5Pxshg4SKDr7HA/1BgIV0oPqtjenLAeIxFTawohw3dpOFTcYag yOObi/tJYudbgIjs49ox6AW1iCulnORlTS5LCwS8n+4oooJCXObYmeNJAMFPCofjqsBA 0FwhzgIS2LA+GLN2+GppxjZcjChcDryVddBGKxvsXZGUvTOCDJvM5ckHTNKDkC+v0oBt LZMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=rWIsMjWR7t8Eor4GSr1+S+8Ezr481qGb/GdFrDqhaS8=; b=dGAI82tsJoLlHDqAUzaf6y1djHv9jkb1EuSX7p2SUw8ISYpGpc+2MduIGRhuDZXES+ zdCD9JuRQGBlR8JMkldE8XuE5f/3PDtPhPPUPakAO5HSqMGDqrHdO2BEP4ZfUEu2eO55 nTKZ7g0KvI7L8zgZs67W2G3ijbEr2GIbekAqsr0VqcXTqWRf8OUhLzOezVAmvEfvCHUy 57jDDf5AslUa+8Pro++06r+fjFS4TKkMi3MU2BBuPjWMAo3cQ1qPfydV0d7pIPEoV0z0 eo5kA7hZg0svZBLxfwqjwS0WDH1rC6cDIPM45Q10t/4y/2Hctwie8TSwY/ETcIXkPoTg D6Ew== X-Gm-Message-State: AElRT7GVR7BMl8d8a27TPlrIPCwfbF5m9coIfTMe1zgHbq4cVBueiPtY TsflplHFs/kSe44ZiDxwNH+yUvF0 X-Google-Smtp-Source: AIpwx4/flRMhOkp5RKd2yIAqw3k4ZVFlE4m+VNdik0mHW1dRY84wtpspa8p/SeT0onS5h9uqJNfIoA== X-Received: by 10.223.185.114 with SMTP id b47mr13508423wrg.238.1522880057401; Wed, 04 Apr 2018 15:14:17 -0700 (PDT) Received: from [192.168.1.3] ([185.105.174.23]) by smtp.googlemail.com with ESMTPSA id o17sm3879121wrc.71.2018.04.04.15.14.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Apr 2018 15:14:16 -0700 (PDT) References: <m2y3i51o0q.fsf@HIDDEN> <4540850e-1f76-22d9-cf7b-bd680eb34c6b@HIDDEN> <m2o9iy24yb.fsf@HIDDEN> <399191a7-2570-75da-d9b7-12ca8172dc4e@HIDDEN> <871sfubsda.fsf@HIDDEN> From: Dmitry Gutov <dgutov@HIDDEN> Message-ID: <da26f625-e48f-9e47-0f52-0168fae01082@HIDDEN> Date: Thu, 5 Apr 2018 01:14:14 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <871sfubsda.fsf@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.5 (/) On 4/4/18 11:59 PM, Juri Linkov wrote: >> Whether next-error-function is going to be local or not, is subject to >> discussion, see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20489 and >> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30674. > > I have a wish to close these overgrown bugreports and redesign this feature > from scratch ;) The newer one is not so overgrown yet. I do wish we revert the part where next-error-function is buffer local, though, and then you could design this possibility as a user option. We discussed the approaches, but it comes out pretty complex no matter the way you look at it. >>> navigate to other "errors". An "xref-location-ring" would be simpler. >> >> What's simpler about that? You'd need some new commands to use it as >> well, right? > > Is the idea to use a ring of next-error capable buffers? > So that the next-error command in the current buffer > will return a list of all potentially next-error capable buffers > and allow the user to select the required one. Umm, I don't think the request is anything so ambitious. Charles has been asking for a ring to store the navigation locations visited by xref only.
X-Loop: help-debbugs@HIDDEN Subject: bug#31027: 27.0.50; xref, tags-location-ring equivalent Resent-From: charles@HIDDEN (Charles A. Roelli) Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 05 Apr 2018 18:56:01 +0000 Resent-Message-ID: <handler.31027.B31027.15229545307044 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 31027 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov <dgutov@HIDDEN> Cc: 31027 <at> debbugs.gnu.org, juri@HIDDEN Received: via spool by 31027-submit <at> debbugs.gnu.org id=B31027.15229545307044 (code B ref 31027); Thu, 05 Apr 2018 18:56:01 +0000 Received: (at 31027) by debbugs.gnu.org; 5 Apr 2018 18:55:30 +0000 Received: from localhost ([127.0.0.1]:39669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1f4A2j-0001pX-Tr for submit <at> debbugs.gnu.org; Thu, 05 Apr 2018 14:55:30 -0400 Received: from sinyavsky.aurox.ch ([37.35.109.145]:41265) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <charles@HIDDEN>) id 1f4A2i-0001pK-2Z for 31027 <at> debbugs.gnu.org; Thu, 05 Apr 2018 14:55:28 -0400 Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id 96DC522701 for <31027 <at> debbugs.gnu.org>; Thu, 5 Apr 2018 18:56:28 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= references:subject:subject:in-reply-to:to:from:from:message-id :date:date; s=dkim; t=1522954587; x=1523818588; bh=K4cQXmd1E8MNZ pw9ALm7ZC/N1JhxU0amJl219rJ44LY=; b=nT++d32GsIUbJt+RpII38WoVyGk9c Z2dY/zPMFvCLNBlXWjjaeOvOPxlUpRecfmwGAB3t0ad5lwvvdoJAa/vzzDLQNwkz K8nsKsJ+I/pagBH2fcFlttxF+w+SlS8Rni6kPmqeWmqYiJh7TddN1Pc9PHo6nHXa fN+FZeo7QT0RPY= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Ig8jkJVzfS-V for <31027 <at> debbugs.gnu.org>; Thu, 5 Apr 2018 18:56:27 +0000 (UTC) Received: from gray (202.100.1.85.dynamic.wline.res.cust.swisscom.ch [85.1.100.202]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 26F35226C2; Thu, 5 Apr 2018 18:56:27 +0000 (UTC) Date: Thu, 05 Apr 2018 20:56:22 +0200 Message-Id: <m237091nzd.fsf@HIDDEN> From: charles@HIDDEN (Charles A. Roelli) In-reply-to: <da26f625-e48f-9e47-0f52-0168fae01082@HIDDEN> (message from Dmitry Gutov on Thu, 5 Apr 2018 01:14:14 +0300) References: <m2y3i51o0q.fsf@HIDDEN> <4540850e-1f76-22d9-cf7b-bd680eb34c6b@HIDDEN> <m2o9iy24yb.fsf@HIDDEN> <399191a7-2570-75da-d9b7-12ca8172dc4e@HIDDEN> <871sfubsda.fsf@HIDDEN> <da26f625-e48f-9e47-0f52-0168fae01082@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) > From: Dmitry Gutov <dgutov@HIDDEN> > Date: Thu, 5 Apr 2018 01:14:14 +0300 > > >> What's simpler about that? You'd need some new commands to use it as > >> well, right? > > > > Is the idea to use a ring of next-error capable buffers? > > So that the next-error command in the current buffer > > will return a list of all potentially next-error capable buffers > > and allow the user to select the required one. > > Umm, I don't think the request is anything so ambitious. > > Charles has been asking for a ring to store the navigation locations > visited by xref only. Exactly, this feature request is only about xref. Nevertheless, the idea of a "ring of next-error capable buffers" does sound like it could be useful in its own right -- if anybody wants to open up a bug for that, feel free. Anyway, I suggest we follow the etags implementation of "tags-location-ring". This is all there is to it, in simplified terms: (defun find-tag-noselect ... ... (if (eq '- PREFIX-ARG) ;; Pop back to a previous location. (if (ring-empty-p tags-location-ring) (user-error "No previous tag locations") (let ((marker (ring-remove tags-location-ring 0))) (prog1 ;; Move to the saved location. (set-buffer (or (marker-buffer marker) (error "The marked buffer has been deleted"))) (goto-char (marker-position marker)) ;; Kill that marker so it doesn't slow down editing. (set-marker marker nil nil)))) ;; Else, we jump to wherever we wanted to go, and record and add a ;; marker to tags-location-ring. (let ((marker (make-marker))) (with-current-buffer (find-tag-in-order ...) (set-marker marker (point)) (run-hooks 'local-find-tag-hook) (ring-insert tags-location-ring marker) (current-buffer))))))
X-Loop: help-debbugs@HIDDEN Subject: bug#31027: 27.0.50; xref, tags-location-ring equivalent Resent-From: Dmitry Gutov <dgutov@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 05 Apr 2018 21:06:01 +0000 Resent-Message-ID: <handler.31027.B31027.152296231218394 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 31027 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Charles A. Roelli" <charles@HIDDEN> Cc: 31027 <at> debbugs.gnu.org, juri@HIDDEN Received: via spool by 31027-submit <at> debbugs.gnu.org id=B31027.152296231218394 (code B ref 31027); Thu, 05 Apr 2018 21:06:01 +0000 Received: (at 31027) by debbugs.gnu.org; 5 Apr 2018 21:05:12 +0000 Received: from localhost ([127.0.0.1]:39688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1f4C4G-0004mc-Ac for submit <at> debbugs.gnu.org; Thu, 05 Apr 2018 17:05:12 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:54040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <raaahh@HIDDEN>) id 1f4C4E-0004mQ-Ri for 31027 <at> debbugs.gnu.org; Thu, 05 Apr 2018 17:05:11 -0400 Received: by mail-wm0-f54.google.com with SMTP id p9so9032087wmc.3 for <31027 <at> debbugs.gnu.org>; Thu, 05 Apr 2018 14:05:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=obvpE8IEONrrbxfOn0I3+zUrp0R0kaca3gAMDh9Yzrw=; b=j75wnDkBtVe0iv7tbX8ZURg+uOZd5huMluGTNjbmEY/oAWeeFXWZHwwy+7U2Pdqo0X kvuc4U/XeplY4fqZXqLOdmf4KuCjcaS2UsHz0oQ46bw7NFlTNbOAplyhd7Hg3B0yAy4N ScV6F5Y0pmwvh9S0jDEbQs2oxsHD1ryWAjRZQQHue1E3vHmHVGKDh8Nk1lBOdsGWZaFr MbDSfY32O3VHmC0EqzjCYHdvf+drk3NBCwiZjdEsE4eb7UePDFjpWT2PPjwTn6K0zoIK 39NI8HOkqAr3s2cAswV3/Bt9ifoyNGljGIZkA5vOINeUiJkx8lxs7tLSFd0KopuYlzDO 6njg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=obvpE8IEONrrbxfOn0I3+zUrp0R0kaca3gAMDh9Yzrw=; b=AknamR2Sss7ah8wgXJ1Vndzxk+0Geya2Ta3pLm2Hiq1RfMKJgrZf9Jlya+2wtAY/MP Y63g/QVkID3UizQc0QP2GaF5FnSq135XMcU7b5xoLLkE0npPlmKLJNh7vMwSUPtyxcfU ryHWh4uVw3mLSYh8cEn4Jt9p8CqnD4B2l+1lAe9E3PGG4i+BBtcim8FACFzJalIOjeXp rONkj2XkksJZiCJ7tKZTmOtu0uaWGmSWFsMK+vwQ2dB42++ErCRDyv79nrK59c1i4t7z pA774LYhJp2+NsWIHVxLeF6YDpHGD54vm0EiYutRZ1/d+a+176usqgrXwAHGYBBicnJw f6Dw== X-Gm-Message-State: ALQs6tDEhYUIaieQ+O6BQqzmy4FSHIfPdvXUU9H34nKYc2u73gt28jIR 428U1C0lS04jO7ftMCdhdFMeC/LC X-Google-Smtp-Source: AIpwx49XFm3Casqia6KRTIv0qQ5rDqT95sAgGxjkMGEvgCGfAELC4vky8bR2s03gzuvNKifLSVGAkg== X-Received: by 10.28.241.18 with SMTP id p18mr12620180wmh.40.1522962304824; Thu, 05 Apr 2018 14:05:04 -0700 (PDT) Received: from [192.168.1.3] ([185.105.174.23]) by smtp.googlemail.com with ESMTPSA id g185sm12103012wmf.40.2018.04.05.14.05.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Apr 2018 14:05:03 -0700 (PDT) References: <m2y3i51o0q.fsf@HIDDEN> <4540850e-1f76-22d9-cf7b-bd680eb34c6b@HIDDEN> <m2o9iy24yb.fsf@HIDDEN> <399191a7-2570-75da-d9b7-12ca8172dc4e@HIDDEN> <871sfubsda.fsf@HIDDEN> <da26f625-e48f-9e47-0f52-0168fae01082@HIDDEN> <m237091nzd.fsf@HIDDEN> From: Dmitry Gutov <dgutov@HIDDEN> Message-ID: <9664ec28-64cf-7711-ab35-8300c70f5908@HIDDEN> Date: Fri, 6 Apr 2018 00:05:01 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <m237091nzd.fsf@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.5 (/) On 4/5/18 9:56 PM, Charles A. Roelli wrote: > Anyway, I suggest we follow the etags implementation of > "tags-location-ring". This is all there is to it, in simplified > terms: You mean, supporting a negative argument to xref-find-definitions? As well as successive invocations that move between matches? Not sure we really want to do that: after all, the xref interface already provides the means to select among the locations. And we have previous/next-error More opinions welcome, of course.
X-Loop: help-debbugs@HIDDEN Subject: bug#31027: 27.0.50; xref, tags-location-ring equivalent Resent-From: Juri Linkov <juri@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 07 Apr 2018 21:58:02 +0000 Resent-Message-ID: <handler.31027.B31027.152313825212236 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 31027 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov <dgutov@HIDDEN> Cc: "Charles A. Roelli" <charles@HIDDEN>, 31027 <at> debbugs.gnu.org Received: via spool by 31027-submit <at> debbugs.gnu.org id=B31027.152313825212236 (code B ref 31027); Sat, 07 Apr 2018 21:58:02 +0000 Received: (at 31027) by debbugs.gnu.org; 7 Apr 2018 21:57:32 +0000 Received: from localhost ([127.0.0.1]:41615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1f4vq0-0003BI-Kq for submit <at> debbugs.gnu.org; Sat, 07 Apr 2018 17:57:32 -0400 Received: from sub3.mail.dreamhost.com ([69.163.253.7]:39126 helo=homiemail-a18.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1f4vpz-0003BA-An for 31027 <at> debbugs.gnu.org; Sat, 07 Apr 2018 17:57:31 -0400 Received: from homiemail-a18.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a18.g.dreamhost.com (Postfix) with ESMTP id 2E1FB258067; Sat, 7 Apr 2018 14:57:30 -0700 (PDT) Received: from localhost.linkov.net (m91-129-105-236.cust.tele2.ee [91.129.105.236]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jurta@HIDDEN) by homiemail-a18.g.dreamhost.com (Postfix) with ESMTPSA id E2EA8258066; Sat, 7 Apr 2018 14:57:28 -0700 (PDT) From: Juri Linkov <juri@HIDDEN> Organization: LINKOV.NET References: <m2y3i51o0q.fsf@HIDDEN> <4540850e-1f76-22d9-cf7b-bd680eb34c6b@HIDDEN> <m2o9iy24yb.fsf@HIDDEN> <399191a7-2570-75da-d9b7-12ca8172dc4e@HIDDEN> <871sfubsda.fsf@HIDDEN> <da26f625-e48f-9e47-0f52-0168fae01082@HIDDEN> Date: Sat, 07 Apr 2018 23:56:35 +0300 In-Reply-To: <da26f625-e48f-9e47-0f52-0168fae01082@HIDDEN> (Dmitry Gutov's message of "Thu, 5 Apr 2018 01:14:14 +0300") Message-ID: <878t9yzqf0.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) >>> Whether next-error-function is going to be local or not, is subject to >>> discussion, see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20489 and >>> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30674. >> >> I have a wish to close these overgrown bugreports and redesign this feature >> from scratch ;) > > The newer one is not so overgrown yet. I do wish we revert the part where > next-error-function is buffer local, though, and then you could design this > possibility as a user option. We discussed the approaches, but it comes out > pretty complex no matter the way you look at it. I'll post a request for comments to emacs-devel shortly.
X-Loop: help-debbugs@HIDDEN Subject: bug#31027: 27.0.50; xref, tags-location-ring equivalent Resent-From: charles@HIDDEN (Charles A. Roelli) Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 08 Apr 2018 09:14:01 +0000 Resent-Message-ID: <handler.31027.B31027.15231788009412 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 31027 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov <dgutov@HIDDEN> Cc: 31027 <at> debbugs.gnu.org, juri@HIDDEN Received: via spool by 31027-submit <at> debbugs.gnu.org id=B31027.15231788009412 (code B ref 31027); Sun, 08 Apr 2018 09:14:01 +0000 Received: (at 31027) by debbugs.gnu.org; 8 Apr 2018 09:13:20 +0000 Received: from localhost ([127.0.0.1]:41896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1f56O0-0002Rk-F4 for submit <at> debbugs.gnu.org; Sun, 08 Apr 2018 05:13:20 -0400 Received: from sinyavsky.aurox.ch ([37.35.109.145]:42636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <charles@HIDDEN>) id 1f56Nw-0002RV-Mw for 31027 <at> debbugs.gnu.org; Sun, 08 Apr 2018 05:13:19 -0400 Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id 6A3C922704 for <31027 <at> debbugs.gnu.org>; Sun, 8 Apr 2018 09:14:19 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= references:subject:subject:in-reply-to:to:from:from:message-id :date:date; s=dkim; t=1523178857; x=1524042858; bh=dmCb0SMouUS6r 8UUW7zWwTgm9lHrulPUvmzFGxIHNOM=; b=krwhybER0LsxPhe0lR8A+cAJjgGVC jIxfEpU9R6+OAVXVWx/SkqqsB9k9MoXcxx1s5bfDPSsdGtQ+Qf5ufHhpquoAoytx n+FE3I6m8oQtfRo92VPcuHXF5/utpeuYM9ov8Xm3aBcZaH/UiKAcy5cyYrfAiOxR S4IXDuWikkGcjQ= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id BqGA2R1dQkWI for <31027 <at> debbugs.gnu.org>; Sun, 8 Apr 2018 09:14:17 +0000 (UTC) Received: from gray (202.100.1.85.dynamic.wline.res.cust.swisscom.ch [85.1.100.202]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 809BF226F0; Sun, 8 Apr 2018 09:14:17 +0000 (UTC) Date: Sun, 08 Apr 2018 11:14:14 +0200 Message-Id: <m21sfq12mx.fsf@HIDDEN> From: charles@HIDDEN (Charles A. Roelli) In-reply-to: <9664ec28-64cf-7711-ab35-8300c70f5908@HIDDEN> (message from Dmitry Gutov on Fri, 6 Apr 2018 00:05:01 +0300) References: <m2y3i51o0q.fsf@HIDDEN> <4540850e-1f76-22d9-cf7b-bd680eb34c6b@HIDDEN> <m2o9iy24yb.fsf@HIDDEN> <399191a7-2570-75da-d9b7-12ca8172dc4e@HIDDEN> <871sfubsda.fsf@HIDDEN> <da26f625-e48f-9e47-0f52-0168fae01082@HIDDEN> <m237091nzd.fsf@HIDDEN> <9664ec28-64cf-7711-ab35-8300c70f5908@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: 31027 <at> debbugs.gnu.org, juri@HIDDEN > From: Dmitry Gutov <dgutov@HIDDEN> > Date: Fri, 6 Apr 2018 00:05:01 +0300 > > On 4/5/18 9:56 PM, Charles A. Roelli wrote: > > Anyway, I suggest we follow the etags implementation of > > "tags-location-ring". This is all there is to it, in simplified > > terms: > > You mean, supporting a negative argument to xref-find-definitions? Yes. > As > well as successive invocations that move between matches? Successive invocations wouldn't be handled specially, I think; they would just show entries further back in the location ring. > Not sure we really want to do that: after all, the xref interface > already provides the means to select among the locations. Can you clarify what you mean by this? How can I use xref to navigate among the N previous locations that have been jumped to? If that functionality already exists, then this discussion is moot. > And we have > previous/next-error It's difficult to say whether "next-error" can do what this request is asking for, when "next-error" and its relation to xref have yet to be defined. From what I can see, it looks like a different ball game. For example, the doc of "next-error-function" says it's the Function to use to find the next error in the current buffer. But this request is asking for a way to navigate among the locations jumped to in any buffer, not just one. Additionally, there's no guarantee that the "next' or "previous error" in the current buffer would happen to coincide with the previous location jumped to globally. I don't see how those two things relate to each other, since an "error" can be one of many different things: a compiler error, a search result, a changed part of a buffer, or with the xref package, a symbol definition. The scope of "errors" is very broad.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.