unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 52417@debbugs.gnu.org, ndame <laszlomail@protonmail.com>
Subject: bug#52417: Mark ring navigation could be two-way
Date: Mon, 13 Dec 2021 10:44:52 +0200	[thread overview]
Message-ID: <86k0g8gagr.fsf@mail.linkov.net> (raw)
In-Reply-To: <f464a5dd-fef6-997c-2c31-e39c2b7125c6@yandex.ru> (Dmitry Gutov's message of "Mon, 13 Dec 2021 04:17:38 +0300")

>> Emacs could have this too by providing a command which allows
>> moving forward in the mark ring.
>
> FWIW, we've recently added xref-go-forward, bound to 'C-M-,', which pairs
> with xref-go-back (which was renamed at the same time), bound to 'M-,'.
>
> A fair number of commands both push to mark ring and call
> xref-push-marker-stack, so you might find this useful.

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?





  reply	other threads:[~2021-12-13  8:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-10 21:20 bug#52417: Mark ring navigation could be two-way ndame via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-11 15:44 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-11 18:34   ` Juri Linkov
2021-12-11 20:11   ` André A. Gomes
2021-12-13  1:17 ` Dmitry Gutov
2021-12-13  8:44   ` Juri Linkov [this message]
2021-12-13 15:09     ` bug#52417: [External] : " Drew Adams
2021-12-13 15:15     ` Dmitry Gutov

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=86k0g8gagr.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=52417@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    --cc=laszlomail@protonmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).