GNU bug report logs - #74438
29.1; global-mark-ring does not work as described

Previous Next

Package: emacs;

Reported by: Sean McAfee <eefacm <at> gmail.com>

Date: Tue, 19 Nov 2024 20:26:02 UTC

Severity: normal

Found in version 29.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 74438 <at> debbugs.gnu.org (full text, mbox):

From: Nikolay Kudryavtsev <nikolay.kudryavtsev <at> gmail.com>
To: Sean McAfee <eefacm <at> gmail.com>, 74438 <at> debbugs.gnu.org
Subject: Re: bug#74438: 29.1; global-mark-ring does not work as described
Date: Thu, 21 Nov 2024 11:09:44 +0300
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.





This bug report was last modified 245 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.