This stopped working on my computer a few months ago and I ignored it. Now I’m finally trying to track it down.
If I try and use the alt key in emacs, e.g.: alt+x it simply doesn’t work on one of my computers.
The obvious thought is that something is hijacking the alt key so I went looking for what could be doing it. Here’s what I found:
Computer A has the problem.
Computer B does not.
Both opensuse 11.4 with all the latest updates.
However, if I ssh into B from A then emacs on B won’t work.
From this I would say that the terminal app. has the Alt key defined somewhere. So, I looked at it’s keyboard shortcuts, couldn’t find Alt by itself being used. I then compare all the settings of terminal (through the terminal window menus) between computer A & B and found no difference.
I then went looking around everything in my control panel on A for anything that did keyboard mapping and couldn’t find anything that looked like it was hijacking the alt key.
Then, just as a thought I disabled all Desktop Effects, no difference.
However while looking around I found that under:
Asisstive Technologies: Preferred Applications: System
I could change the terminal from “gnome” to “standard xterminal” so I did and tried it and sure enough, now the meta key works in emacs in the xterminal. This lead me to believe that the hijacking was occurring in Gnome Terminal itself but again, I checked all the shortcut keys and could find nothing out of the ordinary.
I have since looking into this found that I can use the ESC key in place of the ALT key so I am not stuck but I still would like to know what’s going on.
Does anyone have any ideas?