Bug 2490 - Xkb\'s group switch breaks C-s (& beeps)
: Xkb\'s group switch breaks C-s (& beeps)
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/emacs21-X11)
: unstable
: all Linux
: P5 minor
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2003-04-07 21:58 by
Modified: 2005-10-24 22:10 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-04-07 21:58:25
I use CapsLock to switch between rus/lat in X. When I press in in Emacs 21.3,
it beeps. (Emacs 21.2 didn\'t.) Moreover, when I\'m using incremental search
(C-s) and press CapsLock, it is aborted.
---
CapsLock is the group switch in Xkb.

C-s findsomething<press CapsLock>

---
emacs-X11-21.3-alt2
------- Comment #1 From 2003-04-08 17:27:03 -------
Looks like this change is causing problems:

2002-07-12  Stefan Monnier  &lt;<a href="mailto:monnier@cs.yale.edu&gt" target="_new">monnier@cs.yale.edu&gt</a>;

	* xterm.c (XTread_socket): Return a non_ascii_keystroke for
	unknown keysyms.


diff -urN emacs-21.2/src/xterm.c emacs-21.3/src/xterm.c
--- emacs-21.2/src/xterm.c	Sat Mar 16 13:34:56 2002
+++ emacs-21.3/src/xterm.c	Tue Oct 15 18:21:45 2002
@@ -10527,7 +10522,8 @@
 			   || IsKeypadKey (keysym) /* 0xff80 &lt;= x &lt; 0xffbe */
 			   || IsFunctionKey (keysym) /* 0xffbe &lt;= x &lt; 0xffe1 */
 			   /* Any \&quot;vendor-specific\&quot; key is ok.  */
-			   || (orig_keysym &amp; (1 &lt;&lt; 28)))
+			   || (orig_keysym &amp; (1 &lt;&lt; 28))
+			   || (keysym != NoSymbol &amp;&amp; nbytes == 0))
 			  &amp;&amp; ! (IsModifierKey (orig_keysym)
 #ifndef HAVE_X11R5
 #ifdef XK_Mode_switch
------- Comment #2 From 2003-04-08 17:27:03 -------
Looks like this change is causing problems:

2002-07-12  Stefan Monnier  &lt;<a href="mailto:monnier@cs.yale.edu&gt" target="_new">monnier@cs.yale.edu&gt</a>;

	* xterm.c (XTread_socket): Return a non_ascii_keystroke for
	unknown keysyms.


diff -urN emacs-21.2/src/xterm.c emacs-21.3/src/xterm.c
--- emacs-21.2/src/xterm.c	Sat Mar 16 13:34:56 2002
+++ emacs-21.3/src/xterm.c	Tue Oct 15 18:21:45 2002
@@ -10527,7 +10522,8 @@
 			   || IsKeypadKey (keysym) /* 0xff80 &lt;= x &lt; 0xffbe */
 			   || IsFunctionKey (keysym) /* 0xffbe &lt;= x &lt; 0xffe1 */
 			   /* Any \&quot;vendor-specific\&quot; key is ok.  */
-			   || (orig_keysym &amp; (1 &lt;&lt; 28)))
+			   || (orig_keysym &amp; (1 &lt;&lt; 28))
+			   || (keysym != NoSymbol &amp;&amp; nbytes == 0))
 			  &amp;&amp; ! (IsModifierKey (orig_keysym)
 #ifndef HAVE_X11R5
 #ifdef XK_Mode_switch
------- Comment #3 From 2003-04-08 17:30:39 -------
Another solution:

(define-key special-event-map [key-8] \'ignore-event)
------- Comment #4 From 2003-04-08 17:30:39 -------
Another solution:

(define-key special-event-map [key-8] \'ignore-event)
------- Comment #5 From 2004-04-29 12:36:40 -------
переназначено 
 
------- Comment #6 From 2005-10-15 00:00:33 -------
А почему этот баг до сих пор не закрыт?

Насколько я понимаю, это было исправлено в emacs-base-0.0.4-alt2
------- Comment #7 From 2005-10-17 11:41:25 -------
Обнаружил, что только моя учетная запись eugvv@altlinux.ru в bugzilla имеет
ограниченные права, а eugvv@altlinux.org - нет. Закрываю сам.