From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 14 07:59:05 2010 Received: (at submit) by debbugs.gnu.org; 14 Dec 2010 12:59:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PSUT9-0005p7-O1 for submit@debbugs.gnu.org; Tue, 14 Dec 2010 07:59:04 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PSTCg-0003H9-CL for submit@debbugs.gnu.org; Tue, 14 Dec 2010 06:37:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSTIg-0003V1-Vu for submit@debbugs.gnu.org; Tue, 14 Dec 2010 06:44:12 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_LOW,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:34984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSTIg-0003Uw-Sx for submit@debbugs.gnu.org; Tue, 14 Dec 2010 06:44:10 -0500 Received: from [140.186.70.92] (port=58706 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSTIb-0000RL-SX for bug-gnu-emacs@gnu.org; Tue, 14 Dec 2010 06:44:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSTIa-0003Ta-CS for bug-gnu-emacs@gnu.org; Tue, 14 Dec 2010 06:44:05 -0500 Received: from mail-qw0-f41.google.com ([209.85.216.41]:46927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSTIa-0003TJ-7U for bug-gnu-emacs@gnu.org; Tue, 14 Dec 2010 06:44:04 -0500 Received: by qwa26 with SMTP id 26so623364qwa.0 for ; Tue, 14 Dec 2010 03:44:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=LT+MfqWhVGGCVjRqdLtM0Rws/TuUzkSJVc67Cg8Y4Vc=; b=m9FddGGg0NUcwb0H3APNsG6bCDLVlGN8IFCMX/In3BklF0BaC6rviDmtCNiv5Zqx8y ykcBaKolvUeKhX+wqwMZtwfJkf8/4HEm031/wkK8RxrfaTB626xgkPmR4D141LhkmNeh rf7T1V0H+NthoaNZvcpOX9zgPwMyXspLzM1BI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=qYx2OmXaqWjTq79q1MCiWLN/OzvAz0jZC1GPKPfFEyeut0rv/mkkSiuU3/APjgDY1K hKHg4IQANHiaznD9aurKI8Re8oC9MqUG3mQEf3k6mDsCCYSuSJQ1AgdbwaDJOPmQqsH4 VBJ/aUrlfG+t6Rt+wgTD6A914KbeYFtT51M9o= Received: by 10.224.191.196 with SMTP id dn4mr5084499qab.225.1292327043518; Tue, 14 Dec 2010 03:44:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.189.204 with HTTP; Tue, 14 Dec 2010 03:43:43 -0800 (PST) From: =?UTF-8?B?TWl0amEgVXLFoWnEjQ==?= Date: Tue, 14 Dec 2010 12:43:43 +0100 Message-ID: Subject: 24.0.50; Caps Lock triggers set-mark-command To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=20cf3005dee45ccf3304975d5674 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 14 Dec 2010 07:59:03 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) --20cf3005dee45ccf3304975d5674 Content-Type: text/plain; charset=ISO-8859-1 Turning on caps lock also turns on set-mark-command. All C- and M- moving commands from then on mark text into a region. This does not apply for the four arrow keys. To reproduce: 1) Write some text. 2) Set caps lock to on. 3) Move around the text with C-p, C-n, M-b, M-f and other C- and M- keys for moving point. Region is now marked despite that no C- was pressed or otherwise set-mark-command invoked. In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of 2010-12-13 on tiger Windowing system distributor `The X.Org Foundation', version 11.0.10402000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Features: (shadow sort gnus-util mail-extr message sendmail regexp-opt rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --20cf3005dee45ccf3304975d5674 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Turning on caps lock also turns on set-mark-command.
All C- and M- movin= g commands from then on mark text
into a region.
This does not apply = for the four arrow keys.

To reproduce:
1) Write some text.
2) Set caps lock to on.
3) Move around the text with C-p, C-n, M-b, M-f = and other
C- and M- keys for moving point.

Region is now marke= d despite that no C-<SPC> was pressed
or otherwise set-mark-comman= d invoked.


In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of 2010-12-13 on tiger
Windowing system distributor `The X.Org Foundat= ion', version 11.0.10402000
Important settings:
value of $LC_AL= L: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_= MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: ni= l
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
value o= f $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters= : t

