help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to bind the keyboard 'C-;'


From: Kevin Rodgers
Subject: Re: How to bind the keyboard 'C-;'
Date: Fri, 16 Mar 2007 01:00:51 -0600
User-agent: Thunderbird 1.5.0.10 (Macintosh/20070221)

John Paul Wallington wrote:
"Vols" <address@hidden> 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.

and [?\C-;]

Can anyone explain why the semicolon does not need to be backslashed
there?

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

[Prev in Thread] Current Thread [Next in Thread]