Meta vs. Alt
There may be a way using XEmacs initialization, but I've done similar changes
using xmodmap. I have a keyboard with just two Alt keys, no Windows or Menu
key, and I wanted to make the left Alt key the meta key for XEmacs, and leave
the right Alt key as an Alt key. Executing xmodmap -pm showed this as the
setup before any changes:
xmodmap: up to 2 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x6d)
mod1 Alt_L (0x40), Alt_R (0x71)
mod2 Num_Lock (0x4d)
mod3
mod4
mod5 Scroll_Lock (0x4e)
Then in a file called .xmodmaprc, I put these lines:
remove mod1 = Alt_L Alt_R
keysym Alt_L = Meta_L
add mod1 = Meta_L
add mod3 = Alt_R
Then, xmodmap -pm showed this:
xmodmap: up to 2 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x6d)
mod1 Meta_L (0x40)
mod2 Num_Lock (0x4d)
mod3 Alt_R (0x71)
mod4
mod5 Scroll_Lock (0x4e)
and XEmacs somehow figures out that if there is a Meta key defined it should
use that.
On Apr 9, Huba Zsolt (hubidubi@freemail.hu) wrote:
> Hi!
>
> I've installed a newer XEmacs and after that my usual keybindings
> doesn't work. Alt key worked before as Meta key, but now works as normal
> Alt. So probably I should to rebind my Meta keys to Alt. Where and how
> should I reconfigure it?
--
Neil L. Roeth
--
To UNSUBSCRIBE, email to debian-emacsen-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: