From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Memnon Anon 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 13:23:59 +0000 (UTC) Message-ID: <878vjvt388.fsf@mean.albasani.net> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1329917073 9291 80.91.229.3 (22 Feb 2012 13:24:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 22 Feb 2012 13:24:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 22 14:24:32 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 1S0CBL-0004xE-17 for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Feb 2012 14:24:31 +0100 Original-Received: from localhost ([::1]:47317 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0CBK-0006vr-Ga for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Feb 2012 08:24:30 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:46994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0CB8-0006tg-Mg for help-gnu-emacs@gnu.org; Wed, 22 Feb 2012 08:24:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S0CB2-000565-Ti for help-gnu-emacs@gnu.org; Wed, 22 Feb 2012 08:24:18 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:43870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S0CB2-00055y-NX for help-gnu-emacs@gnu.org; Wed, 22 Feb 2012 08:24:12 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S0CB0-0004iZ-Te for help-gnu-emacs@gnu.org; Wed, 22 Feb 2012 14:24:10 +0100 Original-Received: from e178230046.adsl.alicedsl.de ([85.178.230.46]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Feb 2012 14:24:10 +0100 Original-Received: from gegendosenfleisch by e178230046.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Feb 2012 14:24:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: e178230046.adsl.alicedsl.de Cancel-Lock: sha1:fqx9jEWKvYCXkS2hQ9+VB3nbPh8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:83834 Archived-At: robby lee writes: > (global-set-key "\C-\." 'end-of-buffer) > (global-set-key "\C-\," 'beginning-of-buffer) >   > the Ctrl-, and Ctrl-. but it doesn't work. ,----[ (info "(emacs)Init Rebinding") ] | The simplest is to use the `kbd' macro, `---- (global-set-key (kbd "C-.") 'my-function) hth Memnon