unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 52417@debbugs.gnu.org
Cc: laszlomail@protonmail.com
Subject: bug#52417: Mark ring navigation could be two-way
Date: Sat, 11 Dec 2021 16:44:13 +0100	[thread overview]
Message-ID: <m1wnkbkuya.fsf@yahoo.es> (raw)
In-Reply-To: <-j5gTcLQGFew-tw_ci6TkJS4FRkRAci7rQ_Blw_-TN1RWE9pvew0hgL9b78KA4pBSbBO7bVAGGslf5ilY8JbalPxdpPibWBkQ4oqm0hCOfo=@protonmail.com> (ndame via's message of "Fri, 10 Dec 2021 21:20:06 +0000")

ndame via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs@gnu.org> writes:

> Other tools has similar features like the mark ring and they
> provide two-way navigation, so you can go back to some previous
> position to check something, and then you can go forward in the
> ring to get back to a more recent position or the latest position
> if you want.
>
> Emacs could have this too by providing a command which allows
> moving forward in the mark ring.

+1.  I agree that this is a useful feature that would improve the text
editing capabilities of Emacs.  In Vim, you can use C-i and C-o to
navigate forwards and backwards, respectively.

A similar thing happens with the kill-ring.  M-y moves the last-yank
pointer in one direction, but there could be a command to move it in the
opposite direction.  Even if the mark and kill ring cycle, it is
inconvenient to browse them in one direction only, because as modern
computers have more memory available, the rings can store more things.

This is probably one of the reasons why there are a lot of external
packages that let you browse the contents of the mark-ring and kill-ring
in the minibuffer or a separate buffer.





  reply	other threads:[~2021-12-11 15: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 [this message]
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
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=m1wnkbkuya.fsf@yahoo.es \
    --to=bug-gnu-emacs@gnu.org \
    --cc=52417@debbugs.gnu.org \
    --cc=laszlomail@protonmail.com \
    --cc=mardani29@yahoo.es \
    /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).