GNU bug report logs - #52417
Mark ring navigation could be two-way

Previous Next

Package: emacs;

Reported by: ndame <laszlomail <at> protonmail.com>

Date: Fri, 10 Dec 2021 21:21:01 UTC

Severity: wishlist

Full log


Message #35 received at 52417 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Juri Linkov <juri <at> linkov.net>
Cc: 52417 <at> debbugs.gnu.org, ndame <laszlomail <at> protonmail.com>
Subject: Re: bug#52417: Mark ring navigation could be two-way
Date: Mon, 13 Dec 2021 18:15:47 +0300
On 13.12.2021 11:44, Juri Linkov wrote:
> Another idea: add a command that will display a*xref*  buffer
> with lines of locations extracted from the global-mark-ring.
> This will allow visiting mark locations from the mark list.
> Maybe this can be implemented by just adding a new xref backend?
> 

An Xref backend is something used automatically. This one would shadow 
some "real" backends that provide code navigation, for example.

But we could have a command which lists the entries from 
global-mark-ring in an Xref results buffer, allowing navigation across 
them, or jumping to a specific one.

But I guess one problem is xref--show-xrefs also pushes mark to mark 
ring (including the global one). So using the aforementioned command 
would automatically alter its results list.

But maybe it's not too much of a problem.




This bug report was last modified 3 years and 183 days ago.

Previous Next


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