Major mode: Fundamental

Minor modes in effect:
toolt= ip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mod= e: t
file-name-shadow-mode: t
global-font-lock-mode: t
blink-cursor-= mode: t
auto-composition-mode: t
auto-encryption-mode: t
aut= o-compression-mode: t
line-number-mode: t
transient-mark-mode: t<= br>
Recent input:
M-x r e p o r t - e m <tab> <return>
Recent messages:
For information about GNU Emacs and the GNU system, t= ype C-h C-a.

Features:
(shadow sort gnus-util mail-extr message s= endmail regexp-opt rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
rfc204= 7 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils
gmm-utils = mailheader emacsbug tooltip ediff-hook vc-hooks
lisp-float-type mwheel x= -win x-dnd tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mou= se jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-= 8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese he= brew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
lo= addefs button minibuffer faces cus-face files text-properties overlay
md= 5 base64 format env code-pages mule custom widget
hashtable-print-readab= le backquote make-network-process dbusbind
dynamic-setting system-font-setting font-render-setting move-toolbar gtkx-toolkit x multi-tty emacs)
--20cf3005dee45ccf3304975d5674-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 20 10:26:17 2010 Received: (at 7637) by debbugs.gnu.org; 20 Dec 2010 15:26:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PUhcu-0000ZX-Ux for submit@debbugs.gnu.org; Mon, 20 Dec 2010 10:26:17 -0500 Received: from vm-emlprdomr-04.its.yale.edu ([130.132.50.145]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PUhcs-0000ZL-Q8 for 7637@debbugs.gnu.org; Mon, 20 Dec 2010 10:26:15 -0500 Received: from furball (bb116-14-228-227.singnet.com.sg [116.14.228.227]) (authenticated bits=0) by vm-emlprdomr-04.its.yale.edu (8.14.4/8.14.4) with ESMTP id oBKFWfoB024638 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 20 Dec 2010 10:32:43 -0500 Received: by furball (Postfix, from userid 1000) id DC361161E17; Mon, 20 Dec 2010 23:32:42 +0800 (SGT) From: Chong Yidong To: emacs-devel@gnu.org Subject: Re: bug#7637: 24.0.50; Caps Lock triggers set-mark-command References: <87zks6bg1c.fsf@stupidchicken.com> Date: Mon, 20 Dec 2010 23:32:42 +0800 In-Reply-To: ("Mitja =?utf-8?B?VXLFoWnEjSIncw==?= message of "Thu, 16 Dec 2010 05:26:01 +0100") Message-ID: <87r5dc1mud.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.71 on 130.132.50.145 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7637 Cc: 7637@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) A user has reported that under a certain KDE setting, Caps Lock breaks Emacs by making every motion key a shift-motion key, thus breaking the shift-selection feature. Does anyone have KDE installed to test this? Mitja Ur=C5=A1i=C4=8D writes: > I'm using it in Debian Lenny with KDE. > I do have Caps Lock and Control swapped by kcontrol, though. > > > Turning on caps lock also turns on set-mark-command. > > All C- and M- moving commands from then on mark text > > into a region. > > This does not apply for the four arrow keys. > > > > To reproduce: > > 1) Write some text. > > 2) Set caps lock to on. > > 3) Move around the text with C-p, C-n, M-b, M-f and other > > C- and M- keys for moving point. > > > > Region is now marked despite that no C- was pressed > > or otherwise set-mark-command invoked. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 20 16:32:45 2010 Received: (at 7637) by debbugs.gnu.org; 20 Dec 2010 21:32:46 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PUnLZ-0000Ap-KP for submit@debbugs.gnu.org; Mon, 20 Dec 2010 16:32:45 -0500 Received: from harpegolden.net ([65.99.215.13]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PUnLS-0000Ad-Tc for 7637@debbugs.gnu.org; Mon, 20 Dec 2010 16:32:39 -0500 Received: from [87.198.55.89] (87-198-55-89.ptr.magnet.ie [87.198.55.89]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id B5D5468425; Mon, 20 Dec 2010 21:39:08 +0000 (GMT) Message-ID: <4D0FCCFB.8080301@harpegolden.net> Date: Mon, 20 Dec 2010 21:39:07 +0000 From: David De La Harpe Golden User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101211 Icedove/3.0.11 MIME-Version: 1.0 To: Chong Yidong Subject: Re: bug#7637: 24.0.50; Caps Lock triggers set-mark-command References: <87zks6bg1c.fsf@stupidchicken.com> <87r5dc1mud.fsf@stupidchicken.com> In-Reply-To: <87r5dc1mud.fsf@stupidchicken.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 7637 Cc: 7637@debbugs.gnu.org, emacs-devel@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) On 20/12/10 15:32, Chong Yidong wrote: > A user has reported that under a certain KDE setting, Caps Lock breaks > Emacs by making every motion key a shift-motion key, thus breaking the > shift-selection feature. Does anyone have KDE installed to test this? > Certainly KDE has: System Settings -> Personal -> Regional & Language -> Keyboard Layout -> Advanced -> CapsLock key behaviour -> CapsLock toggles Shift so all keys are affected (and a bunch of other options) i.e. It makes the caps lock key a true "shift lock", but it works "as intended" AFAICS - cursor keys will in effect be shifted (and therefore sweep out selections) when the shiftlock is on, and not when the shiftlock is off. (tested). On my machine, when active, both the caps lock and scroll lock LEDs are lit when the "shift lock" is activated. It's essentially equivalent to something you can do on the command line with setxkbmap, in fact the settings dialog prints the command line it's using at the bottom e.g. setxkbmap -option caps:shiftlock My understanding is that it's a chording-avoidance accessibility feature, and there's little emacs can or should do about it. KDE Kate and other X11 apps are affected in the same way as emacs, unsurprisingly. If you want normal caps lock behaviour, i.e. letters are capitalised but other stuff isn't shifted, then, er, leave it as a caps lock, not a shift lock. From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 04 22:51:25 2016 Received: (at control) by debbugs.gnu.org; 5 Jun 2016 02:51:25 +0000 Received: from localhost ([127.0.0.1]:54811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9O9t-00082Q-82 for submit@debbugs.gnu.org; Sat, 04 Jun 2016 22:51:25 -0400 Received: from mail-oi0-f52.google.com ([209.85.218.52]:35567) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b9O9s-00082D-87 for control@debbugs.gnu.org; Sat, 04 Jun 2016 22:51:24 -0400 Received: by mail-oi0-f52.google.com with SMTP id w184so180997075oiw.2 for ; Sat, 04 Jun 2016 19:51:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:cc; bh=eln73S6b4gdXAuN/FI5t2NboDWQE0/EvP6hDLYlnNW8=; b=Ch0VApnAnBkVybY9uWJ9q+K0TNZqhEECdbvIyYWRbD6lLhZIPifomFxPyZPrP76VRa xZTQdqMMaiQNbpadF+3y5wEmc3EPG4odWq3kYwQM0kYJFfg0Xed3R1tWdkTtYup0Zywb MEHyJVW6/Kkmvc8ru/MJCLjegJzEC07yw5QxaCTtTYWJirqxg/PQPZVvHOQppe5lKIQr oAstAYvmFxRAa9FW6OZbsu3fXmekOJCckMeXSVeCG+pkPLpufqbABJKJq1NGdmaUAO8W 6Q2crO/TEJMZXEYfHk+1MruPWmKs9j3d4P4fx1PoVgfvyi34hRWcLuueCcVZCpnBRJJ/ Oeqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:cc; bh=eln73S6b4gdXAuN/FI5t2NboDWQE0/EvP6hDLYlnNW8=; b=GLUONmiEqUm4DlL1IfT7GeGWExhwMrc4gQ6r0jQ8FYtzqJ/UU3osmphu1TVzbv8s6f p3mVLUmbKzcLh87Bf7qOXiDIRsSpccJ0umGc+v0oE3ZcfLSOQCQx9BeIFVp30HO0Hc/w CRpFSglNvQEsCfr3VOL6n0blttwfUBsWJGhNEKuHZyxEKah1ogKBc6ro0VSifg6viOr8 qW0ReooNS+gzB6QpVVFH20sOVyO2p8/ljnMjxNHtqU5qekmT8paLFN1KIloo/KahrMI4 j0rNMmfSd8br0UhUMzU8tPYDQkNPDFmCX1CBIvhnzhnREiEjG6ADAhj9Zfi8guqQX6kx 1BJw== X-Gm-Message-State: ALyK8tJgAS+MJ6RjIlnZB7YVGgTAh/lw1ZKzcOcJebsmSoyVCgH7b9YyiauxrKRIVk9fKZ42rxjnezOO3D1nQw== X-Received: by 10.157.51.74 with SMTP id u10mr5738347otd.124.1465095078528; Sat, 04 Jun 2016 19:51:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.5.168 with HTTP; Sat, 4 Jun 2016 19:51:18 -0700 (PDT) From: Noam Postavsky Date: Sat, 4 Jun 2016 22:51:18 -0400 X-Google-Sender-Auth: k4YKv2SX-rb92yy176vcdkn9HR4 Message-ID: Subject: Re: bug#4931: cua-selection-mode with Caps Lock turned on selects region To: 4931@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 Bcc: control@debbugs.gnu.org X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: control Cc: David De La Harpe Golden , =?UTF-8?B?TWl0amEgVXLFoWnEjQ==?= , Vincent Lefevre , Deniz Dogan X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) merge 4931 7637 17781 severity 4931 minor quit I see this too (Arch Linux, i3wm, no keyboard customizations that I know of). I see characters being translated to upper case in xev as well. In GNU Emacs 25.0.94.6 (x86_64-unknown-linux-gnu, X toolkit) of 2016-06-04 built on zony Repository revision: 7eb3bd56d0f0410d5053ee01f4b458d868682df6 Windowing system distributor 'The X.Org Foundation', version 11.0.11803000 Configured using: 'configure --cache-file=../debug-config.cache 'CFLAGS=-Og -g3 -march=native' --enable-checking --with-x-toolkit=lucid --without-toolkit-scroll-bars --with-gif=no --with-jpeg=no' KeyPress event, serial 30, synthetic NO, window 0x1c00001, root 0x95, subw 0x0, time 565199223, (-125,284), root:(679,322), state 0x0, keycode 53 (keysym 0x78, x), same_screen YES, XLookupString gives 1 bytes: (78) "x" XmbLookupString gives 1 bytes: (78) "x" XFilterEvent returns: False KeyRelease event, serial 33, synthetic NO, window 0x1c00001, root 0x95, subw 0x0, time 565199335, (-125,284), root:(679,322), state 0x0, keycode 53 (keysym 0x78, x), same_screen YES, XLookupString gives 1 bytes: (78) "x" XFilterEvent returns: False KeyPress event, serial 33, synthetic NO, window 0x1c00001, root 0x95, subw 0x0, time 565201384, (-125,284), root:(679,322), state 0x0, keycode 66 (keysym 0xffe5, Caps_Lock), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 33, synthetic NO, window 0x1c00001, root 0x95, subw 0x0, time 565201449, (-125,284), root:(679,322), state 0x2, keycode 66 (keysym 0xffe5, Caps_Lock), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 33, synthetic NO, window 0x1c00001, root 0x95, subw 0x0, time 565202637, (-125,284), root:(679,322), state 0x2, keycode 53 (keysym 0x58, X), same_screen YES, XLookupString gives 1 bytes: (58) "X" XmbLookupString gives 1 bytes: (58) "X" XFilterEvent returns: False KeyRelease event, serial 33, synthetic NO, window 0x1c00001, root 0x95, subw 0x0, time 565202715, (-125,284), root:(679,322), state 0x2, keycode 53 (keysym 0x58, X), same_screen YES, XLookupString gives 1 bytes: (58) "X" XFilterEvent returns: False ~$ setxkbmap -query -v Trying to build keymap using the following components: keycodes: evdev+aliases(qwerty) types: complete compat: complete symbols: pc+us+inet(evdev) geometry: pc(pc105) rules: evdev model: pc105 layout: us From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 18 10:04:35 2016 Received: (at control) by debbugs.gnu.org; 18 Sep 2016 14:04:35 +0000 Received: from localhost ([127.0.0.1]:34440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1blchu-0005jc-OK for submit@debbugs.gnu.org; Sun, 18 Sep 2016 10:04:35 -0400 Received: from mail-it0-f54.google.com ([209.85.214.54]:36346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1blchs-0005jM-Ri; Sun, 18 Sep 2016 10:04:33 -0400 Received: by mail-it0-f54.google.com with SMTP id o3so49029608ita.1; Sun, 18 Sep 2016 07:04:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=/3p5eVCif1vJndL1EL4FRxn4GCU68OLTMO30ZVtecZY=; b=Kie1JG04vhRXtCfuvpv9RSdi8RzhY5v0y3HY/0RTmdQZFMiwWrxru2TvXv8w87koJ1 S+k54X0SpIliGixGfTILmZDp+MkAwz2KN9bCUbNkgIXO4Ym715jBRML9NXDciCPJjui6 Fd0pfM3k/phlzN5FbTCn3Om1cWmYaLj6MQm9RYO/vtVZDYdHib8AdcqonPzi0TI/aBG+ VTvkkRqmAfmIkUOQ3pR67li76+r8nvxz7kI+94rvNvAxJX2EsDXInPYwUiTCUb+/DMHd BijWkyQt+UgmHVYNfyQBXmXyt4yIWFFyKx4ewbFp0c2dcLeDJB8YSD1Ds+HvC6AAmXhX elOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=/3p5eVCif1vJndL1EL4FRxn4GCU68OLTMO30ZVtecZY=; b=MzDuoM4LovZFdTpFW7OA6/vcECl2HVO82sC6xPGj6LTr0qMz88ai6/q+5LxROWr2K1 feBRzTRh7mjZgLfI4KAmtPZsKUF2pA7TGMAj+mcYW7b2jCUN8Ovl90oxvxpzMFRmMoA6 AMSURstkOXb4zKfz5g00WUEl4B4VCBLf+nHHJJOFePnhzn3BCgXvERLecYpdMGoAZ1w3 sdi5XckgbG+H01guj7gzhO/INy19exsL7/8pwy2m2mGirhPFZhDO4Ph9JL7zS1FliY4A +iuYjF85/l1oAr/d/jPPGmovnavNHelYiDHpwjkOpF1q8F103W1J57BYQU7YR6i2vohB 5hBg== X-Gm-Message-State: AE9vXwOj/ttjp3TFPBeJEgTsdp5ndqMgpsBjH15N1N/XVPWJx7Fl16dPKcxmY08DTnDmSw== X-Received: by 10.36.39.195 with SMTP id g186mr5827294ita.53.1474207467163; Sun, 18 Sep 2016 07:04:27 -0700 (PDT) Received: from zony ([45.2.7.130]) by smtp.googlemail.com with ESMTPSA id f14sm6525318ita.10.2016.09.18.07.04.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 18 Sep 2016 07:04:26 -0700 (PDT) From: npostavs@users.sourceforge.net To: Dima Kogan Subject: Re: bug#24456: 25.1; [PATCH] Caps-lock doesn't affect interpretation of key chords References: <87oa3l7ku4.fsf@secretsauce.net> Date: Sun, 18 Sep 2016 10:04:50 -0400 In-Reply-To: <87oa3l7ku4.fsf@secretsauce.net> (Dima Kogan's message of "Sun, 18 Sep 2016 00:01:23 -0700") Message-ID: <87k2e9z4l9.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control Cc: 24456@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) forcemerge 4931 24456 quit Dima Kogan writes: > > In a console on Debian it looks like Control+Shift+s produces C-s > regardless of caps-lock, but I suspect this has a deeper cause than what > this patch touches. Yeah, I think for terminals the keystrokes have to fit in bytes, so there is no room for both a Ctrl and Shift bit to be set. > > > I have tested this patch on gtk (fixes it) and the console (doesn't > change anything). Hopefully it makes osx work properly while letting > windows builds keep working. After applying the patch to emacs-25, I built --with-x-toolkit=lucid and --enable-checking; I get an assertion violation when hitting C-n with capslock on. In GNU Emacs 25.1.28 (x86_64-unknown-linux-gnu, X toolkit) of 2016-09-18 built on zony Repository revision: 76981c4457682ae8699789b334a3be7b60ad301d Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 Configured using: 'configure --cache-file=../debug-config.cache 'CFLAGS=-O0 -g3 -march=native' --enable-checking MAKEINFO=makeinfo-4.13a --with-x-toolkit=lucid --without-toolkit-scroll-bars --with-gif=no --with-jpeg=no' #0 terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:354 #1 0x00000000005fa996 in die (msg=0x7273e6 "c == event->code", file=0x7259b0 "keyboard.c", line=5415) at alloc.c:7223 #2 0x000000000057d40e in make_lispy_event (event=0xd2ab68 ) at keyboard.c:5415 #3 0x000000000057a2e3 in kbd_buffer_get_event (kbp=0x7fffffffddc8, used_mouse_menu=0x7fffffffe3af, end_time=0x0) at keyboard.c:4071 #4 0x000000000057514a in read_event_from_main_queue (end_time=0x0, local_getcjmp=0x7fffffffe170, used_mouse_menu=0x7fffffffe3af) at keyboard.c:2148 #5 0x0000000000575410 in read_decoded_event_from_main_queue (end_time=0x0, local_getcjmp=0x7fffffffe170, prev_event=0, used_mouse_menu=0x7fffffffe3af) at keyboard.c:2211 #6 0x0000000000576fa7 in read_char (commandflag=1, map=28530083, prev_event=0, used_mouse_menu=0x7fffffffe3af, end_time=0x0) at keyboard.c:2799 #7 0x0000000000585fe3 in read_key_sequence (keybuf=0x7fffffffe560, bufsize=30, prompt=0, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9089 #8 0x00000000005730f0 in command_loop_1 () at keyboard.c:1365 #9 0x000000000061a8c2 in internal_condition_case (bfun=0x572cb4 , handlers=19056, hfun=0x572346 ) at eval.c:1309 #10 0x00000000005728f6 in command_loop_2 (ignore=0) at keyboard.c:1107 #11 0x0000000000619e91 in internal_catch (tag=45840, func=0x5728cd , arg=0) at eval.c:1074 #12 0x0000000000572898 in command_loop () at keyboard.c:1086 #13 0x0000000000571e36 in recursive_edit_1 () at keyboard.c:692 #14 0x0000000000572036 in Frecursive_edit () at keyboard.c:763 #15 0x000000000056fde3 in main (argc=2, argv=0x7fffffffe9f8) at emacs.c:1626 From unknown Mon Jun 16 23:49:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 13 Nov 2016 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator