unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Nikolay Kudryavtsev <nikolay.kudryavtsev@gmail.com>
To: Sean McAfee <eefacm@gmail.com>, 74438@debbugs.gnu.org
Subject: bug#74438: 29.1; global-mark-ring does not work as described
Date: Thu, 21 Nov 2024 11:09:44 +0300	[thread overview]
Message-ID: <37667f67-9c28-4543-a28a-c5d42878dbce@gmail.com> (raw)
In-Reply-To: <CANan03aqkZ2p-bGjLWiodCJsvMCVEi3MccGszkpCvYu_ZPBfiA@mail.gmail.com>

Using the mark ring for programming purposes is generally seen as a faux 
pas, see the docstrings for push-mark and set-mark, which explicitly 
warn against this.

If you still insist, then nothing is really stopping you from short 
circuiting this behavior by say doing a forward-char, set-mark, 
backward-char, set-mark again.

But I also don't understand why do you need buffer 1 mark to be at the 
front of the ring, because it's gonna reliably be as the second element 
in it anyway.






      reply	other threads:[~2024-11-21  8:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-19 20:24 bug#74438: 29.1; global-mark-ring does not work as described Sean McAfee
2024-11-20 10:18 ` Nikolay Kudryavtsev
2024-11-20 14:35   ` Eli Zaretskii
2024-11-21  7:51     ` Nikolay Kudryavtsev
2024-11-21  9:49       ` Eli Zaretskii
2024-11-20 19:16   ` Sean McAfee
2024-11-21  8:09     ` Nikolay Kudryavtsev [this message]

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=37667f67-9c28-4543-a28a-c5d42878dbce@gmail.com \
    --to=nikolay.kudryavtsev@gmail.com \
    --cc=74438@debbugs.gnu.org \
    --cc=eefacm@gmail.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).