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

Re: Telling Emacs how to use Alt as Meta



Hi Joerg,

to answer you question let me attache the answer I got when I asked the same
question quite some time ago. Works perfectly for me every time I updated ;-)

On Tue, Dec 05, 2000 at 11:53:04AM +0100, Joerg Johannes wrote:

> > I can understand you.  The next keyboard I'll buy won't have those
> > nasty keys.

That exactly the right attitude!

> BTW, where did you last see a keyboard without windows key?

Looking down, yep! ;-)


----------
Date: Thu, 20 Aug 1998 09:27:46 -0500
From: "Jens B. Jorgensen" <jjorgens@bdsinc.com>
To: Michael Symalla <msymalla@mail.desy.de>
CC: Debian User <debian-user@lists.debian.org>
Subject: Re: meta key in emacs
Resent-Date: 20 Aug 1998 14:28:51 -0000
Resent-Cc: recipient list not shown: ;
Resent-Message-ID: <"3zzjG.A.iAD.jKD31"@murphy>
Resent-From: debian-user@lists.debian.org
Resent-Sender: debian-user-request@lists.debian.org
X-Envelope-Sender: jjorgens@bdsinc.com
Organization: Business Data Services, Inc.
X-Mailer: Mozilla 4.05 [en] (WinNT; I)
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/15768
X-Loop: debian-user@lists.debian.org
Precedence: list

This problem has come up so many times since hamm started getting used that
it almost
merits its own HOWTO. What's happened is that you've upgraded X and now you
are using
the XKEYBOARD extension. As you've noticed, the ALT key now does ALT and the
"windows"
key is now the META key. I've argued several times that this is a bug since
it changes
behavior. Alas no one listens to this raving madman. Where's whatcha do (as
root):

sed -e 's/Alt_L/Foo_L/' -e 's/Alt_R/Foo_R/' < /usr/lib/X11/xkb/symbols/us |\
sed -e 's/Meta_L/Alt_L/' -e 's/Meta_R/Alt_R/' |\
sed -e 's/Foo_L/Meta_L/' -e 's/Foo_R/Meta_R/' >
/usr/lib/X11/xkb/symbols/us.new
mv /usr/lib/X11/xkb/symbols/us /usr/lib/X11/xkb/symbols/us.old
mv /usr/lib/X11/xkb/symbols/us.new /usr/lib/X11/xkb/symbols/us

Now restart X and Things should work normally.

Michael Symalla wrote:

> Dear Debian users,
>
> can anyone help me to let my Alt-key be the metakey in emacs? Now I am
> using the ESC key, which works fine but is not as comfortable as the ALT
> key.
>
> Thanks a lot.
> --
> Bye
>       Mitch


Bye
   Mitch.

-- 
       		Michael Symalla (Uni-Dortmund Physik E5) 
    	   DESY HERA-B Bldg.66/1, Notkestr.85, D-22607 Hamburg
                voice:  040/8998 4985 fax: 040/8998 4033 
  In the beginning was the word, and the word was content-type: text/plain

Attachment: pgpeeS3I4oGGQ.pgp
Description: PGP signature


Reply to: