unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Nathaniel Flath <flat0103@gmail.com>
To: Peter Dyballa <Peter_Dyballa@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Binding C-m and RETURN seperately
Date: Mon, 12 Apr 2010 13:34:59 -0700	[thread overview]
Message-ID: <v2v5e3a506e1004121334x6c33d687l77ee778c9751e7f9@mail.gmail.com> (raw)
In-Reply-To: <6CECB267-E477-4CF1-BF1C-97B61C32D066@Web.DE>

[-- Attachment #1: Type: text/plain, Size: 875 bytes --]

I don't quite understand what this means - I have
(global-define-key (kbd "C-m") 'execute-extended-command)
but it also binds RETURN.  How do I make the input events distinguishable?
I'm not running emacs in a terminal.

Thank,s
Nathaniel Flath

On Mon, Apr 12, 2010 at 1:18 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:

>
> Am 12.04.2010 um 22:07 schrieb Nathaniel Flath:
>
>
>  Is there a way to bind C-m and return to different keybindings?
>>
>
>
> Yes, of course. The input events just need to be distinguishable for GNU
> Emacs.
>
> --
> Greetings
>
>  Pete
>
> Email is a wonderful thing for people whose role in life is to be on top of
> things. But not for me; my role is to be on the bottom of things. What I do
> takes long hours of studying and uninterruptible concentration.
>                                – Donald Knuth
>
>

[-- Attachment #2: Type: text/html, Size: 1384 bytes --]

  reply	other threads:[~2010-04-12 20:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-12 20:07 Binding C-m and RETURN seperately Nathaniel Flath
2010-04-12 20:18 ` Peter Dyballa
2010-04-12 20:34   ` Nathaniel Flath [this message]
2010-04-12 20:54     ` Eli Zaretskii
2010-04-12 21:03     ` Drew Adams

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=v2v5e3a506e1004121334x6c33d687l77ee778c9751e7f9@mail.gmail.com \
    --to=flat0103@gmail.com \
    --cc=Peter_Dyballa@web.de \
    --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).