From: Tim Johnson <tim@akwebsoft.com>
To: Emacs <Help-gnu-emacs@gnu.org>
Subject: Re: bundling C-u C-space
Date: Sat, 10 Oct 2015 13:24:04 -0800 [thread overview]
Message-ID: <20151010212404.GJ3342@mail.akwebsoft.com> (raw)
In-Reply-To: <628afed9-4639-4357-b0ee-9ee3c998228e@default>
* Drew Adams <drew.adams@oracle.com> [151010 12:47]:
> > > I'd like to get the functionality of Control-u Control-space in
> > > one keystroke (for instance, Control-,)
> >
> > (global-set-key (kbd "C-,") 'pop-to-mark-command)
>
> BTW, you could discover `pop-to-mark-command' (it is not mentioned
> in the manual) this way:
>
> C-h k C-@
> tells you that that command is `set-mark-command'.
>
> Click the link in buffer *Help* that takes you to the command
> definition in `simple.el'.
>
> M-x debug-on-entry set-mark-command
>
> C-u C-@
>
> and walk through the debugger, to see what functions are used
> to provide the behavior. You'll see that only function
> `pop-to-mark-command' is invoked.
>
> It's name suggests that it might be a command, but
> `C-h f pop-to-mark-command' confirms this. It is all you need.
As I expected ... additional edification.
Do I understand correctly that 4 is the default value when C-u is
used without a value
as in C-u C-@
?
Thanks, Drew
--
Tim
http://www.akwebsoft.com, http://www.tj49.com
next prev parent reply other threads:[~2015-10-10 21:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-10 20:03 bundling C-u C-space Tim Johnson
2015-10-10 20:30 ` Drew Adams
2015-10-10 20:36 ` Drew Adams
2015-10-10 21:24 ` Tim Johnson [this message]
2015-10-10 21:51 ` Drew Adams
2015-10-10 22:51 ` Tim Johnson
2015-10-11 22:44 ` Emanuel Berg
2015-10-12 0:51 ` Emanuel Berg
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=20151010212404.GJ3342@mail.akwebsoft.com \
--to=tim@akwebsoft.com \
--cc=Help-gnu-emacs@gnu.org \
/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.
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).