From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: Binding C-x C-RET ? Date: Wed, 17 May 2006 18:15:49 +0200 Organization: Organization?!? Message-ID: <85lkt0pqyy.fsf@lola.goethe.zz> References: <874pzo67ar.fsf@tallis.ilo.ucl.ac.uk> <85psicpry3.fsf@lola.goethe.zz> <874pzod6ug.fsf@tallis.ilo.ucl.ac.uk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1147884156 23057 80.91.229.2 (17 May 2006 16:42:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 May 2006 16:42:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 17 18:42:33 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FgP6B-0002rp-Qo for geh-help-gnu-emacs@m.gmane.org; Wed, 17 May 2006 18:42:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FgP6B-00046X-DD for geh-help-gnu-emacs@m.gmane.org; Wed, 17 May 2006 12:42:11 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newsfeed-east.nntpserver.com!nntpserver.com!statler.nntpserver.com!newsfeed.arcor.de!news.arcor.de!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:xg12XKc6kDKjzMqgUyvTe9QHJt0= Original-Lines: 27 Original-NNTP-Posting-Date: 17 May 2006 18:16:10 MEST Original-NNTP-Posting-Host: 013f976b.newsread2.arcor-online.net Original-X-Trace: DXC=1Oa; kimOAY[H^J66Eo??P_Q5U85hF6f; TjW\KbG]kaMX[NGU2GAcMGZNA>:[`gB6>]Q1Yo0:e7@P[c[Wn>\JAZHP1\F@YcEWMR\COZTGL=7[P] Original-X-Complaints-To: usenet-abuse@arcor.de Original-Xref: shelby.stanford.edu gnu.emacs.help:139489 Original-To: help-gnu-emacs@gnu.org 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:35112 Archived-At: Bastien writes: > David Kastrup writes: > >> Well, \\ is a backslash. You'd better write "\C-x\C-\r". > > I thought i need to escape "\r" the same way "\C" is escaped. > >> But you could write >> >> (global-set-key (kbd "C-x C-RET") 'execute-extended-command) > > ... not working here. I don't have any backtrace, since Emacs behaves > normally when evaluating the global-set-key function. > > Can you reproduce that ? Ok, so it was (global-set-key (kbd "C-x ") 'execute-extended-command) Sue me. In short, you write in quotes what C-h k C-x C-RET spews back at you. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum