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

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

Re: meaning of (global-set-key [(alt ?3)] ....)


From: Kevin Rodgers
Subject: Re: meaning of (global-set-key [(alt ?3)] ....)
Date: Mon, 22 Jan 2007 22:53:28 -0700
User-agent: Thunderbird 1.5.0.9 (Macintosh/20061207)

HS wrote:
Hello!

Does anyone here knows "what to press" to activate this keybinding?

(global-set-key [(alt ?3)] (hot-file "~/.emacs"))

I don't know what does the '?' means....

It means the character 3 (code 51, #o63, #x33, U+0033) instead of the
integer 3.  So [(alt ?3)] is the same as [?\A-3]; i.e. hold down the
Alt key and press the 3 key.

See the "Changing Key Bindings" node of the Emacs Lisp manual.


--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

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