public inbox for
 help / color / mirror / Atom feed
From: Hongyi Zhao <>
Subject: The Emacs keybindings of "C-x [space]" described in a maybe still widely referred tutorial are outdated.
Date: Thu, 7 Apr 2022 09:59:39 +0800	[thread overview]
Message-ID: <> (raw)

I've noticed the "An Introduction to GDB in Emacs" here [1].

The above introduction says the following:

Set a breakpoint by going to the source line of the program you're
debugging, and typing:

C-x [space]

(That's the space bar.) GDB will tell you that you've just set a breakpoint.

But I noticed the following key binding by running `C-h k C-x [space]
RET` on my machine:

rectangle-mark-mode is an autoloaded, interactive and compiled
function defined in rect.el.gz.

(rectangle-mark-mode &optional ARG)

Toggle the region as rectangular.

This is a minor mode.  If called interactively, toggle the
Rectangle-Mark mode mode.  If the prefix argument is positive,
enable the mode, and if it is zero or negative, disable the mode.

If called from Lisp, toggle the mode if ARG is toggle.  Enable the
mode if ARG is nil, omitted, or is a positive number.  Disable the
mode if ARG is a negative number.

To check whether the minor mode is enabled in the current buffer,
evaluate rectangle-mark-mode.

The mode's hook is called both when the mode is enabled and when it is

Activates the region if needed.  Only lasts until the region is deactivated.

View in manual

Key Bindings
ctl-x-map SPC
global-map C-x SPC


Assoc. Prof. Hongsheng Zhao <>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province

             reply	other threads:[~2022-04-07  1:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-07  1:59 Hongyi Zhao [this message]
2022-04-07 10:53 ` Eli Zaretskii
2022-04-07 11:50   ` Hongyi Zhao

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='' \ \ \

* 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.
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).