From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#34471: [PATCH] Fix jumping to the current error in xref Date: Fri, 22 Feb 2019 09:47:04 +0200 Message-ID: <83h8cwfeo7.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="145715"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34471@debbugs.gnu.org To: =?UTF-8?Q?Felici=C3=A1n_?= =?UTF-8?Q?N=C3=A9meth?= , Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 22 08:48:18 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gx5ZC-000bo7-7u for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Feb 2019 08:48:18 +0100 Original-Received: from localhost ([127.0.0.1]:45857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gx5Z8-0005tZ-Aa for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Feb 2019 02:48:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gx5Z2-0005tU-FU for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2019 02:48:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gx5Z0-0005eD-TD for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2019 02:48:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34010) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gx5Yw-0005ZE-0a for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2019 02:48:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gx5Yv-0002I4-U6 for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2019 02:48:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Feb 2019 07:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34471 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 34471-submit@debbugs.gnu.org id=B34471.15508216318745 (code B ref 34471); Fri, 22 Feb 2019 07:48:01 +0000 Original-Received: (at 34471) by debbugs.gnu.org; 22 Feb 2019 07:47:11 +0000 Original-Received: from localhost ([127.0.0.1]:47554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gx5Y7-0002Gy-I7 for submit@debbugs.gnu.org; Fri, 22 Feb 2019 02:47:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42945) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gx5Y6-0002Gm-1k for 34471@debbugs.gnu.org; Fri, 22 Feb 2019 02:47:10 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gx5Y0-00050p-1o; Fri, 22 Feb 2019 02:47:04 -0500 Original-Received: from [176.228.60.248] (port=1904 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gx5Xz-0007DT-LB; Fri, 22 Feb 2019 02:47:03 -0500 In-reply-to: (felician.nemeth@gmail.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:155631 Archived-At: > From: Felicián Németh > > Date: Wed, 13 Feb 2019 21:35:46 +0100 > > I sometimes find useful to return to the current reference after examining its context. However, > xref--next-error-function fails to jump to the current reference. The following steps reproduce the problem. > > emacs -Q lisp/progmodes/xref.el > M-? xref-make RET > n RET > M-< > C-u 0 M-g n > > I know next-error + previous-error is a workaround, but the patch fixes the bug. Dmitry, any comments? Should I install this? Thanks.