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

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

Re: How bind "Alt-i" to a function? (global-set-key "\A-i" 'myfunction)


From: Eli Zaretskii
Subject: Re: How bind "Alt-i" to a function? (global-set-key "\A-i" 'myfunction) doesn't work
Date: Thu, 27 Dec 2001 11:06:47 +0200 (IST)

On Thu, 27 Dec 2001, Chris Seberino wrote:

> Can you/someone please tell me how to bind Alt-<something>
> to a function???
> 
> (global-set-key "\A-i" 'myfunction)

Your Alt key probably produces META, so "\M-i" should do it.

The Emacs manual has examples of key bindings in section "Init 
Examples".  I suggest to read that.



reply via email to

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