[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#31027: 27.0.50; xref, tags-location-ring equivalent

From: Dmitry Gutov
Subject: bug#31027: 27.0.50; xref, tags-location-ring equivalent
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

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]