Bug 2490 - Xkb\'s group switch breaks C-s (& beeps)
Summary: Xkb\'s group switch breaks C-s (& beeps)
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: emacs21-X11 (show other bugs)
Version: unstable
Hardware: all Linux
: P5 minor
Assignee: Alex Ott
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-07 21:58 MSD by imz
Modified: 2005-10-24 22:10 MSD (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description imz 2003-04-07 21:58:25 MSD
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 Sergey Vlasov 2003-04-08 17:27:03 MSD
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 Sergey Vlasov 2003-04-08 17:27:03 MSD
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 Sergey Vlasov 2003-04-08 17:30:39 MSD
Another solution:

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

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

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