I would like to map the PgUp key on my keyboard to the Alt modifier to create an A- key sequence in Emacs so that I can map it to a whole set of key bindings.
I was looking at the mappigs keyboard and currently my left Alt key works like Meta_L and Alt_L . This is the corresponding output of xmodmap -pke :
keycode 64 = Alt_L Meta_L Alt_L Meta_L Alt_L Meta_L Alt_L Meta_L
I'm not sure how to get emacs to fully handle Alt and Meta ,
I looked at x-alt-keysym and it is nil
Which keys Emacs uses for the alt modifier. This should be one of the symbols `alt', `hyper', `meta', `super'. For example, `alt' means use the Alt_L and Alt_R keysyms. The default is nil, which is the same as `alt'.
The same goes for x-meta-keysym as well as nil :
Which keys Emacs uses for the meta modifier. This should be one of the symbols `alt', `hyper', `meta', `super'. For example, `meta' means use the Meta_L and Meta_R keysyms. The default is nil, which is the same as `meta'.
It follows that Alt_L should fire alt , however, it always launches meta , as shown in M- in the minibar
source share