From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: ctrl:nocaps enables mark set? Date: Wed, 03 Sep 2008 23:03:35 +0900 Message-ID: <878wu9498o.fsf@uwakimon.sk.tsukuba.ac.jp> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1220450341 18696 80.91.229.12 (3 Sep 2008 13:59:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Sep 2008 13:59:01 +0000 (UTC) Cc: Andreas Schwab , emacs-devel@gnu.org To: =?iso-8859-1?Q?Aleix_Conchillo_Flaqu=E9?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 03 15:59:55 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kastc-0002IL-Mr for ged-emacs-devel@m.gmane.org; Wed, 03 Sep 2008 15:59:44 +0200 Original-Received: from localhost ([127.0.0.1]:45458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kassd-0003PX-L4 for ged-emacs-devel@m.gmane.org; Wed, 03 Sep 2008 09:58:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KassZ-0003PA-K3 for emacs-devel@gnu.org; Wed, 03 Sep 2008 09:58:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KassX-0003Oy-5z for emacs-devel@gnu.org; Wed, 03 Sep 2008 09:58:38 -0400 Original-Received: from [199.232.76.173] (port=45655 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KassX-0003Ov-0w for emacs-devel@gnu.org; Wed, 03 Sep 2008 09:58:37 -0400 Original-Received: from mtps01.sk.tsukuba.ac.jp ([130.158.97.223]:43359) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KassX-00019M-9Y for emacs-devel@gnu.org; Wed, 03 Sep 2008 09:58:37 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps01.sk.tsukuba.ac.jp (Postfix) with ESMTP id DDCD01535B3; Wed, 3 Sep 2008 22:58:33 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id A3FE31A260E; Wed, 3 Sep 2008 23:03:35 +0900 (JST) In-Reply-To: X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta28) "fuki" 78738a40e31e XEmacs Lucid (x86_64-unknown-linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:103499 Archived-At: Aleix Conchillo Flaqu=E9 writes: > On Tue, Sep 2, 2008 at 20:54, Andreas Schwab wrote: > > "Aleix Conchillo Flaqu=E9" writes: > > > >> KeyRelease event, serial 33, synthetic NO, window 0x3600001, > >> root 0x8b, subw 0x0, time 82422761, (109,-9), root:(113,36), > >> state 0x6, keycode 66 (keysym 0xffe3, Control_L), same_screen YES, > > ^^^ > > > > This is bad. You have keycode 66 on both the control and lock modifier > > list. > > >=20 > I have reviewed my email and capslock has keycode 66 and ctrl has > keycode 37 both producing Control_L. True. The problem is that there is also a feature of the X server that it maintains up/down state for certain keys because it is so common to check for chords with those keys. Specifically, the modifier keys. As Andreas points out, your keycode 66 is in the list of modifiers as BOTH a shiftlock key and a control key. You need to fix the modifier list, not the keysym definition, of the key corresponding to 66. In-hopes-of-avoiding-flame-from-Andreas-who-really-knows-his-stuff-ly y'rs