unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Johan Bockgård" <bojohan@gnu.org>
To: Dani Moncayo <dmoncayo@gmail.com>
Cc: 10032@debbugs.gnu.org
Subject: bug#10032: 24.0.91; "C-x C-<SPC>" seems broken
Date: Sun, 13 Nov 2011 03:23:32 +0100	[thread overview]
Message-ID: <87pqgwoj4r.fsf@gnu.org> (raw)
In-Reply-To: <CAH8Pv0jpDnSe6qcGO_AeV4gGHa+3PxzJ42LYoK3hGcSMbhzcvA@mail.gmail.com> (Dani Moncayo's message of "Sun, 13 Nov 2011 00:55:47 +0100")

Dani Moncayo <dmoncayo@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")





  reply	other threads:[~2011-11-13  2:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-12 23:55 bug#10032: 24.0.91; "C-x C-<SPC>" seems broken Dani Moncayo
2011-11-13  2:23 ` Johan Bockgård [this message]
2011-11-13  7:43   ` Dani Moncayo
2011-11-13 12:03     ` Johan Bockgård
2011-11-21  6:16       ` Chong Yidong

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=87pqgwoj4r.fsf@gnu.org \
    --to=bojohan@gnu.org \
    --cc=10032@debbugs.gnu.org \
    --cc=dmoncayo@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).