all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* meaning of (global-set-key [(alt ?3)] ....)
@ 2007-01-22 14:53 HS
  2007-01-22 17:59 ` Robert Thorpe
  2007-01-23  5:53 ` Kevin Rodgers
  0 siblings, 2 replies; 3+ messages in thread
From: HS @ 2007-01-22 14:53 UTC (permalink / raw)


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....

Thanks in advance,
HS

(from http://www.dotemacs.de/dotfiles/StephenTse.emacs.html)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: meaning of (global-set-key [(alt ?3)] ....)
  2007-01-22 14:53 meaning of (global-set-key [(alt ?3)] ....) HS
@ 2007-01-22 17:59 ` Robert Thorpe
  2007-01-23  5:53 ` Kevin Rodgers
  1 sibling, 0 replies; 3+ messages in thread
From: Robert Thorpe @ 2007-01-22 17:59 UTC (permalink / raw)


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....

I think it means Alt-3 in XEmacs.
But I don't know for sure.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: meaning of (global-set-key [(alt ?3)] ....)
  2007-01-22 14:53 meaning of (global-set-key [(alt ?3)] ....) HS
  2007-01-22 17:59 ` Robert Thorpe
@ 2007-01-23  5:53 ` Kevin Rodgers
  1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2007-01-23  5:53 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-01-23  5:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-22 14:53 meaning of (global-set-key [(alt ?3)] ....) HS
2007-01-22 17:59 ` Robert Thorpe
2007-01-23  5:53 ` Kevin Rodgers

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.