Bug 852

Summary: Control-<key> sequences should be independent of keyboard layout
Product: Sisyphus Reporter: Mikhail Zabaluev <mhz>
Component: emacs-X11Assignee: Ivan Zakharyaschev <imz>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P4    
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on:    
Bug Blocks: 30528    
Attachments:
Description Flags
0000852-emacs-21.2-Meta-Alt-Ctrl-Hyper-super-discard-state.patch none

Description Mikhail Zabaluev 2002-04-17 13:57:20 MSD
Control-&lt;key&gt; sequences are handled indifferently in various keyboard layouts by most programs. Emacs happens to do otherwise. It\'s impossible to enter keyboard shortcuts like C-x while in Russian layout. M-x would be nice to work there, too.
---

---
Installed packages:
emacs-X11-21.2-alt4
emacsen-startscripts-0.0.1-alt3
emacs-leim-21.2-alt4
XFree86-server-4.2.0-alt2

Xkb options from /etc/X11/XF86Config-4:
    Option \&quot;XkbRules\&quot; \&quot;xfree86\&quot;
    Option \&quot;XkbModel\&quot; \&quot;pc105\&quot;
    Option \&quot;XkbLayout\&quot; \&quot;ru\&quot;
    Option \&quot;XkbVariant\&quot; \&quot;winkeys\&quot;
    Option \&quot;XkbOptions\&quot;  \&quot;grp:ctrl_shift_toggle\&quot;

Comment 1 imz 2002-11-09 17:45:12 MSK
in emacs-21.2-alt9 by menas of the uploaded patch.

It changes emacs\' internals, we should be extermely careful that it doesn\'t break  
some correct behaviour in other places.

It\'s idea is like this: if one modifier of the certain modifiers is encountered in inout event, almost the whole state is discarded to acquire the keysym. (Originally, only the encountered modifier used to be discarded in this case.)
Comment 2 imz 2002-11-09 17:45:12 MSK
in emacs-21.2-alt9 by menas of the uploaded patch.

It changes emacs\' internals, we should be extermely careful that it doesn\'t break  
some correct behaviour in other places.

It\'s idea is like this: if one modifier of the certain modifiers is encountered in inout event, almost the whole state is discarded to acquire the keysym. (Originally, only the encountered modifier used to be discarded in this case.)