all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: charles@aurox.ch (Charles A. Roelli)
Cc: 31027@debbugs.gnu.org
Subject: bug#31027: 27.0.50; xref, tags-location-ring equivalent
Date: Tue, 03 Apr 2018 09:15:33 +0200	[thread overview]
Message-ID: <87efjwyd4a.fsf@gmail.com> (raw)
In-Reply-To: <m2y3i51o0q.fsf@aurox.ch> (Charles A. Roelli's message of "Mon, 02 Apr 2018 20:06:29 +0200")

charles@aurox.ch (Charles A. Roelli) writes:

> 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.

xref has a marker stack. The following is bound to "M-," by default.

(defun xref-pop-marker-stack ()
  "Pop back to where \\[xref-find-definitions] was last invoked."
  (interactive)

Robert





  reply	other threads:[~2018-04-03  7:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-02 18:06 bug#31027: 27.0.50; xref, tags-location-ring equivalent Charles A. Roelli
2018-04-03  7:15 ` Robert Pluim [this message]
2018-04-03 17:58   ` Charles A. Roelli
2018-04-03 20:32 ` Dmitry Gutov
2018-04-04 18:37   ` Charles A. Roelli
2018-04-04 18:57     ` Dmitry Gutov
2018-04-04 19:25       ` Eli Zaretskii
2018-04-04 20:59       ` Juri Linkov
2018-04-04 22:14         ` Dmitry Gutov
2018-04-05 18:56           ` Charles A. Roelli
2018-04-05 21:05             ` Dmitry Gutov
2018-04-08  9:14               ` Charles A. Roelli
2018-04-07 20:56           ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87efjwyd4a.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=31027@debbugs.gnu.org \
    --cc=charles@aurox.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.