After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 360437 - in gnome-terminal, Emacs "hears" C-M-SPC as M-SPC
in gnome-terminal, Emacs "hears" C-M-SPC as M-SPC
Status: RESOLVED DUPLICATE of bug 710349
Product: vte
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-10-07 17:14 UTC by offby1
Modified: 2014-01-05 21:53 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description offby1 2006-10-07 17:14:19 UTC
Please describe the problem:
I'm using Ubuntu edgy with pretty much the default Gnome setup, with
exceptions noted below.  I use typical x86 PCs whose keyboards contain
a "Windows" key.

I'm one of those people who uses Emacs all the time.  And one of the
key sequences I often type is C-M-SPC (that is, I hold down the
Control and Alt keys, and then hit the Space bar).  But Emacs acts
exactly as if I'd typed M-SPC, which alas does something different.
(Specifically: you can type C-h l to make Emacs display the last
couple dozen keyboard events it's received; it shows ESC SPC in both
cases).

This happens with both a totally virgin setup, as well as my
somewhat-customized setup.  By "totally virgin", I mean that I became
root, created a new user with "adduser", logged in as that user via
gdm, started gnome-terminal, and typed "/usr/bin/emacs -nw -q
--no-site-file".  By "my somewhat-customized setup", I mean that I've
disabled menu accelerators in gnome-terminal.

I've also noted that urxvt doesn't have this problem.

Is this a bug?  In any case, is there some way I can get Emacs to
"hear" C-M-SPC?


Steps to reproduce:
1. start gnome-terminal
2. type /usr/bin/emacs -nw -q --no-site-file
3. in Emacs, type C-h c C-M-SPC


Actual results:
Emacs prints "M-SPC runs the command just-one-space", or perhaps "ESC SPC runs the command just-one-space", which for my purposes are equivalent

Expected results:
Emacs prints "C-M-@ runs the mark-sexp"

Does this happen every time?
yes

Other information:
Comment 1 Behdad Esfahbod 2006-11-02 17:28:00 UTC
Oops.
Comment 2 Behdad Esfahbod 2006-11-02 17:32:22 UTC
Ah.  sorry.  Wrong bug.
Comment 3 Brendan Miller 2012-01-05 02:01:32 UTC
I'm also running into the same bug. This is problematic for emacs users such as myself as it breaks important keybindings.

Reproduced in GNOME Terminal 2.32.1. Also on an Ubuntu system.
Comment 4 Egmont Koblinger 2014-01-05 21:53:54 UTC

*** This bug has been marked as a duplicate of bug 710349 ***