Public bug reported: When I'm using Bash in gnome-terminal, I'm currently unable to use the GNU Readline shortcuts to move forward a word, because pressing Left Alt + a key tries to open a menu option. For example, Alt+f opens the file menu. For some reason, the Alt key is bound to the menubar here.
Expected behavior: Alt+f moves the cursor forward one word Current behavior: Alt+f opens the file menu. The strange thing is that it does work in a GUI version of Emacs, but not when Emacs is run directly in the terminal (emacs23-nox). It also works correctly in xterm (after Ctrl + left-click > select "Meta Sends Escape"). So I'm not sure if it's a bug in gnome-terminal or in unity. When you hold the Alt key in Emacs or xterm, nothing happens, the HUD is only displayed when you release the key again. Of course, when you're using it as a meta key, you're never doing that, you're holding it and combining it with another key. So that's the correct behaviour. In gnome-terminal, however, holding the Alt key doesn't do anything. It seems to be the case that combinations using the Alt key are interpreted as shortcuts for the menubar in gnome-terminal. On a related note, I'm wondering whether binding Alt to the HUD won't conflict with the usage of Alt as a meta key? While Alt is the obvious choice (and I like the concept of the HUD), it would be very annoying to be unable to use the meta key in certain programs. ** Affects: unity (Ubuntu) Importance: Undecided Status: New ** Description changed: When I'm using Bash in gnome-terminal, I'm currently unable to use the GNU Readline shortcuts to move forward a word, because pressing Left Alt + a key tries to open a menu option. For example, Alt+f opens the file - menu. For some reason, the Alt key is bound to the file menu here. + menu. For some reason, the Alt key is bound to the menubar here. Expected behavior: Alt+f moves the cursor forward one word Current behavior: Alt+f opens the file menu. The strange thing is that it does work in an GUI version of Emacs (without invoking the HUD), but not when Emacs is run directly in the terminal (emacs23-nox). It also works correctly in xterm (after Ctrl + left-click > select "Meta Sends Escape"). So I'm not sure if it's a bug in gnome-terminal or in unity. When you hold the Alt key in Emacs or xterm, nothing happens, the HUD is only displayed when you release the key again. Of course, when you're using it as a meta key, you're never doing that, you're holding it and combining it with another key. So that's the correct behaviour. In gnome-terminal, however, holding the Alt key doesn't do anything. It seems to be the case that combinations using the Alt key are interpreted as shortcuts for the menubar in gnome-terminal. On a related note, I'm wondering whether binding Alt to the HUD won't conflict with the usage of Alt as a meta key? While Alt is the obvious choice (and I like the concept of the HUD), it would be very annoying to be unable to use the meta key in other programs. ** Description changed: When I'm using Bash in gnome-terminal, I'm currently unable to use the GNU Readline shortcuts to move forward a word, because pressing Left Alt + a key tries to open a menu option. For example, Alt+f opens the file menu. For some reason, the Alt key is bound to the menubar here. Expected behavior: Alt+f moves the cursor forward one word Current behavior: Alt+f opens the file menu. - The strange thing is that it does work in an GUI version of Emacs + The strange thing is that it does work in a GUI version of Emacs (without invoking the HUD), but not when Emacs is run directly in the terminal (emacs23-nox). It also works correctly in xterm (after Ctrl + left-click > select "Meta Sends Escape"). So I'm not sure if it's a bug in gnome-terminal or in unity. When you hold the Alt key in Emacs or xterm, nothing happens, the HUD is only displayed when you release the key again. Of course, when you're using it as a meta key, you're never doing that, you're holding it and combining it with another key. So that's the correct behaviour. In gnome-terminal, however, holding the Alt key doesn't do anything. It seems to be the case that combinations using the Alt key are interpreted as shortcuts for the menubar in gnome-terminal. On a related note, I'm wondering whether binding Alt to the HUD won't conflict with the usage of Alt as a meta key? While Alt is the obvious choice (and I like the concept of the HUD), it would be very annoying to be unable to use the meta key in other programs. ** Description changed: When I'm using Bash in gnome-terminal, I'm currently unable to use the GNU Readline shortcuts to move forward a word, because pressing Left Alt + a key tries to open a menu option. For example, Alt+f opens the file menu. For some reason, the Alt key is bound to the menubar here. Expected behavior: Alt+f moves the cursor forward one word Current behavior: Alt+f opens the file menu. - The strange thing is that it does work in a GUI version of Emacs - (without invoking the HUD), but not when Emacs is run directly in the - terminal (emacs23-nox). It also works correctly in xterm (after Ctrl + - left-click > select "Meta Sends Escape"). So I'm not sure if it's a bug - in gnome-terminal or in unity. + The strange thing is that it does work in a GUI version of Emacs, but + not when Emacs is run directly in the terminal (emacs23-nox). It also + works correctly in xterm (after Ctrl + left-click > select "Meta Sends + Escape"). So I'm not sure if it's a bug in gnome-terminal or in unity. When you hold the Alt key in Emacs or xterm, nothing happens, the HUD is only displayed when you release the key again. Of course, when you're using it as a meta key, you're never doing that, you're holding it and combining it with another key. So that's the correct behaviour. In gnome-terminal, however, holding the Alt key doesn't do anything. It seems to be the case that combinations using the Alt key are interpreted as shortcuts for the menubar in gnome-terminal. On a related note, I'm wondering whether binding Alt to the HUD won't conflict with the usage of Alt as a meta key? While Alt is the obvious choice (and I like the concept of the HUD), it would be very annoying to - be unable to use the meta key in other programs. + be unable to use the meta key in certain programs. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/968688 Title: Inability to use the Meta key in gnome-terminal (probably related to invoking the HUD?) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/968688/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs