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

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

Re: Alt vs Meta


From: Michael P. Soulier
Subject: Re: Alt vs Meta
Date: Thu, 13 Dec 2001 18:42:54 -0500
User-agent: Mutt/1.3.24i

On Thu, Dec 13, 2001 at 01:54:54PM +0100, Mats Aigner wrote:
> Hello!
> 
> When running X, I have both an Alt and a Meta key. For various 
> reasons I would like Emacs to treat the Alt key as Meta, and either 
> ignore the Meta key or treat is as Alt. Is this possible?
> 
> (I don't want to change any keybindings with xmodmap. Other 
> applications more or less determine which keybindings to use, and I 
> figured it would be easiest to change Emacs behaviour only.)

    I find that this adds functionality, and does not subtract it

! Rebind keys to permit Alt key to be Meta in Emacs.
clear mod1
clear mod4
keycode 115 = Alt_L
keycode 64 = Meta_L
keycode 113 = Meta_R
add mod1 = Meta_L Meta_R
add mod4 = Alt_L

    I'm using IceWM, and I can still use Alt the way I always do. It just
happens to be Meta in Emacs as well now. 

    Mike

-- 
Michael P. Soulier <address@hidden>, GnuPG pub key: 5BC8BE08
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort."  -Harley Hahn, A Student's Guide to Unix

Attachment: pgp7GAr23VwGj.pgp
Description: PGP signature


reply via email to

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