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: Chris Seberino
Subject: Re: How bind "Alt-i" to a function? (global-set-key "\A-i" 'myfunction) doesn't work
Date: Thu, 27 Dec 2001 12:27:19 -0800
User-agent: Mutt/1.2.5i

Eli

Thanks! What would I do without this mailing list?!
I'd be in a world of hurt. :)

Chris

On Thu, Dec 27, 2001 at 11:06:47AM +0200, Eli Zaretskii wrote:
> 
> 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.

-- 
=======================================================
| Dr. Christian Seberino  || (619) 553-7940  (office) |
| SPAWARSYSCEN 2363       || (619) 553-2836  (fax)    |
| 53560 HULL ST           ||                          |
| SAN DIEGO CA 92152-5001 || seberino@spawar.navy.mil |
=======================================================



reply via email to

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