From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#54889: 29.0.50; shift keys can't function when using setxkbmap with custom_symbol in gnome Date: Wed, 13 Apr 2022 11:24:50 +0800 Message-ID: <87ilrdvf5p.fsf@yahoo.com> References: <8735ihx30j.fsf@yahoo.com> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37294"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 54889@debbugs.gnu.org To: bg.jheng@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 13 05:26:13 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1neTe1-0009aY-1B for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Apr 2022 05:26:13 +0200 Original-Received: from localhost ([::1]:51672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1neTdz-0007x6-Np for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Apr 2022 23:26:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neTdq-0007wv-Mw for bug-gnu-emacs@gnu.org; Tue, 12 Apr 2022 23:26:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57144) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1neTdq-0003wi-EC for bug-gnu-emacs@gnu.org; Tue, 12 Apr 2022 23:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1neTdq-0007jE-8c for bug-gnu-emacs@gnu.org; Tue, 12 Apr 2022 23:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Apr 2022 03:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54889 X-GNU-PR-Package: emacs Original-Received: via spool by 54889-submit@debbugs.gnu.org id=B54889.164982030829632 (code B ref 54889); Wed, 13 Apr 2022 03:26:02 +0000 Original-Received: (at 54889) by debbugs.gnu.org; 13 Apr 2022 03:25:08 +0000 Original-Received: from localhost ([127.0.0.1]:51041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neTcx-0007hs-TP for submit@debbugs.gnu.org; Tue, 12 Apr 2022 23:25:08 -0400 Original-Received: from sonic314-22.consmr.mail.ne1.yahoo.com ([66.163.189.148]:33098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neTcw-0007hB-OT for 54889@debbugs.gnu.org; Tue, 12 Apr 2022 23:25:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649820300; bh=Gl1XZYqmxkgduMJW5pquby0k4ZJ/gtSrGHjypS0vE40=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=UTEY8267/PC8KGc3x3TYY4sLWT57jEstI0nK31z/gmD6pQUQgy1HVBo/8AOrmtfNsAa6bgFvL1l1j+yI3LWDWYhI5UXzsVNRfqA+EPVlO15onaGQ+cYAlYIeXFYpXpNj9FgYrRE7lDow6sR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V67RB34FNHC08vCDHtMps8dLY1vJlNYaXwGpn7UeF.Di.BGqXN_BXRidW0QdLgH_X..kSGPF1P 21xWdSbBpHgXbzr96J16Xrl_s9MSDQlCrvC2FhUEpqnOA0bZbuC2DpvjDm8eau9yhMK0rHzCCPE5 HffUVugyLtMg.cuHfjJSpTyQO2pTtem2o2T13dcItWbSMAW3OVNS7WuoWHhaO6EIkOmWpmjuuKJn BZr42qeY0rDmM3Fg69tRk7H9NNrovj7VRXuzsKSdHjA9P5xKr4ywG.ebZyu7miPv5wG1lW639OJg ZoMz.lryrv15LPTP4dzeX2K76Z_GUmfYhnagidgkZSQU87gYZWePBiypMx_ul7RrDTT3_JMxp5wj e03UAzxmC.NqYtZb2UgXVSJF8IFLYCXg3sk.OQ7pFEvjMIn1DIYR2.emg0HwC4hNWt.9yLZypIcZ l5jqecMAVpxgn8ytWUfewEXKLImtJQsqu6gvtOeaMu X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Wed, 13 Apr 2022 03:25:00 +0000 Original-Received: by hermes--canary-production-sg3-65d7bd97b5-8hnzk (VZM Hermes SMTP Server) with ESMTPA ID 8bd78061cc763f5333c68c41df036e62; Wed, 13 Apr 2022 03:24:54 +0000 (UTC) In-Reply-To: (bg jheng's message of "Wed, 13 Apr 2022 03:01:24 +0000") X-Mailer: WebService/1.1.20001 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:229800 Archived-At: [Please use "Reply All" to reply, otherwise your messages will not be recorded in the bug tracker.] bg.jheng@gmail.com writes: > Hi, > thans reply. > > 1. i tried to use this cmd as attached: > xmodmap -pk > modifier_map_Shift__on > xmodmap -pk > modifier_map_Shift__off > > do you mean this cmd? I asked for the the output of `xmodmap' (without any arguments, including "-pk") when your system is configured so that typing Shift+N, for example, results in "H-_". > 2. when i am testing, > i noticed that SHIFT+anykey can output capital letter, > even though to set 'modifier_map_Shift' off in the file: mysymbol, > so in fact, if there are no > // modifier_map Shift { }; > // modifier_map Shift { }; > i can input any latter with Shift keys in emacs 29 if i do not set 'modifier_map Shift' on. > > because originally i install archlinux with gnome (default xwayland) > i referenced arch wiki to use this cmd to output the whole layout: > xkbcomp $DISPLAY ~/.config/xkb/xkb_output.xkb > there are modifier_map in the output file, > so i thought it shall has to set ' modifier_map Shift' there. > after test, it seems no modifier_map Shift still works. > > but i tried three application that accepted level three key: > firefox, urxvt, emacs, > only emacs can't use shift key to input capital letter with the set ' modifier_map Shift' on. Did you try building `--with-xinput2'? And do you have any funny options such as `x-gtk-use-native-input' enabled? What happens if you run Emacs like this? emacs -q -xrm 'Emacs.useXIM: false' Thanks in advance.