From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nathaniel Flath Newsgroups: gmane.emacs.help Subject: Re: Binding C-m and RETURN seperately Date: Mon, 12 Apr 2010 13:34:59 -0700 Message-ID: References: <6CECB267-E477-4CF1-BF1C-97B61C32D066@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd25eae33dae00484101437 X-Trace: dough.gmane.org 1271104631 9439 80.91.229.12 (12 Apr 2010 20:37:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 12 Apr 2010 20:37:11 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 12 22:37:10 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O1QNU-0002Ow-0O for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Apr 2010 22:37:04 +0200 Original-Received: from localhost ([127.0.0.1]:40621 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1QNT-0006HA-Cq for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Apr 2010 16:37:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O1QLX-0005s0-Nz for help-gnu-emacs@gnu.org; Mon, 12 Apr 2010 16:35:03 -0400 Original-Received: from [140.186.70.92] (port=48429 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1QLW-0005rM-9T for help-gnu-emacs@gnu.org; Mon, 12 Apr 2010 16:35:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O1QLV-00025q-64 for help-gnu-emacs@gnu.org; Mon, 12 Apr 2010 16:35:02 -0400 Original-Received: from mail-pw0-f41.google.com ([209.85.160.41]:36093) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1QLV-00025c-0d for help-gnu-emacs@gnu.org; Mon, 12 Apr 2010 16:35:01 -0400 Original-Received: by pwi2 with SMTP id 2so6031861pwi.0 for ; Mon, 12 Apr 2010 13:35:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=JqdFlkCHCEnwjfu0hljAIhxUFT/BSpNjvs9FtNtkdlo=; b=U35e1nfd9osjctMGTmPnb9pLvLV4k3huHK2dzfXplyA95AH7RCXxdR9+ORAwbYkX+z 62bJgXQquUgUD+slttscgeUbPgYnJ8kQPxyU583zxKrlpGO1fZXlZfuxQTeHJZuet8ys oE/rIBkp0fYajzrTLEFFK/phVJR1iIDrIaT9w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=OlDNB4yMpBfbbVeSStyW2gsVTMiXPAU1nJUOBpuI/mvGET4A7zVQq0Ub36D2UjcWrn ZxJ0VoOAfGrNdY4WiIcEcsRnXWq1aXXyk+ot4VLpAaqWBTX9j3MjJAzkhSWwHFR0Ocu0 kekb0m577Mg+k9ztlAAb9f8qjaRbxp71NqEDc= Original-Received: by 10.140.177.13 with HTTP; Mon, 12 Apr 2010 13:34:59 -0700 (PDT) In-Reply-To: <6CECB267-E477-4CF1-BF1C-97B61C32D066@Web.DE> Original-Received: by 10.140.87.23 with SMTP id k23mr4269112rvb.108.1271104500127; Mon, 12 Apr 2010 13:35:00 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72658 Archived-At: --000e0cd25eae33dae00484101437 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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 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. > =96 Donald Knuth > > --000e0cd25eae33dae00484101437 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable I don't quite understand what this means - I have
(global-define-key= (kbd "C-m") 'execute-extended-command)
but it also binds = RETURN.=A0 How do I make the input events distinguishable?=A0 I'm not r= unning emacs in a terminal.

Thank,s
Nathaniel Flath

On Mon, Ap= r 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 Em= acs.

--
Greetings

=A0Pete

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 d= o takes long hours of studying and uninterruptible concentration.
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=96 Donald = Knuth


--000e0cd25eae33dae00484101437--