GNU bug report logs - #76565
30.1; emacs xref: cannot jump back to the previous position when `xref-history-storage' is set to `xref-window-local-history'

Previous Next

Package: emacs;

Reported by: Guoyu Ou <benogy <at> gmail.com>

Date: Tue, 25 Feb 2025 19:44:01 UTC

Severity: normal

Found in version 30.1

Fixed in version 30.2

Done: Dmitry Gutov <dmitry <at> gutov.dev>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Guoyu Ou <benogy <at> gmail.com>
To: Dmitry Gutov <dmitry <at> gutov.dev>
Cc: 76565 <at> debbugs.gnu.org
Subject: bug#76565: 30.1; emacs xref: cannot jump back to the previous position when `xref-history-storage' is set to `xref-window-local-history'
Date: Thu, 27 Feb 2025 12:36:36 +0800
[Message part 1 (text/plain, inline)]
Hi,

After applying this patch, I tested my commonly used functions and they are
all working well. Thanks for your patch.

Dmitry Gutov <dmitry <at> gutov.dev> 于2025年2月27日周四 11:51写道:

> Hi!
>
> On 25/02/2025 16:36, Guoyu Ou wrote:
> > I installed emacs 30.1 from debian sid, and found that xref cannot jump
> > back to the previous position when `xref-history-storage` is set to
> > `xref-window-local-history`. It works in emacs 29.4 with xref 1.6.3.
> >
> > ### settings and tests
> >
> > The following is my `~/.emacs`:
> >
> > ```lisp
> > (when (>= emacs-major-version 29)
> >    (setq xref-history-storage 'xref-window-local-history))
> > ```
>
> Thanks for the report. It seems like a regression from fixing bug#65631.
>
> Here's a patch that addresses it.
>
> I'm not 100% convinced it this direction, though, (things are getting
> more complex) so it would be great if it you could try it out and see if
> there are any other scenarios that worked for you before, that still are
> not good with this patch applied.
[Message part 2 (text/html, inline)]

This bug report was last modified 80 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.