From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jpw@pobox.com (John Paul Wallington) Newsgroups: gmane.emacs.help Subject: Re: How to bind the keyboard 'C-;' Date: Wed, 14 Mar 2007 00:49:34 +0000 Message-ID: References: <1173827558.982466.298930@p15g2000hsd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1173836385 31729 80.91.229.12 (14 Mar 2007 01:39:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Mar 2007 01:39:45 +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 Mar 14 02:39:39 2007 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.50) id 1HRISo-000239-5z for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Mar 2007 02:39:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HRITd-0004Q1-Ac for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Mar 2007 20:40:29 -0500 Original-Path: shelby.stanford.edu!newshub.stanford.edu!syros.belnet.be!news.belnet.be!transit.news.xs4all.nl!xs4all!gentoo.nl.linux.org!news.nl.linux.org!zen.net.uk!dedekind.zen.co.uk!news-peer-lilac.gradwell.net!not-for-mail Original-Newsgroups: gnu.emacs.help X-Mailer: Norman X-Attribution: JPW X-Face: oX^^1Wzw=7hF+$9sbFF; "@y\k=M:/\KKp>Ix4]Nue{W[-D*|!E&nB]#ZV7!P 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:41943 Archived-At: "Vols" writes: > I want the keyboard binding 'Control ;' , for example, I tried: > (global-set-key "\C-;" 'kill-this-buffe) You must avoid the string syntax when binding non-ASCII characters. (kbd "C-;") and [(control \;)] should work.