From unknown Fri Jun 20 07:24:13 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#17781 <17781@debbugs.gnu.org> To: bug#17781 <17781@debbugs.gnu.org> Subject: Status: 24.3; When CapsLock is on, Emacs regards Ctrl-letter as shifted Reply-To: bug#17781 <17781@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:24:13 +0000 retitle 17781 24.3; When CapsLock is on, Emacs regards Ctrl-letter as shift= ed reassign 17781 emacs submitter 17781 Vincent Lefevre severity 17781 minor tag 17781 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 14 13:39:12 2014 Received: (at submit) by debbugs.gnu.org; 14 Jun 2014 17:39:12 +0000 Received: from localhost ([127.0.0.1]:47942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wvrv5-0007Sm-IX for submit@debbugs.gnu.org; Sat, 14 Jun 2014 13:39:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58134) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wvrv2-0007SY-Ag for submit@debbugs.gnu.org; Sat, 14 Jun 2014 13:39:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wvrup-0001YD-JU for submit@debbugs.gnu.org; Sat, 14 Jun 2014 13:39:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48537) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wvrup-0001Y8-Gk for submit@debbugs.gnu.org; Sat, 14 Jun 2014 13:38:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wvrui-0006Ac-Mm for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 13:38:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wvruc-0001Gg-Di for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 13:38:48 -0400 Received: from ioooi.vinc17.net ([92.243.22.117]:57084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wvruc-0001CJ-1h for bug-gnu-emacs@gnu.org; Sat, 14 Jun 2014 13:38:42 -0400 Received: from smtp-xvii.vinc17.net (128.119.75.86.rev.sfr.net [86.75.119.128]) by ioooi.vinc17.net (Postfix) with ESMTPSA id 3D8D130D; Sat, 14 Jun 2014 19:38:34 +0200 (CEST) Received: by xvii.vinc17.org (Postfix, from userid 1000) id 9A6B421A06D; Sat, 14 Jun 2014 19:38:33 +0200 (CEST) From: Vincent Lefevre To: bug-gnu-emacs@gnu.org Subject: 24.3; When CapsLock is on, Emacs regards Ctrl-letter as shifted Date: Sat, 14 Jun 2014 19:38:33 +0200 Message-ID: <87sin7crxi.fsf@xvii.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.0 (-----) When CapsLock is on, Emacs regards Ctrl+letter as shifted: for instance, C-h k gives for Ctrl+A: C-a (translated from C-S-a) runs the command move-beginning-of-line, The effect is that with the letters a, b, e, f, n, p, the region will be changed. The "xev" command says KeyPress event, serial 40, synthetic NO, window 0x3e00001, root 0x1ee, subw 0x0, time 155699382, (90,75), root:(190,975), state 0x6, keycode 38 (keysym 0x41, A), same_screen YES, XLookupString gives 1 bytes: (01) "" XmbLookupString gives 1 bytes: (01) "" XFilterEvent returns: False for Ctrl+A with CapsLock, and KeyPress event, serial 40, synthetic NO, window 0x3e00001, root 0x1ee, subw 0x0, time 155704062, (90,75), root:(190,975), state 0x5, keycode 38 (keysym 0x41, A), same_screen YES, XLookupString gives 1 bytes: (01) "" XmbLookupString gives 1 bytes: (01) "" XFilterEvent returns: False for Ctrl+Shift+A (without CapLock). Note that Firefox doesn't have this problem: for instance, Ctrl-P is Print whether CapsLock is on or not, and Ctrl-Shift-P is New Private Window. So, this doesn't appear to be a keyboard configuration problem. In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.12.2) of 2014-06-06 on barber, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11501000 System Description: Debian GNU/Linux unstable (sid) Configured using: `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk3' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'LDFLAGS=-Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LC_COLLATE: POSIX value of $LC_CTYPE: en_US.UTF-8 value of $LC_TIME: en_DK value of $LANG: POSIX locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: display-time-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: x r e p o r Recent messages: Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)... Loading cjk-enc...done Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)...done Loading /etc/emacs/site-start.d/50latex-cjk-thai.el (source)...done Loading /etc/emacs/site-start.d/50psvn.el (source)...done Loading /etc/emacs/site-start.d/50rnc-mode.el (source)...done Loading /etc/emacs/site-start.d/50w3m-el.el (source)...done Loading /home/vinc17/share/emacs/site-lisp/mutteditor.el (source)...done Loading time...done For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: /usr/share/emacs24/site-lisp/css-mode/css-mode hides /usr/share/emacs/site-lisp/css-mode/css-mode /usr/share/emacs/24.3/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs/site-lisp/autoconf/autotest-mode hides /usr/share/emacs/site-lisp/autotest-mode /usr/share/emacs24/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /usr/share/emacs24/site-lisp/html-helper-mode/tempo hides /usr/share/emacs/24.3/lisp/tempo /usr/share/emacs24/site-lisp/flim/hex-util hides /usr/share/emacs/24.3/lisp/hex-util /usr/share/emacs24/site-lisp/flim/md4 hides /usr/share/emacs/24.3/lisp/md4 /usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.3/lisp/textmodes/flyspell /usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.3/lisp/textmodes/ispell /usr/share/emacs24/site-lisp/css-mode/css-mode hides /usr/share/emacs/24.3/lisp/textmodes/css-mode /usr/share/emacs24/site-lisp/flim/hmac-md5 hides /usr/share/emacs/24.3/lisp/net/hmac-md5 /usr/share/emacs24/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/24.3/lisp/net/sasl-ntlm /usr/share/emacs24/site-lisp/flim/sasl-cram hides /usr/share/emacs/24.3/lisp/net/sasl-cram /usr/share/emacs24/site-lisp/flim/ntlm hides /usr/share/emacs/24.3/lisp/net/ntlm /usr/share/emacs24/site-lisp/flim/sasl hides /usr/share/emacs/24.3/lisp/net/sasl /usr/share/emacs24/site-lisp/flim/hmac-def hides /usr/share/emacs/24.3/lisp/net/hmac-def /usr/share/emacs24/site-lisp/flim/sasl-digest hides /usr/share/emacs/24.3/lisp/net/sasl-digest /usr/share/emacs24/site-lisp/latex-cjk-thai/thai-word hides /usr/share/emacs/24.3/lisp/language/thai-word /usr/share/emacs24/site-lisp/html-helper-mode/html-helper-mode hides /usr/share/emacs/site-lisp/html-helper-mode/html-helper-mode /usr/share/emacs24/site-lisp/html-helper-mode/hhm-config hides /usr/share/emacs/site-lisp/html-helper-mode/hhm-config /usr/share/emacs24/site-lisp/html-helper-mode/tempo hides /usr/share/emacs/site-lisp/html-helper-mode/tempo /usr/share/emacs24/site-lisp/html-helper-mode/visual-basic-mode hides /usr/share/emacs/site-lisp/html-helper-mode/visual-basic-mode Features: (shadow sort gnus-util mail-extr warnings emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time cus-start cus-load paren cc-styles cc-align cc-engine cc-vars cc-defs w3m-load jabber-autoloads time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment 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 minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 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) 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 Fri Jun 20 07:24:13 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