From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Hello,how can i use the comma and dot in the config file .emacs Date: Wed, 22 Feb 2012 10:55:06 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1329904522 8225 80.91.229.3 (22 Feb 2012 09:55:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Feb 2012 09:55:22 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: robby lee Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 22 10:55:21 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S08uu-0006lD-9A for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Feb 2012 10:55:20 +0100 Original-Received: from localhost ([::1]:57103 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S08ut-0005Z4-By for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Feb 2012 04:55:19 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:56197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S08uo-0005Yx-PO for help-gnu-emacs@gnu.org; Wed, 22 Feb 2012 04:55:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S08uj-0001Nm-1E for help-gnu-emacs@gnu.org; Wed, 22 Feb 2012 04:55:14 -0500 Original-Received: from fmmailgate05.web.de ([217.72.192.243]:33317) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S08ui-0001NL-Ox for help-gnu-emacs@gnu.org; Wed, 22 Feb 2012 04:55:08 -0500 Original-Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate05.web.de (Postfix) with ESMTP id 2E57F6A5428E for ; Wed, 22 Feb 2012 10:55:07 +0100 (CET) Original-Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0MeBVG-1RoddN0Efu-00Q59v; Wed, 22 Feb 2012 10:55:07 +0100 In-Reply-To: X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:U9B74vBuswc0tnQt3IhUcih/AVK0DCQ/zX3qX3jSacJ PaCzQsDAb2K0+fzzlM1TOV9o8Xq5CyMXljFeWdWcq8j+XyzhQB vR3pSxn/fH44CXmqtpkRh7YE5wG8e9WQde2J9g0dIGOpX+Qa/i nbPCXYQIMl/jvTe4som9ess6+IGClBwrJN4df6RqH71sC1E0+s SLiWFUPiVrraPPFX6gErg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.243 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83831 Archived-At: Am 22.2.2012 um 08:56 schrieb robby lee: > I want to change the key as follow. >=20 > (global-set-key "\C-\." 'end-of-buffer) > (global-set-key "\C-\," 'beginning-of-buffer) >=20 > the Ctrl-, and Ctrl-. > but it doesn't work. how to escape the symbol "comma" and "dot" Try to set them first manually! After you've done that for the first key = binding perform: C-x ESC ESC This will bring back the key binding command in echo-area/mini-buffer. = By typing C-a C-k C-g you put the key binding command into the kill-buffer (to be yanked with = C-y), quit the action in mini-buffer, and can return to your init file. = Here just C-y and you have the working key binding command. Repeat for the next key! Save your init file! -- Greetings Pete My sister opened a computer store in Hawaii. She sells C shells down by = the seashore.