From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 13 15:36:10 2019 Received: (at submit) by debbugs.gnu.org; 13 Feb 2019 20:36:11 +0000 Received: from localhost ([127.0.0.1]:47374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gu1GM-0003cl-Jd for submit@debbugs.gnu.org; Wed, 13 Feb 2019 15:36:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54275) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gu1GK-0003cY-S1 for submit@debbugs.gnu.org; Wed, 13 Feb 2019 15:36:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:38201) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gu1GE-00012k-Mr for submit@debbugs.gnu.org; Wed, 13 Feb 2019 15:36:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40411) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gu1GD-0005VV-Sm for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2019 15:36:02 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, FROM_EXCESS_BASE64,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gu1GC-00010U-9b for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2019 15:36:01 -0500 Received: from mail-vs1-xe2a.google.com ([2607:f8b0:4864:20::e2a]:42961) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gu1GB-0000xr-WE for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2019 15:36:00 -0500 Received: by mail-vs1-xe2a.google.com with SMTP id b20so2232451vsl.9 for ; Wed, 13 Feb 2019 12:35:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=QON5JHHGqBeJiniyRpiRlMpjcpDN9tzusT52qaHPHew=; b=EWc2J+2iZ0LfQNyY/omeDFvqIfRb7xnSl4VPEV3XryNlC+Jee2XXv5gxMgiFzM729b F1C1kl4Z40emYM8GRPjA3gxE8WA8eoCWwzqbBcilNzK/PSHdMNxZJeLDLoqiNlKIKibZ zHaB0qFfVz5UP9XzbZNz7cmqp8unmk2U5BWfKBtprCETULexV5a6VxETHCBDimIH+HHH nLK7w6ROj8AgUNLDhWiPZzeySmkDpa+I3I5rY2nlpvuErbDRXg4msSRwqaKtIBb3C+QS uXpMMV5GqlrJvukgpA7scplbqfacU4/DCkqCYlJ/Tlj0OPBbCC2+TU0tLlG59URJdogi eHug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=QON5JHHGqBeJiniyRpiRlMpjcpDN9tzusT52qaHPHew=; b=YjHDxmout4BJT0Sfwk/AMZX+mmnaRRxfXfyFf9ZXpTt6DX0J5aPHid2QDbpdiTws9N PrFf4McVNym7GhrLB8LelWZpOh6YMTR7+2gbIIIjc3woqDz685QC4bv1jCkx65xy/VjQ uRBB4LsHHlkdwddOoKIiyRNT0KKyMUjr1gHt9d5iCLTINGOGlVGEZ4d32UYCi34NgOlX APaBP7swRzmN0vfuSjmvuZxLWjD9MP7XpeblxOp2dseVfuDGZUb97CppZeeIIXvd6n+X KOmj4mZyH/e9I2GANmuFkZozjzdyY5vElDp+zFZGGS04ttOfjXx8EbmsYxOfdS4dYsF4 7aQg== X-Gm-Message-State: AHQUAuYUIBviey90I41riaDfH9ezVkac5qjq1tTemohZQEsH/MI5fq55 o0xDJVHQF03aG/R3RUu+ZCeGIsI+Z/5Bi+s2E5/0RgFu X-Google-Smtp-Source: AHgI3IY7qQnw3ANcLGgguooaNxaaXXyJBinWzXnVZamxU7SS3aqe6izB65WJ7A6ys6q3okfFRTXHDkL2NBm3lyx4IqY= X-Received: by 2002:a67:d003:: with SMTP id r3mr1161104vsi.173.1550090157888; Wed, 13 Feb 2019 12:35:57 -0800 (PST) MIME-Version: 1.0 From: =?UTF-8?B?RmVsaWNpw6FuIE7DqW1ldGg=?= Date: Wed, 13 Feb 2019 21:35:46 +0100 Message-ID: Subject: [PATCH] Fix jumping to the current error in xref To: bug-gnu-emacs@gnu.org Content-Type: multipart/mixed; boundary="0000000000003b3e810581cc7d18" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::e2a X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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 pro [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (felician.nemeth[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 HTML_MESSAGE BODY: HTML included in message 0.1 FROM_EXCESS_BASE64 From: base64 encoded unnecessarily X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.1 (/) --0000000000003b3e810581cc7d18 Content-Type: multipart/alternative; boundary="0000000000003b3e7e0581cc7d16" --0000000000003b3e7e0581cc7d16 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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. Thanks, Felici=C3=A1n --0000000000003b3e7e0581cc7d16 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I sometimes find useful = to return to the current reference after examining its context. However, xr= ef--next-error-function fails to jump to the current reference. The followi= ng steps reproduce the problem.

emacs -Q lisp/progmodes/xref.el
M-? xref-make RET
n RET
M-&l= t;
C-u 0 M-g n

I know next-error=C2=A0+ pr= evious-error is a workaround, but the patch fixes the bug.

Thanks,
Felici=C3=A1n

<= /div>
--0000000000003b3e7e0581cc7d16-- --0000000000003b3e810581cc7d18 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Fix-jumping-to-the-current-error-in-xref.patch" Content-Disposition: attachment; filename="0001-Fix-jumping-to-the-current-error-in-xref.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_js3nk5gu0 RnJvbSBjNzc0ZTY0MzQzN2Q0ZmU3YTJhODkxMDYwMzJlYzM3N2IyOGNlMzY5IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/RmVsaWNpPUMzPUExbj0yME49QzM9QTltZXRo Pz0gPGZlbGljaWFuLm5lbWV0aEBnbWFpbC5jb20+CkRhdGU6IFdlZCwgMTMgRmViIDIwMTkgMjE6 MTk6MzYgKzAxMDAKU3ViamVjdDogW1BBVENIXSBGaXgganVtcGluZyB0byB0aGUgY3VycmVudCBl cnJvciBpbiB4cmVmCgoqIHhyZWYuZWwgKHhyZWYtLW5leHQtZXJyb3ItZnVuY3Rpb24pOiBIYW5k bGUgdGhlIGNvcm5lciBjYXNlIG9mCm49PTAuCi0tLQogbGlzcC9wcm9nbW9kZXMveHJlZi5lbCB8 IDYgKysrKy0tCiAxIGZpbGUgY2hhbmdlZCwgNCBpbnNlcnRpb25zKCspLCAyIGRlbGV0aW9ucygt KQoKZGlmZiAtLWdpdCBhL2xpc3AvcHJvZ21vZGVzL3hyZWYuZWwgYi9saXNwL3Byb2dtb2Rlcy94 cmVmLmVsCmluZGV4IDk1MjJkN2U0NzUuLjY5NzRkMDAwNDggMTAwNjQ0Ci0tLSBhL2xpc3AvcHJv Z21vZGVzL3hyZWYuZWwKKysrIGIvbGlzcC9wcm9nbW9kZXMveHJlZi5lbApAQCAtNjk0LDggKzY5 NCwxMCBAQCB4cmVmLS1uZXh0LWVycm9yLWZ1bmN0aW9uCiAgIChsZXQgKChiYWNrd2FyZCAoPCBu IDApKQogICAgICAgICAobiAoYWJzIG4pKQogICAgICAgICAoeHJlZiBuaWwpKQotICAgIChkb3Rp bWVzIChfIG4pCi0gICAgICAoc2V0cSB4cmVmICh4cmVmLS1zZWFyY2gtcHJvcGVydHkgJ3hyZWYt aXRlbSBiYWNrd2FyZCkpKQorICAgIChpZiAoPSBuIDApCisgICAgICAgIChzZXRxIHhyZWYgKGdl dC10ZXh0LXByb3BlcnR5IChwb2ludCkgJ3hyZWYtaXRlbSkpCisgICAgICAoZG90aW1lcyAoXyBu KQorICAgICAgICAoc2V0cSB4cmVmICh4cmVmLS1zZWFyY2gtcHJvcGVydHkgJ3hyZWYtaXRlbSBi YWNrd2FyZCkpKSkKICAgICAoY29uZCAoeHJlZgogICAgICAgICAgICA7OyBTYXZlIHRoZSBjdXJy ZW50IHBvc2l0aW9uICh3aGVuIHRoZSBidWZmZXIgaXMgdmlzaWJsZSwKICAgICAgICAgICAgOzsg aXQgZ2V0cyByZXNldCB0byB0aGF0IHdpbmRvdydzIHBvaW50IGZyb20gdGltZSB0byB0aW1lKS4K LS0gCjIuMTEuMAoK --0000000000003b3e810581cc7d18-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 22 02:47:11 2019 Received: (at 34471) by debbugs.gnu.org; 22 Feb 2019 07:47:11 +0000 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 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 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 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 Date: Fri, 22 Feb 2019 09:47:04 +0200 Message-Id: <83h8cwfeo7.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?Q?Felici=C3=A1n_N=C3=A9meth?= , Dmitry Gutov In-reply-to: (felician.nemeth@gmail.com) Subject: Re: bug#34471: [PATCH] Fix jumping to the current error in xref References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34471 Cc: 34471@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 22 13:36:44 2019 Received: (at 34471) by debbugs.gnu.org; 22 Feb 2019 18:36:45 +0000 Received: from localhost ([127.0.0.1]:48566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gxFgh-0003Nz-6N for submit@debbugs.gnu.org; Fri, 22 Feb 2019 13:36:43 -0500 Received: from forward105p.mail.yandex.net ([77.88.28.108]:53908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gxFgd-0003Ni-QH for 34471@debbugs.gnu.org; Fri, 22 Feb 2019 13:36:41 -0500 Received: from mxback2j.mail.yandex.net (mxback2j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10b]) by forward105p.mail.yandex.net (Yandex) with ESMTP id 8CBA64D404CC; Fri, 22 Feb 2019 21:36:33 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback2j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id bTSlX2jqbH-aWieaklT; Fri, 22 Feb 2019 21:36:32 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1550860592; bh=+oFFPDs0TH8qIK1maCjrWjxpg2Z6cARRlgngaE7rYZ0=; h=Message-Id:Cc:Subject:In-Reply-To:Date:References:To:From; b=ZV3QNQlWeUMUwMA19FJCuoGiohZVbfKPAsqKnZ7n6WcaLVLCdjyjJJfsylhJX6d1L PN3GCd/jBk54tTVtlrKtuRvoG3Wl0FfH7Lj4ZPPPz4+pmJQ8UG2Keh9v9nx2Pz8fgx 13WIZlbn4esthnyt2DnwB7j1UlVFY2UrlSppOuR8= Authentication-Results: mxback2j.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by sas1-b3ec53dbc12b.qloud-c.yandex.net with HTTP; Fri, 22 Feb 2019 21:36:32 +0300 From: Dmitry Gutov To: =?utf-8?B?RmVsaWNpw6FuIE7DqW1ldGg=?= , Eli Zaretskii In-Reply-To: <83h8cwfeo7.fsf@gnu.org> References: <83h8cwfeo7.fsf@gnu.org> Subject: Re: bug#34471: [PATCH] Fix jumping to the current error in xref MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Fri, 22 Feb 2019 21:36:32 +0300 Message-Id: <22893921550860592@sas1-b3ec53dbc12b.qloud-c.yandex.net> Content-Transfer-Encoding: 8bit Content-Type: text/html; charset=utf-8 X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 34471 Cc: "34471@debbugs.gnu.org" <34471@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Hi Eli,

10:48, February 22, 2019, Eli Zaretskii <eliz@gnu.org>:
 From: Felicián Németh
         <felician.nemeth@gmail.com>
 Date: Wed, 13 Feb 2019 21:35:46 +0100

 I know next-error + previous-error is a workaround, but the patch fixes the bug.


Dmitry, any comments? Should I install this?

I didn't have a chance to try it yet, but the code looks okay. Please install if it works for you. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 23 04:38:09 2019 Received: (at 34471-done) by debbugs.gnu.org; 23 Feb 2019 09:38:09 +0000 Received: from localhost ([127.0.0.1]:48885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gxTl3-0005xd-7K for submit@debbugs.gnu.org; Sat, 23 Feb 2019 04:38:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gxTl1-0005xR-L3 for 34471-done@debbugs.gnu.org; Sat, 23 Feb 2019 04:38:08 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxTkv-0008BD-RK; Sat, 23 Feb 2019 04:38:01 -0500 Received: from [176.228.60.248] (port=2211 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gxTku-0002p1-1d; Sat, 23 Feb 2019 04:38:01 -0500 Date: Sat, 23 Feb 2019 11:38:04 +0200 Message-Id: <83wolqq1z7.fsf@gnu.org> From: Eli Zaretskii To: Dmitry Gutov In-reply-to: <22893921550860592@sas1-b3ec53dbc12b.qloud-c.yandex.net> (message from Dmitry Gutov on Fri, 22 Feb 2019 21:36:32 +0300) Subject: Re: bug#34471: [PATCH] Fix jumping to the current error in xref References: <83h8cwfeo7.fsf@gnu.org> <22893921550860592@sas1-b3ec53dbc12b.qloud-c.yandex.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34471-done Cc: 34471-done@debbugs.gnu.org, felician.nemeth@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > From: Dmitry Gutov > Cc: "34471@debbugs.gnu.org" <34471@debbugs.gnu.org> > Date: Fri, 22 Feb 2019 21:36:32 +0300 > > I know next-error + previous-error is a workaround, but the patch fixes the bug. > > Dmitry, any comments? Should I install this? > > I didn't have a chance to try it yet, but the code looks okay. Please install if it works for you. Pushed to the master branch, thanks. From unknown Tue Jun 17 21:57:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 23 Mar 2019 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator