GNU bug report logs - #10032
24.0.91; "C-x C-<SPC>" seems broken

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Sat, 12 Nov 2011 23:57:02 UTC

Severity: minor

Found in version 24.0.91

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Johan Bockgård <bojohan <at> gnu.org>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 10032 <at> debbugs.gnu.org
Subject: Re: bug#10032: 24.0.91; "C-x C-<SPC>" seems broken
Date: Sun, 13 Nov 2011 03:23:32 +0100
Dani Moncayo <dmoncayo <at> gmail.com> writes:

> From "emacs -Q":
> 1. Move point to the second line and set the mark there (C-<SPC> C-<SPC>).
> 2. Move point to the third line and set the mark there.
> 3. Move point to the fourth line.
> 4. Type "C-x C-<SPC>".
>
> Expected result: Point jumps to the more recent mark, i.e., to the third line.
> Observed result: Point jumps to the second line.  Moreover, subsequent
> "C-x C-<SPC>" don't cycle through the marks.

This is intentional. According to the doc string of set-mark-command:

    Also push the old mark on global mark ring, if the previous mark was
    set in another buffer.

On the other hand, the manual disagrees:

    Each time you set a mark, in any buffer, this is recorded in the
    global mark ring in addition to the current buffer's own mark ring.

    -- (info "(emacs) Global Mark Ring")




This bug report was last modified 13 years and 184 days ago.

Previous Next


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