[ltp] Meta and Alt and emacs
Mark Kennedy
linux-thinkpad@www.bm-soft.com
Tue, 20 Jun 2000 09:45:20 -0400
i use this xmodmap script to eek as much mileage as possible out of the
supported shift keys on my 770Z. not all combinations work (e.g. Hyper),
so you're limited to baroque chords like M-S-s-C-a for your keyboard
bindings :-).
-----------------------------------------
keysym quoteleft = Escape Escape
keysym Escape = quoteleft asciitilde
keysym Caps_Lock = Control_L
keysym Control_L = Super_L
keysym Alt_L = Meta_L
keysym Meta_L = Alt_L
keysym Meta_R = Hyper_R
clear Lock
clear Control
clear Mod1
clear Mod2
clear Mod3
clear Mod4
clear Mod5
add Control = Control_L
add Mod1 = Meta_L
add Mod2 = Alt_L
!add Mod3 = Meta_L
add Mod4 = Super_L
add Mod5 = Hyper_R
------------------------------------------
/mark
Andrew Scott Beals wrote:
>
> The real problem is in your keymap, Arcady. You're going to have to remap
> Alt_L as Meta [or Meta_L?]. This is dependant on your X server.
>
> David Jones wrote:
>
> > Hello:
> >
> > I hope I am not stating the obvious here but for (standard) PC style
> > keyboards a simple meta sequence, M-a in emacs terms, is generated by the
> > Alt and "a" keys depressed together. For keyboards that do not have
> > the Alt key, the ESC key followed by the target key is used. In other
> > words, you already have what you want, unless I am missing something.
> >
> > I am running GNU Emacs 20.2.1 (i586-slackware-linux-gnu, X
> > toolkit).
> >
> > Regards,
> > David Jones
> >
> > From: Arcady Genkin <antipode@thpoon.com>
> > Date: 16 Jun 2000 16:16:36 -0400
> >
> > My notebook (TP 240) has no Windows key to delegate as "Meta".
> >
> > I'm looking for a way to make emacs recognize Alt as Meta (I don't
> > want to redefine Alt globally, because my window manager (WindowMaker)
> > uses it for some shortcuts.
> >
> > Anyone aware of a way to tell emacs (xemacs in my case) Alt=Meta?
> > Something that would go in .emacs, perhaps?
> >
> > Thanks!
> > --
> > Arcady Genkin
> > ----- The Linux ThinkPad mailing list -----
> > The linux-thinkpad mailing list home page is at:
> > http://www.bm-soft.com/~bm/tp_mailing.html
>
> ----- The Linux ThinkPad mailing list -----
> The linux-thinkpad mailing list home page is at:
> http://www.bm-soft.com/~bm/tp_mailing.html
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html