all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Possible to rebind C-m to a function? (like any other control key combo?)
Date: Fri, 28 Nov 2008 06:04:58 -0800 (PST)	[thread overview]
Message-ID: <008087bb-f8b6-44b2-a123-d31a0542e368@r10g2000prf.googlegroups.com> (raw)
In-Reply-To: 8fcfe2f5-e707-424e-9896-bd0683fc94a3@s9g2000prg.googlegroups.com

On Nov 27, 11:30 pm, "seber...@spawar.navy.mil"
<seber...@spawar.navy.mil> wrote:
> There seems to be some special use for C-m as I cannot rebind it to a
> function of my choosing like start-kbd-macro.
>
> Is there anyway to make C-m into a "normal" combo I can bind like all
> the others?

there are ways but that gets into pretty hairy emacs customization.

Ctrl+m is same as Enter in emacs. Best to avoid rebinding it.
Similar is Ctrl+i and Tab key.

The reason it's like that is because emacs's history, namely the
ascii.

Note also, by default, starting/ending keyboard macro is F2 and F3.
For a visual layout, see:

• Emacs's Keybinding Layout
  http://xahlee.org/emacs/emacs_kb_shortcuts.html

  Xah
∑ http://xahlee.org/

  parent reply	other threads:[~2008-11-28 14:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-28  7:30 Possible to rebind C-m to a function? (like any other control key combo?) seberino
2008-11-28  9:42 ` Xend
2008-11-28 14:04 ` Xah Lee [this message]
2008-11-28 19:43   ` seberino
2008-11-28 20:18     ` Joost Diepenmaat
2008-11-28 23:08     ` Andreas Politz
2008-11-29 18:31     ` Kevin Rodgers
     [not found]     ` <mailman.1512.1227983509.26697.help-gnu-emacs@gnu.org>
2008-11-29 20:39       ` Xah Lee

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

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

  git send-email \
    --in-reply-to=008087bb-f8b6-44b2-a123-d31a0542e368@r10g2000prf.googlegroups.com \
    --to=xahlee@gmail.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.