From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 12 12:50:56 2022 Received: (at submit) by debbugs.gnu.org; 12 Apr 2022 16:50:57 +0000 Received: from localhost ([127.0.0.1]:49652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neJjC-0003Va-9G for submit@debbugs.gnu.org; Tue, 12 Apr 2022 12:50:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:51006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neIIp-0004a5-4h for submit@debbugs.gnu.org; Tue, 12 Apr 2022 11:19:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neIIo-0002kh-WB for bug-gnu-emacs@gnu.org; Tue, 12 Apr 2022 11:19:35 -0400 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]:39639) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1neIIm-0002s2-Lf for bug-gnu-emacs@gnu.org; Tue, 12 Apr 2022 11:19:34 -0400 Received: by mail-ed1-x52a.google.com with SMTP id g20so22756629edw.6 for ; Tue, 12 Apr 2022 08:19:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=iRUsYXCuKy6b2bAlyBEytrUFyo8wPHGyeWWgO2myjE4=; b=megXaSRsJbN8XVotHbH9/p4Af4di/aiywNU1Rg/FKXMcnHwQ9HQgoT2sToq/dccRrm S8SxXd/LFW2sA1YqbpRvXSj8h03bQ3COKd7IhyzQswCEwN++tmWJJvHjamgQMnKdYmxw BH7KHQq7vbfBTrndqFVGYKQK5FfYMCZLD8JvuVYCMgGjsN5i/L1fTJSM4IArBZ1ikjSu jm/0POQYiosbZ/Y0HUwp8VknLAo6RlC4MXi9YlIFIqLWb6z3vYoXXSrISapXfTOzJvbd lI/l3bsAqYmADt2YYNzfolTJ3ezS4cCaqC8aimN7H5mkW5rP31o25DGyxrDaydgK0ac8 NuNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=iRUsYXCuKy6b2bAlyBEytrUFyo8wPHGyeWWgO2myjE4=; b=VBMbeR0kJNS+G//Y+rKhHxKwq1Ga4XwiQqlVF/r3hNKif5Xwt+FZDG+2L86M6bVFCP 2FHgG14BgAUqkoGiUQZE2VgB26M2oeUZj1ypiKXP4cObDLJP+oQgb0/WweyWZkU2gyp1 CQrq1DEwmiz1QF3c7h/6BQtpD2415GqWSGoJs+ezd0zrSjMp80hhtlFPHaWFx2RAcQeJ NiZ1+G7AuLsiWwwRZxFrzZyj8exULH1iInpWRvOXCK95IxNlxoDRew54fQx7OCaVpLx8 Vu/UgzuAx9mGBnGO1bhYsTh5q0qnqRBIlb/FCMV/j2BJ/OmmAJYtYexyhc/3exZd3lWS enuw== X-Gm-Message-State: AOAM533bcJ/o9Fqk+YgenxbovZkZPU0lF3iEYnQbHEkZuJI1r0xcef7p eZk9jKxqnC7hHKkXvHlxBsfCZxA2A5uGehwKOThH+ZAW X-Google-Smtp-Source: ABdhPJzqDpNf25MMgnMlYmJ4+SEVCEWAqDtaernkJEqiKxKPCvNwi+Zu7qO5Be0CRpE1+5Qyp4OgS+N0JimJ8VRf5j0= X-Received: by 2002:a05:6402:910:b0:41d:9622:3297 with SMTP id g16-20020a056402091000b0041d96223297mr2833537edz.393.1649776769379; Tue, 12 Apr 2022 08:19:29 -0700 (PDT) MIME-Version: 1.0 From: bg.jheng@gmail.com Date: Tue, 12 Apr 2022 15:10:26 +0000 Message-ID: Subject: 29.0.50; shift keys can't function when using setxkbmap with custom_symbol in gnome To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="0000000000004c319a05dc7696ae" Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=bg.jheng@gmail.com; helo=mail-ed1-x52a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 12 Apr 2022 12:50:53 -0400 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: -2.3 (--) --0000000000004c319a05dc7696ae Content-Type: text/plain; charset="UTF-8" Hi, first, thanks for solved ibus input problem last time . now, I am struggling to config hot key in normal pc104 layout keyboard for too few key can be set. and tried to use xkb to set extra key level, and work fine in privious emacs v27, 28. because i can't made Caps_Lock to remap to control key working with 'setxkbmap' , so first, using cmd to change RWIN and MENU key in gnome: gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'us'), ('ibus', 'rime')]" gsettings set org.gnome.desktop.input-sources xkb-options "['caps:ctrl_modifier', 'lv3:rwin_switch', 'compose:menu-altgr']" second, using setxkbmap to chang symbols: setxkbmap -model pc104 -layout us -keycodes mykeycode -types mytype -compat mycompat -symbols mysymbol (all files in each dirs under /usr/share/X11/xkb) all keys work normally, my extra key level and group are working fine, but Shift_L, Shift_R are no function when i using emacs -q in v29 . i saw `H-_ is indefined` in minibuffer but no any letter inserted when i tried to input any capital letter . finally, i found it can input capital letter, if i removed modifier_map of shift keys: in xkb_symbols file: // modifier_map Shift { }; // modifier_map Shift { }; // modifier_map Shift { Shift_L, Shift_R }; my xkb files in here: https://drive.google.com/file/d/19_tcP8VSeUYgG9f4zkGEbavbaBOwOLso/view?usp=sharing and using cmd: setxkbmap -model pc104 -layout us -symbols mysymbol or xkbcomp .config/xkb/myxkb_keymap.xkb $DISPLAY now, emacs v29 shift key plus any letter can be inputed capital letter. because the same xkb keymap is woring normally in emacs 27, 28, so i am wonder if there is any difference in mechanisms of keymap in emacs v29? In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.6) of 2022-04-07 built on lpc Repository revision: c1a6aa0c3eb1029e3f7f5c3b227d7952bee775b8 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12201000 System Description: Arch Linux Configured using: 'configure --with-mailutils' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LC_MONETARY: zh_TW.UTF-8 value of $LC_NUMERIC: zh_TW.UTF-8 value of $LC_TIME: zh_TW.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media rmc puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date seq gv subr-x byte-opt bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice simple cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 45904 8943) (symbols 48 5711 1) (strings 32 15920 1719) (string-bytes 1 512729) (vectors 16 11313) (vector-slots 8 163309 13969) (floats 8 21 33) (intervals 56 373 4) (buffers 992 12)) --0000000000004c319a05dc7696ae Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
first, thanks for solved ibus input pro= blem last time .

now, I am struggling to config ho= t key in normal pc104 layout keyboard for too few key can be set.
and tr= ied to use xkb to set extra key level, and work fine in privious emacs v27,= 28.

because i can't made Caps_Lock to remap to control key work= ing with 'setxkbmap' ,
so first, using cmd to change RWIN and ME= NU key in gnome:
=C2=A0 gsettings set org.gnome.desktop.input-sources so= urces "[('xkb', 'us'), ('ibus', 'rime'= )]"
=C2=A0 gsettings set org.gnome.desktop.input-sources xkb-option= s "['caps:ctrl_modifier', 'lv3:rwin_switch', 'comp= ose:menu-altgr']"

second, using setxkbmap to chang symbols:=
=C2=A0setxkbmap -model pc104 -layout us -keycodes mykeycode -types myty= pe -compat mycompat -symbols mysymbol
(all files in each dirs und= er /usr/share/X11/xkb)

all keys work normally,
my extr= a key level and group are working fine,
but Shift_L, Shift_R are no func= tion when i using=C2=A0 emacs -q in v29 .
i saw `H-_ =C2=A0 is indefined= ` in minibuffer but no any letter inserted when i tried to input any capita= l letter .

finally, i found it can input capital letter, if i remove= d modifier_map of shift keys:
in xkb_symbols file:
=C2=A0=C2=A0=C2=A0= // modifier_map Shift { <LFSH> };
=C2=A0=C2=A0=C2=A0 // modifier_= map Shift { <RTSH> };
=C2=A0=C2=A0 //=C2=A0 modifier_map Sh= ift { Shift_L, Shift_R };

my xkb files in here:=C2=A0 https://drive.google.com/file/d/19_tcP8VSeUYg= G9f4zkGEbavbaBOwOLso/view?usp=3Dsharing

and using cmd:
setxkb= map -model pc104 -layout us -symbols mysymbol
or
x= kbcomp .config/xkb/myxkb_keymap.xkb $DISPLAY

now, = emacs v29 shift key plus any letter can be inputed capital letter.

b= ecause the same xkb keymap is woring normally in emacs 27, 28,
so i am w= onder if there is any difference in mechanisms of keymap in emacs v29?
<= br>


In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, G= TK+ Version 3.24.33, cairo version 1.17.6)
of 2022-04-07 built on lpcRepository revision: c1a6aa0c3eb1029e3f7f5c3b227d7952bee775b8
Repositor= y branch: master
Windowing system distributor 'The X.Org Foundation&= #39;, version 11.0.12201000
System Description: Arch Linux

Config= ured using:
'configure --with-mailutils'

Configured featu= res:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ = JPEG
JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIF= Y
PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BAR= S
WEBP X11 XDBE XIM XPM GTK3 ZLIB

Important settings:
value of= $LC_MONETARY: zh_TW.UTF-8
value of $LC_NUMERIC: zh_TW.UTF-8
value of= $LC_TIME: zh_TW.UTF-8
value of $LANG: en_US.UTF-8
value of $XMODIFIE= RS: @im=3Dibus
locale-coding-system: utf-8-unix

Major mode: Lisp = Interaction

Minor modes in effect:
tooltip-mode: t
global-eldo= c-mode: t
eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t=
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-nam= e-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-= cursor-mode: t
line-number-mode: t
indent-tabs-mode: t
transient-m= ark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-= compression-mode: t

Load-path shadows:
None found.

Feature= s:
(shadow sort mail-extr emacsbug message mailcap yank-media rmc puny=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 dired dired-loaddefs rfc822 mm= l mml-sec password-cache epa derived epg
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 rfc6068 epg-config gnus-util text-property-search time-date se= q gv
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 subr-x byte-opt bytecomp= byte-compile cconv mm-decode mm-bodies
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader c= l-loaddefs
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 cl-lib sendmail rf= c2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils
=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 iso-transl tooltip eldoc paren electric uniquif= y ediff-hook vc-hooks
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 lisp-fl= oat-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 tool-bar dnd fontset image regexp-opt = fringe tabulated-list replace
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 rfn-eshadow isearch easymenu ti= mer select scroll-bar mouse jit-lock
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 font-lock syntax font-core term/tty-colors frame minibuffer nadvi= ce
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 simple cl-generic cham geo= rgian utf-8-lang misc-lang vietnamese tibetan
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 thai tai-viet lao korean japanese eucjp-ms cp51932 hebre= w greek romanian
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 slovak czech= european ethiopic indian cyrillic chinese composite
=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 emoji-zwj charscript charprop case-table epa-hook = jka-cmpr-hook help
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 abbrev oba= rray oclosure cl-preloaded button loaddefs faces cus-face
=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 macroexp files window text-properties overla= y sha1 md5 base64 format env
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = code-pages mule custom widget keymap hashtable-print-readable backquote
= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 threads dbusbind inotify lcms2 d= ynamic-setting system-font-setting
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty
= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 make-network-process emacs)
<= br>Memory information:
((conses 16 45904 8943)
=C2=A0(symbols 48 5711= 1)
=C2=A0(strings 32 15920 1719)
=C2=A0(string-bytes 1 512729)
= =C2=A0(vectors 16 11313)
=C2=A0(vector-slots 8 163309 13969)
=C2=A0(f= loats 8 21 33)
=C2=A0(intervals 56 373 4)
=C2=A0(buffers 992 12))
=
--0000000000004c319a05dc7696ae-- From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 12 20:04:28 2022 Received: (at 54889) by debbugs.gnu.org; 13 Apr 2022 00:04:28 +0000 Received: from localhost ([127.0.0.1]:50648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neQUl-0001Bh-Tg for submit@debbugs.gnu.org; Tue, 12 Apr 2022 20:04:28 -0400 Received: from sonic307-10.consmr.mail.ne1.yahoo.com ([66.163.190.33]:46122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neQUk-0001BU-3b for 54889@debbugs.gnu.org; Tue, 12 Apr 2022 20:04:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649808259; bh=tpwAUAWCBol420UGbRay/z1wn90hUPD0pmI/6CHyp8c=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=iM6pT3W2aNpfuRqQRAmjuE9onS0p2CKyLtfhVSsr3imIxOvLYlL01uckykJ6mJ9PxP6vvTz3Rnrj8WiVljze4IftW7jR8KJ6ChIGZquWuQ2buA4DVVatunZyBih5isjmzHmp48ydwg39U60Naf0Ufrv0yWH+d/zll+gSc7/xEOEX7aAnsdwNcfHci9TUKAmES37XKFHMhNn5awiM+9WY58HEULwdhG6180MuqJX9TwigxWeuIxkh9GlM9AHu1mwTjkBOgh2YwTfnWjLqvlYXuGtJHB4gAduYuYGkRwTHWOrYTgHv+p23/qndeI7zGVnKw5xcSydJ8lmCAS2gM89VHg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649808259; bh=TQPC0ruJSl38VmDYUtsKNDN9dQTLPFccaAAUowhKoFB=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=cpGFDSvrk8ek+vvf4OKDk8cmg9YBBZxH9+Sf+ByFLE2epyZc3sR9jV6HDkFdcRrYcsnTbXttp6y2+0X3U4zySBpgVSVlhvu4OWKtMIFp9TZ5zdw7JmlM8W1JBUNS7VFCI1TBfzy+9KrXUTzxAhkpE4lNLfelOmvqU+dAiQvxA7Dhs/r/XZS68weDOxNZbSUvtIdXQxlpcJNopFEgmMfd6w4JUC75a+VvuGUIXwBsUloS6ssVDzdYZS5QhUePAGg3uPX5LUT/TzU8grIhG7CyKfHRQVX2RgVRqEgqcNCOUGR9FWtnw+xisy9JQqZVFdOBC8bkamLyzokgD/w4BPjXQQ== X-YMail-OSG: N0I9_qoVM1nVI8pM4H75F7RsJeUivLS2VVMBBcICR3xgo1vX8T.rxlewkIE5N64 EpThQgDxMH4aVOgiWh8xp6xGzW0VX52WTtImlddtG1FIkWeichdSeFAdMOWptzWt8hqgJaqw8xy. jSZEH1mooDJL8_WlokuSXDeAQr9rcF1uioJGlasT4XyVt2gBPPx90A_Al3ElWa2YSGe30xQeSYY5 M.RVtY_2DiA7KpLSbABpV__oFSTWW86wOfs5zFAopJcnOGAPLwsC.oAQDry8.phxX2VB5OC64346 VYkWfWb9tI8jSwfTv8vLYaKWf7QbEsEgI8q0sayM_EQ2yNp.6LRit3efmpqfvS8Fd63FJgBRthxt Lx4ESimyHKcQkWl6P8q_TRJIOGNo4Kz743IYWv0pxM4ZR0Cifv7cz.A.Isn7U1Wn1KsWbeU8V3II 0XDdfPpFKvzusO8Dn7huaL4KYdRsrmkrQUHarZ39jlgWmvK8bSTfuy8kIscgMIcUtXdSk5wFNJLX rHIwWG5J4XqzzXkJNmw891Mn8Xleh.0yU_uq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.qsRrCiorC2QqzIzYIWhLsZ8MgQAQc2VK5ABys8scRrtGyE6mna2a i0kaTUE2Q9NY0EXiXe4AcVaQ2rsiCsV8KbgBDoc7.I6VaVF1sgoQql6qvG2alJ1z55nLawqB0ns2 HHFMFb4Q7MOOBMHDzDTs1M8V1l3e7vYeVTMPeJFloKvtY_z.QS29fvYTV8fD5Ic7HjCob3E0jEhG 4vOhTEUFg0CFRTOj208ZmvLympfHdwFBKG9m3cY0R3a3_m.PVRFwOUtYVB6ENB6QJwyvU_D7j1k0 dcsEVNUiAu2aJDsN1DgWgSY8cMiPz1HuQvLU1nkB48Q6Huzb_X17lkIEZT9YI69rUdQLiWu1STAM UDjBeaXvbbL54BUvgr11VtzxLM89BKb7.IpWGyqArIb8ml3o4_voPmprZ964KzuIoNuTAz5.BzuQ M5uo5F9TBH98LEawShKDlWMqQ9c4GzYoPaPYWduxPeuirReiCiy_4VI1uZ6QbrOnwuIzarddmxwa YsGRMzb3ye_KZpUhNMGnYdi.aooENP8AXSYGVbnpG0KaHXni__ircAzXj6OL1BylJULR0.pPJeoF DJOJrBRZStrcvAb9HLRvJBG5qJPo3MusdXGGbT899Z_xXg.MIxs0DDDPPU8h2bhUJxyIRzdPK33D eBujrFbu.Jg8q3hsvts0i0vX52ltkoQT8CH7498P9aFDRd3WjEvJ.8p9OuxxW X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Wed, 13 Apr 2022 00:04:19 +0000 Received: by hermes--canary-production-sg3-65d7bd97b5-5v4hr (VZM Hermes SMTP Server) with ESMTPA ID 36783de6e3c8fa9a246d71857a119997; Wed, 13 Apr 2022 00:04:16 +0000 (UTC) From: Po Lu To: bg.jheng@gmail.com Subject: Re: bug#54889: 29.0.50; shift keys can't function when using setxkbmap with custom_symbol in gnome References: Date: Wed, 13 Apr 2022 08:04:12 +0800 In-Reply-To: (bg jheng's message of "Tue, 12 Apr 2022 15:10:26 +0000") Message-ID: <8735ihx30j.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20001 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1167 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54889 Cc: 54889@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: -1.0 (-) bg.jheng@gmail.com writes: > all keys work normally, > my extra key level and group are working fine, > but Shift_L, Shift_R are no function when i using emacs -q in v29 . > i saw `H-_ is indefined` in minibuffer but no any letter inserted when i tried to input any capital letter . > > finally, i found it can input capital letter, if i removed modifier_map of shift keys: > in xkb_symbols file: > // modifier_map Shift { }; > // modifier_map Shift { }; > // modifier_map Shift { Shift_L, Shift_R }; > > my xkb files in here: > https://drive.google.com/file/d/19_tcP8VSeUYgG9f4zkGEbavbaBOwOLso/view?usp=sharing > > and using cmd: > setxkbmap -model pc104 -layout us -symbols mysymbol > or > xkbcomp .config/xkb/myxkb_keymap.xkb $DISPLAY > > now, emacs v29 shift key plus any letter can be inputed capital letter. > > because the same xkb keymap is woring normally in emacs 27, 28, > so i am wonder if there is any difference in mechanisms of keymap in emacs v29? A great deal has changed under the hood. Would you please show the output of `xmodmap' with the shift key mapping rules that you removed installed? Thanks in advance. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 12 23:25:08 2022 Received: (at 54889) by debbugs.gnu.org; 13 Apr 2022 03:25:08 +0000 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 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+cYAlYIeXFYpXpNj9FgYrRE7lDow6sRPGobBIiI44qRYH9mkRTOhRPegopmJMICIaJw+l+bogAtbVje4R+DN7MRrCIFMVwhMCLKuv+DqG04fpOqOhWdgbvotFu58gdTAYrqLMUTuHhQ3tXyj1rbM/zscFAHylU2sqcsdKdDydcEGaVcXjWMSJ/d0jQIRGFrTC6NnWNUk/C7MyeckNNqZ3NCbsKoqfgVqMi7vrA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649820300; bh=2HTZJ3uxmji66NyWeuvea/4Bly8p1bXSc+3vxqR/klq=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=WLCnlEQKxUAVCG04KRPiWkSMVkGd9+3sKFeWVkPU4UuC8qInWUzlGem2FxP5iXtU2eoev6cAbZ8RqN72eYivweA2UQpLiD5Z5hjjhN286E+Rtefb2GdTSrqZMtfUMLpbHzKkoT/2eelnJNLj9DCyi3WmGfa3tLbdhJbmVGVUSn2CdR70uMbUv0ZGiqSqEu8B3yVHU81ErSBQyq5YZZSG+I/lKjFW2Z51eI9uHnKtluhqkYsmhvwnASnTIF8b6JeUSDxEkZZAnCV4eu27jU+/Cuu1IP4OqPY3U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TFRyUEFMBWJV3 cLn6pNJxXUFeh9..TXbdMkmAN14nnAOTMQMSgjBMs2gzSxjM52XN98DiZHiXpRwi.SmUK2aOfnUr c3vgckauMhuRw1dzOZkAWofw8MMwXxs0RV8PrluGu66aAbQv4X3R.TUxyqfDs_nJIY724uEo6cEL nF9fm.G4LgRBvAgTwQnexjlE9QrfHedfpyh0WKNEqfNnxrBXZKML.dg1hXTDJDr0- X-Sonic-MF: 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 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) From: Po Lu To: bg.jheng@gmail.com Subject: Re: bug#54889: 29.0.50; shift keys can't function when using setxkbmap with custom_symbol in gnome References: <8735ihx30j.fsf@yahoo.com> Date: Wed, 13 Apr 2022 11:24:50 +0800 In-Reply-To: (bg jheng's message of "Wed, 13 Apr 2022 03:01:24 +0000") Message-ID: <87ilrdvf5p.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20001 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1687 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54889 Cc: 54889@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: -1.0 (-) [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. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 12 23:58:01 2022 Received: (at control) by debbugs.gnu.org; 13 Apr 2022 03:58:01 +0000 Received: from localhost ([127.0.0.1]:51125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neU8n-0000C6-3R for submit@debbugs.gnu.org; Tue, 12 Apr 2022 23:58:01 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1neU8k-0000Bq-Ux for control@debbugs.gnu.org; Tue, 12 Apr 2022 23:57:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7KuOWb8ki9hBqhQhVrjydt0kzwerA46igX2RRuf7JjM=; b=iAINzzAh3dh03MtoSNAiydfGaU PyEGiCHlPTESB8xYOt6xuNj2w9OOIHvrkJcMSHB+m+UVBYNJaC8KhodOoiAKaHr4GCuIIF5kPy9cz o2/KSr6hvaYvSvJEOYFdpDQdYU0mEtJPxlJKUiZ8OaO7q3arkTSsK0X/rKoPvocABKpo=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1neU8d-0007iW-0K for control@debbugs.gnu.org; Wed, 13 Apr 2022 05:57:52 +0200 Date: Wed, 13 Apr 2022 05:57:48 +0200 Message-Id: <87ee21r5xf.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #54889 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 54889 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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: -3.3 (---) tags 54889 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 13 20:50:24 2022 Received: (at 54889) by debbugs.gnu.org; 14 Apr 2022 00:50:24 +0000 Received: from localhost ([127.0.0.1]:54410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nengm-00052B-8A for submit@debbugs.gnu.org; Wed, 13 Apr 2022 20:50:24 -0400 Received: from sonic313-9.consmr.mail.ne1.yahoo.com ([66.163.185.32]:34038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nengk-00051v-M8 for 54889@debbugs.gnu.org; Wed, 13 Apr 2022 20:50:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649897416; bh=0Q972xnZRC1vFiyki1NRBmvGEKphMaRDgOY2C2vEaYo=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=retXGCtOXMH8g/G1SS9r1vgUwjaUe5EN/V08Rclh0MR1+1J2hIDWbINiY+37R3LGJkt3p9to2UtAkl7vX7jFwrNvw6M33hEXmgE5cdHDz2BDaXsbjAeeBqTQIlLloogWi3VWVue0LisyFy4f+C/YT4QBnbJEB7XEg8glOmyIuKyGr9cekp57FI2fSHp01BIygM7echNBKna7B7eCFWS5unbTCKglNoAbEasElT2Oc9l4RxVO35SiKPHBYQPnESbkpH4gbrbqC7IppAfyb2jGFscBD46qcZ1LK+HEsh534EqjtHsxJLYWk8rS7golFEuEJBQhkIkOrK+GkEpVwS4edw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649897416; bh=jdnIZIWUFOsX9lfPZAE6Rh6a7OIE7n5K6/e+hoKEmx5=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Q6OIbRG/20EUWg9lhxAeSh1TYtZ7Hgf53Ld8VTpjmNfjlh+K3Co5md1NVc83ADeEzttyW0rwJkJ4gDiFyqvmuxGELwivnQN46Ujo7Briqmt6qslQfAdwVb1rzM1d2J3m2qs811HFcu4w+WbgDb3g9PZXAlUYJTLvCQx77jbLyKKfPQEEpCwgW4lodn2yIRPcEH1hBgvKV3QsH7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KHQARcRE7kJhYocAq5lODiBlus8sZrRgY8 no13RPwdmJvVpY4t1WIJ_Hu0KsV3AvP1D94LehN.XC4NQbLOkp1DJU5.8LqP5cXbDAC3tuKrTmUX TQUwh8oH.pXqzsur0mR813f3IzLyGbUeN2xFpTK0kQ0_4m.roPwwSxEMXpso.dUZCPUqnxnuxHkV Oh5e5iNTrQBlrRKkAkDmRp9Aw5WvUp243WM8R_D.xddHhJXBgt3E7Wee0BUcMSp3ZSKXK03r6gYe ejOI4k.rq5E2YnQUCG0HfGdc35bq8S5I.CXkKN.tLpBmbzSjXMwxaRVclcJhDo6o- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Thu, 14 Apr 2022 00:50:16 +0000 Received: by hermes--canary-production-sg3-65d7bd97b5-p7hgv (VZM Hermes SMTP Server) with ESMTPA ID 12d56cd55184a73826e938451caa12c8; Thu, 14 Apr 2022 00:50:11 +0000 (UTC) From: Po Lu To: bg.jheng@gmail.com Subject: Re: bug#54889: 29.0.50; shift keys can't function when using setxkbmap with custom_symbol in gnome References: <8735ihx30j.fsf@yahoo.com> <87ilrdvf5p.fsf@yahoo.com> <877d7tvatx.fsf@yahoo.com> Date: Thu, 14 Apr 2022 08:50:06 +0800 In-Reply-To: (bg jheng's message of "Wed, 13 Apr 2022 15:40:43 +0000") Message-ID: <87bkx4trnl.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.20001 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 4370 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54889 Cc: 54889@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: -1.0 (-) [Seriously, please use "Reply All", otherwise the bug tracker cannot record this conversation. Thanks] bg.jheng@gmail.com writes: > 2. because i am not familier gdb, > i need aide : > a) this is message wnen i enter gdb /dev/shm/e29/src/emacs -q , > > But that probably won't help, since > GTK native input is usually the first thing to go awry when you start > messing with modifier mapping. > > Can you attach a debugger to Emacs, add a breakpoint to this part of > xterm.c: > > xkey.type =3D KeyPress; > xkey.serial =3D xev->serial; > xkey.send_event =3D xev->send_event; > xkey.display =3D dpyinfo->display; > xkey.window =3D xev->event; > xkey.root =3D xev->root; > xkey.subwindow =3D xev->child; > xkey.time =3D xev->time; > xkey.state =3D ((xev->mods.effective & ~(1 << 13 | 1 << 14)) > | (xev->group.effective << 13)); > > =3D=3D=3D> xkey.x =3D lrint (xev->event_x); > xkey.y =3D lrint (xev->event_y); > xkey.x_root =3D lrint (xev->root_x); > xkey.y_root =3D lrint (xev->root_y); > > press "Shift-A", and then show the value of `xkey.state'? > > This should work for you, assuming you're using a fresh copy of Emacs > from the master branch: > > $ gdb path/to/emacs/binary -Q > ... > (gdb) break xterm.c:17399 > ... the breakpoint is hit after pressing the key > (gdb) p xkey.state > > Also, please show the value of dpyinfo->hyper_mod_mask at that time, > like this: > > (gdb) p dpyinfo->hyper_mod_mask > > If the debugger complains about certain values being optimized out, > rebuild Emacs without optimizations according to the instructions in > etc/DEBUG. > > Po Lu =E6=96=BC 2022=E5=B9=B44=E6=9C=8813=E6=97=A5 = =E9=80=B1=E4=B8=89 =E4=B8=8A=E5=8D=884:58=E5=AF=AB=E9=81=93=EF=BC=9A > > bg.jheng@gmail.com writes: > > > 1. xmodmap is outputed: > >=20=20 > > xmodmap: up to 3 keys per modifier, (keycodes in parentheses): > > > > shift Shift_L (0x32), Shift_R (0x3e) > > lock=20=20=20=20=20=20 > > control Control_L (0x25), Control_L (0x42), Control_R (0x69) > > mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd) > > mod2 Num_Lock (0x4d) > > mod3 ISO_Last_Group (0x87), Mode_switch (0xcb) > > mod4 Super_L (0x85), Super_L (0xce), Hyper_L (0xcf) > > mod5 BadKey (0x5c), ISO_Level3_Shift (0x86) > > > > 2-1. i tried these cmd: > > ./configure --with-xinput2 > > then=20 > > make -j 4 > > > > after done: > > emacs -q -xrm 'Emacs.useXIM: false' > > > > still the same, if i press Shift+A , minibuffer showed "H-a is u= ndefined" and no capital letter inputed. > > > > 2-2. could you teach me how to tuen on 'x-gtk-use-native-input' ? > > i have no comprehensive knowlage about linux in now. > > Hi,=20 > > >> (setq x-gtk-use-native-input t).=20 > > as you expect, after excute it still can't input capital letter with= shift key. > > >> Can you attach a debugger to Emacs, add a breakpoint to this part of > xterm.c: > > unfortunally, in this step, my base knowlage not enough,=20 > here is the result: > 1.git clone https://github.com/emacs-mirror/emacs to /dev/shm/e29/ > 2. after ./configure then build, cd ./src > gdb ./emacs -q > > first, a lot message occured, > i put these text in ~/.config/gdb/gdbinit , after google: > add-auto-load-safe-path /dev/shm/e29/src/ > set auto-load safe-path /dev/shm/e29/src/ > hope it is a right way.=20=20=20=20=20=20=20=20=20=20=20 > > 3. then execute: > $ gdb ./emacs -q=20 > Reading symbols from ./emacs... > SIGINT is used by the debugger. > Are you sure you want to change it? (y or n) [answered Y; input not from = terminal] > DISPLAY =3D :0 > TERM =3D rxvt-unicode-256color > Breakpoint 1 at 0x4ac18: file emacs.c, line 412. > Breakpoint 2 at 0x129bc0: file xterm.c, line 19625. > > (gdb) break xterm.c:17399 > Breakpoint 3 at 0x13cb23: file xterm.c, line 18393. You forgot to enter "run" and then press Shift-A here once the input focus shifts to the Emacs window. I'm sorry for not mentioning that earlier. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 07:57:12 2022 Received: (at 54889) by debbugs.gnu.org; 14 Apr 2022 11:57:12 +0000 Received: from localhost ([127.0.0.1]:55513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ney63-0000kI-Qg for submit@debbugs.gnu.org; Thu, 14 Apr 2022 07:57:12 -0400 Received: from mail-ej1-f52.google.com ([209.85.218.52]:41858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ney61-0000k4-0x for 54889@debbugs.gnu.org; Thu, 14 Apr 2022 07:57:10 -0400 Received: by mail-ej1-f52.google.com with SMTP id bh17so9545792ejb.8 for <54889@debbugs.gnu.org>; Thu, 14 Apr 2022 04:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gQMd/9bzrAyUvnaEXEHY+REdvLOT4bADJf53qHWx7jE=; b=gDtWu7p+bnvK6wPPy0PK14qIXfUjj/E3dOu48H7Am1hHAibexU3WyVAD0zL17n5DL8 5dtz2HsVOB5iRVudNAOKhsVDxIvbhF6DUAam7sbS2TBq1a8vfdAT7mt6FqA7AaDAEfHk 8xNu6ab7u9/9l3s1wBHbevF46WwlK6Gtm1XPtiXFdsfoDwv4PhglhpoU74uQawIC+reM XgnKN+BiFl6kQsFwU5yRwzHA3WcjK9i5PPT2X1o7D4+bAjvFKvUIHj7JvF25KjE1HUxH FeV3phgs9/7na39BO+uXAkTqDY8uFKqXWUQE1t+JxZ8uFIKJ3tocZEZScxxNNc/ZgSpr oKdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gQMd/9bzrAyUvnaEXEHY+REdvLOT4bADJf53qHWx7jE=; b=gISBInOzbh/uXuCjW+RF0sl/hfX8RMiY6hVx8gL0CUiOcUwzf+nmcZM5hqFZgMgxd8 57dqu88OzvmcpmdOPqOTgb/zaCTUSmM6NpjK8IKINXiM8Hm+8PVHX0aMNQNBL2NTcKQ8 VkiouOkRHn9I8ymcuCN3pEdR6JN4whwgcjjXaorjDZeDWYxpmT7hEqyYpKBZ4IL5y49M d1vh675RaZtPBDaQhY9UGhG8iNX0uYf+8H+e7CNl7HuicNOzwFRAV+TVBTeiE7AoY4Pv ED59XF3fpVKfdg6rm+4GaJmuIm3EmDXEzMsQSJeP/Mncsfk/y3vgxH4AqlOgBWBTwAkq dTyg== X-Gm-Message-State: AOAM530WFJ0+KtVd3kSvRuRd013ooBJxLtBYnMOGikoQdoIIdr6HFuS9 i439AmMobaOpFQJzl7JFctFVcWJIlmgDryJbn7cM1/iC X-Google-Smtp-Source: ABdhPJzAL7JognzapwyhThqJbYMB1B2WQ1MtKQaQPFYCd5RxAcWZLR5CxVA5bESO7rAUU4YDFJCqdBuV0jt/UGhK3tE= X-Received: by 2002:a17:907:3ea0:b0:6e8:d28b:28de with SMTP id hs32-20020a1709073ea000b006e8d28b28demr1352486ejc.632.1649937422748; Thu, 14 Apr 2022 04:57:02 -0700 (PDT) MIME-Version: 1.0 References: <8735ihx30j.fsf@yahoo.com> <87ilrdvf5p.fsf@yahoo.com> <877d7tvatx.fsf@yahoo.com> <87bkx4trnl.fsf@yahoo.com> In-Reply-To: <87bkx4trnl.fsf@yahoo.com> From: bg.jheng@gmail.com Date: Thu, 14 Apr 2022 11:48:04 +0000 Message-ID: Subject: Re: bug#54889: 29.0.50; shift keys can't function when using setxkbmap with custom_symbol in gnome To: Po Lu Content-Type: multipart/alternative; boundary="000000000000fc0eab05dc9bfd30" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54889 Cc: 54889@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: -1.0 (-) --000000000000fc0eab05dc9bfd30 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I am sorry, i will notice to use 'reply all' since this time. here is this time i tried: 1. after 'run' , i do not see gui window, i have no way to input, here is the result: $ gdb ./emacs -q Reading symbols from ./emacs... SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY =3D :0 TERM =3D rxvt-unicode-256color Breakpoint 1 at 0x4ac18: file emacs.c, line 412. Breakpoint 2 at 0x129bc0: file xterm.c, line 19625. (gdb) break xterm.c:17399 Breakpoint 3 at 0x13cb23: file xterm.c, line 18393. (gdb) run Starting program: /dev/shm/e29/src/emacs [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7ffff1356640 (LWP 198258)] [New Thread 0x7ffff0ae1640 (LWP 198259)] [New Thread 0x7fffebfff640 (LWP 198260)] [New Thread 0x7fffeb758640 (LWP 198261)] [New Thread 0x7fffeaf57640 (LWP 198262)] [New Thread 0x7fffea756640 (LWP 198263)] Thread 1 "emacs" hit Breakpoint 3, handle_one_xevent (dpyinfo=3D0x555555e69600, event=3D0x7fffffffd120, finish=3D= , hold_quit=3D0x7fffffffd3f0) at xterm.c:18393 18393 if (dpyinfo->supports_xkb (gdb) p xkey.state No symbol "xkey" in current context. (gdb) p dpyinfo->hyper_mod_mask $1 =3D 1 2. i saw a word "optimized" and found this .configure cmd in folder e29/etc/ : ./configure --enable-checking=3D'yes,glyphs' --enable-check-lisp-object-ty= pe \ CFLAGS=3D'-O0 -g3' then rebuild again $ make clean $ ./auto $ ./configure --enable-checking=3D'yes,glyphs' --enable-check-lisp-object-type \ CFLAGS=3D'-O0 -g3' $ make - j 4 run gdb, because there is no gui emacs occur, i have no way to input: $ gdb ./emacs -q Reading symbols from ./emacs... SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY =3D :0 TERM =3D rxvt-unicode-256color Breakpoint 1 at 0x212569: file emacs.c, line 412. Breakpoint 2 at 0x1c7e96: file xterm.c, line 19625. (gdb) break xterm.c:17399 Breakpoint 3 at 0x1c52f0: file xterm.c, line 18393. (gdb) run Starting program: /dev/shm/e29/src/emacs [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7ffff1355640 (LWP 207348)] [New Thread 0x7ffff0ae0640 (LWP 207349)] [New Thread 0x7fffebfff640 (LWP 207350)] [New Thread 0x7fffeb758640 (LWP 207351)] [New Thread 0x7fffeaf57640 (LWP 207352)] [New Thread 0x7fffea756640 (LWP 207353)] Thread 1 "emacs" hit Breakpoint 3, handle_one_xevent (dpyinfo=3D0x555556145600, event=3D0x7fffffffc500, finish=3D0x555555e908fc , hold_quit=3D0x7fffffffc830) at xterm.c:18393 18393 if (dpyinfo->supports_xkb (gdb) p xkey.state No symbol "xkey" in current context. (gdb) p dpyinfo->hyper_mod_mask $1 =3D 1 3. i also try run in 'sudo su', emacs gui appeared, but after this prompt '(gdb)' showed again, the gui window freezed and can not input anymore, then appeared guit window : "EmacsClientOpen" is not responding" . later, the execute cmd result is in below: [root@pc src]# gdb ./emacs -q Reading symbols from ./emacs... SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY =3D :0 TERM =3D rxvt-unicode-256color Breakpoint 1 at 0x212569: file emacs.c, line 412. Breakpoint 2 at 0x1c7e96: file xterm.c, line 19625. (gdb) break xterm.c:17399 Breakpoint 3 at 0x1c52f0: file xterm.c, line 18393. (gdb) run Starting program: /dev/shm/e29/src/emacs [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7ffff1355640 (LWP 210606)] [New Thread 0x7ffff0a5f640 (LWP 210607)] [Detaching after fork from child process 210608] [Detaching after fork from child process 210609] [New Thread 0x7fffebfff640 (LWP 210610)] [New Thread 0x7fffeb7fe640 (LWP 210611)] [Thread 0x7fffeb7fe640 (LWP 210611) exited] [New Thread 0x7fffeb7fe640 (LWP 210612)] [New Thread 0x7fffeaffd640 (LWP 210613)] [Thread 0x7fffeb7fe640 (LWP 210612) exited] [Thread 0x7fffeaffd640 (LWP 210613) exited] Thread 1 "emacs" hit Breakpoint 3, handle_one_xevent (dpyinfo=3D0x55555610c980, event=3D0x7fffffffd710, finish=3D0x555555e908fc , hold_quit=3D0x7fffffffda40) at xterm.c:18393 warning: Source file is more recent than executable. 18393 if (dpyinfo->supports_xkb (gdb) p xkey.state No symbol "xkey" in current context. (gdb) p dpyinfo->hyper_mod_mask $1 =3D 1 Po Lu =E6=96=BC 2022=E5=B9=B44=E6=9C=8814=E6=97=A5 =E9= =80=B1=E5=9B=9B =E4=B8=8A=E5=8D=8812:50=E5=AF=AB=E9=81=93=EF=BC=9A > [Seriously, please use "Reply All", otherwise the bug tracker cannot > record this conversation. Thanks] > > bg.jheng@gmail.com writes: > > 2. because i am not familier gdb, > > i need aide : > > a) this is message wnen i enter gdb /dev/shm/e29/src/emacs -q , > > > > But that probably won't help, since > > GTK native input is usually the first thing to go awry when you start > > messing with modifier mapping. > > > > Can you attach a debugger to Emacs, add a breakpoint to this part of > > xterm.c: > > > > xkey.type =3D KeyPress; > > xkey.serial =3D xev->serial; > > xkey.send_event =3D xev->send_event; > > xkey.display =3D dpyinfo->display; > > xkey.window =3D xev->event; > > xkey.root =3D xev->root; > > xkey.subwindow =3D xev->child; > > xkey.time =3D xev->time; > > xkey.state =3D ((xev->mods.effective & ~(1 << 13 | 1 << 1= 4)) > > | (xev->group.effective << 13)); > > > > =3D=3D=3D> xkey.x =3D lrint (xev->event_x); > > xkey.y =3D lrint (xev->event_y); > > xkey.x_root =3D lrint (xev->root_x); > > xkey.y_root =3D lrint (xev->root_y); > > > > press "Shift-A", and then show the value of `xkey.state'? > > > > This should work for you, assuming you're using a fresh copy of Emacs > > from the master branch: > > > > $ gdb path/to/emacs/binary -Q > > ... > > (gdb) break xterm.c:17399 > > ... the breakpoint is hit after pressing the key > > (gdb) p xkey.state > > > > Also, please show the value of dpyinfo->hyper_mod_mask at that time, > > like this: > > > > (gdb) p dpyinfo->hyper_mod_mask > > > > If the debugger complains about certain values being optimized out, > > rebuild Emacs without optimizations according to the instructions in > > etc/DEBUG. > > > > Po Lu =E6=96=BC 2022=E5=B9=B44=E6=9C=8813=E6=97=A5= =E9=80=B1=E4=B8=89 =E4=B8=8A=E5=8D=884:58=E5=AF=AB=E9=81=93=EF=BC=9A > > > > bg.jheng@gmail.com writes: > > > > > 1. xmodmap is outputed: > > > > > > xmodmap: up to 3 keys per modifier, (keycodes in parentheses): > > > > > > shift Shift_L (0x32), Shift_R (0x3e) > > > lock > > > control Control_L (0x25), Control_L (0x42), Control_R (0x69) > > > mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd) > > > mod2 Num_Lock (0x4d) > > > mod3 ISO_Last_Group (0x87), Mode_switch (0xcb) > > > mod4 Super_L (0x85), Super_L (0xce), Hyper_L (0xcf) > > > mod5 BadKey (0x5c), ISO_Level3_Shift (0x86) > > > > > > 2-1. i tried these cmd: > > > ./configure --with-xinput2 > > > then > > > make -j 4 > > > > > > after done: > > > emacs -q -xrm 'Emacs.useXIM: false' > > > > > > still the same, if i press Shift+A , minibuffer showed "H-a is > undefined" and no capital letter inputed. > > > > > > 2-2. could you teach me how to tuen on 'x-gtk-use-native-input' ? > > > i have no comprehensive knowlage about linux in now. > > > > Hi, > > > > >> (setq x-gtk-use-native-input t). > > > > as you expect, after excute it still can't input capital letter > with shift key. > > > > >> Can you attach a debugger to Emacs, add a breakpoint to this part o= f > > xterm.c: > > > > unfortunally, in this step, my base knowlage not enough, > > here is the result: > > 1.git clone https://github.com/emacs-mirror/emacs to > /dev/shm/e29/ > > 2. after ./configure then build, cd ./src > > gdb ./emacs -q > > > > first, a lot message occured, > > i put these text in ~/.config/gdb/gdbinit , after google: > > add-auto-load-safe-path /dev/shm/e29/src/ > > set auto-load safe-path /dev/shm/e29/src/ > > hope it is a right way. > > > > 3. then execute: > > $ gdb ./emacs -q > > Reading symbols from ./emacs... > > SIGINT is used by the debugger. > > Are you sure you want to change it? (y or n) [answered Y; input not fro= m > terminal] > > DISPLAY =3D :0 > > TERM =3D rxvt-unicode-256color > > Breakpoint 1 at 0x4ac18: file emacs.c, line 412. > > Breakpoint 2 at 0x129bc0: file xterm.c, line 19625. > > > > (gdb) break xterm.c:17399 > > Breakpoint 3 at 0x13cb23: file xterm.c, line 18393. > > You forgot to enter "run" and then press Shift-A here once the input > focus shifts to the Emacs window. I'm sorry for not mentioning that > earlier. Thanks. > --000000000000fc0eab05dc9bfd30 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I am sorry, i will notice to use 'reply all'= since this time.

here is this time i tried:

1. after 'run' , i do not see gui window,i have no way to input,
here is the result:

$ gdb ./emacs -qReading symbols from ./emacs...
SIGINT is used by the debugger.
Are = you sure you want to change it? (y or n) [answered Y; input not from termin= al]
DISPLAY =3D :0
TERM =3D rxvt-unicode-256color
Breakpoint 1 at = 0x4ac18: file emacs.c, line 412.
Breakpoint 2 at 0x129bc0: file xterm.c,= line 19625.
(gdb) break xterm.c:17399
Breakpoint 3 at 0x13cb23: file= xterm.c, line 18393.
(gdb) run
Starting program: /dev/shm/e29/src/em= acs
[Thread debugging using libthread_db enabled]
Using host libthrea= d_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff= 1356640 (LWP 198258)]
[New Thread 0x7ffff0ae1640 (LWP 198259)]
[New T= hread 0x7fffebfff640 (LWP 198260)]
[New Thread 0x7fffeb758640 (LWP 19826= 1)]
[New Thread 0x7fffeaf57640 (LWP 198262)]
[New Thread 0x7fffea7566= 40 (LWP 198263)]

Thread 1 "emacs" hit Breakpoint 3, handle= _one_xevent (dpyinfo=3D0x555555e69600, event=3D0x7fffffffd120, finish=3D<= ;optimized out>, hold_quit=3D0x7fffffffd3f0) at xterm.c:18393
18393= =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if (dpyinfo->supports_= xkb
(gdb) p xkey.state
No symbol "xkey" in current context.=
(gdb) p dpyinfo->hyper_mod_mask
$1 =3D 1


2.
i saw a= word "optimized"
and found this .configure cmd in folder=C2= =A0 e29/etc/ :
=C2=A0./configure --enable-checking=3D'yes,glyphs'= ; --enable-check-lisp-object-type \
=C2=A0=C2=A0=C2=A0 CFLAGS=3D'-O0= -g3'

then rebuild again
=C2=A0 $ make clean
=C2=A0 $ ./au= to
=C2=A0 $ ./configure --enable-checking=3D'yes,glyphs' --enabl= e-check-lisp-object-type \
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 CFLAGS=3D'= -O0 -g3'
=C2=A0 $ make - j 4

run gdb,
because there is no = gui emacs occur,
i have no way to input:
=C2=A0 $ gdb ./emacs -q
= =C2=A0 Reading symbols from ./emacs...
=C2=A0 SIGINT is used by the debu= gger.
=C2=A0 Are you sure you want to change it? (y or n) [answered Y; i= nput not from terminal]
=C2=A0 DISPLAY =3D :0
=C2=A0 TERM =3D rxvt-un= icode-256color
=C2=A0 Breakpoint 1 at 0x212569: file emacs.c, line 412.<= br>=C2=A0 Breakpoint 2 at 0x1c7e96: file xterm.c, line 19625.
=C2=A0 (gd= b) break xterm.c:17399
=C2=A0 Breakpoint 3 at 0x1c52f0: file xterm.c, li= ne 18393.
=C2=A0 (gdb) run
=C2=A0 Starting program: /dev/shm/e29/src/= emacs
=C2=A0 [Thread debugging using libthread_db enabled]
=C2=A0 Usi= ng host libthread_db library "/usr/lib/libthread_db.so.1".
=C2= =A0 [New Thread 0x7ffff1355640 (LWP 207348)]
=C2=A0 [New Thread 0x7ffff0= ae0640 (LWP 207349)]
=C2=A0 [New Thread 0x7fffebfff640 (LWP 207350)]
= =C2=A0 [New Thread 0x7fffeb758640 (LWP 207351)]
=C2=A0 [New Thread 0x7ff= feaf57640 (LWP 207352)]
=C2=A0 [New Thread 0x7fffea756640 (LWP 207353)]<= br>
=C2=A0 Thread 1 "emacs" hit Breakpoint 3, handle_one_xeven= t (dpyinfo=3D0x555556145600, event=3D0x7fffffffc500, finish=3D0x555555e908f= c <current_finish>, hold_quit=3D0x7fffffffc830) at xterm.c:18393
= =C2=A0 18393=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if (dpyinfo-&= gt;supports_xkb
=C2=A0 (gdb) p xkey.state
=C2=A0 No symbol "xkey= " in current context.
=C2=A0 (gdb) p dpyinfo->hyper_mod_mask
= =C2=A0 $1 =3D 1


3.
i also try run in 'sudo su',
em= acs gui appeared,
but after this prompt '(gdb)' showed again,the gui window freezed and can not input anymore,
then appeared=C2=A0 g= uit window : "EmacsClientOpen" is not responding"=C2=A0 .later, the execute cmd result is in below:

[root@pc src]#=C2=A0=C2= =A0 gdb ./emacs -q
Reading symbols from ./emacs...
SIGINT is used by = the debugger.
Are you sure you want to change it? (y or n) [answered Y; = input not from terminal]
DISPLAY =3D :0
TERM =3D rxvt-unicode-256colo= r
Breakpoint 1 at 0x212569: file emacs.c, line 412.
Breakpoint 2 at 0= x1c7e96: file xterm.c, line 19625.
(gdb)=C2=A0 break xterm.c:17399
Br= eakpoint 3 at 0x1c52f0: file xterm.c, line 18393.
(gdb) run
Starting = program: /dev/shm/e29/src/emacs
[Thread debugging using libthread_db en= abled]
Using host libthread_db library "/usr/lib/libthread_db.so.1&= quot;.
[New Thread 0x7ffff1355640 (LWP 210606)]
[New Thread 0x7ffff0a= 5f640 (LWP 210607)]
[Detaching after fork from child process 210608]
= [Detaching after fork from child process 210609]
[New Thread 0x7fffebfff= 640 (LWP 210610)]
[New Thread 0x7fffeb7fe640 (LWP 210611)]
[Thread 0x= 7fffeb7fe640 (LWP 210611) exited]
[New Thread 0x7fffeb7fe640 (LWP 210612= )]
[New Thread 0x7fffeaffd640 (LWP 210613)]
[Thread 0x7fffeb7fe640 (L= WP 210612) exited]
[Thread 0x7fffeaffd640 (LWP 210613) exited]

Th= read 1 "emacs" hit Breakpoint 3, handle_one_xevent (dpyinfo=3D0x5= 5555610c980, event=3D0x7fffffffd710, finish=3D0x555555e908fc <current_fi= nish>, hold_quit=3D0x7fffffffda40) at xterm.c:18393
warning: Source f= ile is more recent than executable.
18393=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 if (dpyinfo->supports_xkb
(gdb)=C2=A0 p xkey.state= =C2=A0=C2=A0=C2=A0 =C2=A0
No symbol "xkey" in current context.=
(gdb) p dpyinfo->hyper_mod_mask
$1 =3D 1


Po Lu <luangruo@yahoo.com>= =E6=96=BC 2022=E5=B9=B44=E6=9C=8814=E6=97=A5 =E9=80=B1=E5=9B=9B =E4=B8=8A= =E5=8D=8812:50=E5=AF=AB=E9=81=93=EF=BC=9A
[Seriously, please use "Reply All", oth= erwise the bug tracker cannot
record this conversation.=C2=A0 Thanks]

bg.jheng@gmail.com<= /a> writes:
> 2. because i am not familier gdb,
>=C2=A0 =C2=A0 =C2=A0i need aide :
> a) this is message wnen i enter=C2=A0 gdb /dev/shm/e29/src/emacs -q ,<= br> >
> But that probably won't help, since
> GTK native input is usually the first thing to go awry when you start<= br> > messing with modifier mapping.
>
> Can you attach a debugger to Emacs, add a breakpoint to this part of > xterm.c:
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0xkey.type =3D Ke= yPress;
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0xkey.serial =3D = xev->serial;
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0xkey.send_event = =3D xev->send_event;
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0xkey.display =3D= dpyinfo->display;
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0xkey.window =3D = xev->event;
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0xkey.root =3D xe= v->root;
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0xkey.subwindow = =3D xev->child;
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0xkey.time =3D xe= v->time;
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0xkey.state =3D (= (xev->mods.effective & ~(1 << 13 | 1 << 14))
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| (xev->group.effective << 13));=
>
> =3D=3D=3D>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 xkey.x =3D lrint (xev-= >event_x);
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0xkey.y =3D lrint= (xev->event_y);
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0xkey.x_root =3D = lrint (xev->root_x);
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0xkey.y_root =3D = lrint (xev->root_y);
>
> press "Shift-A", and then show the value of `xkey.state'= ?
>
> This should work for you, assuming you're using a fresh copy of Em= acs
> from the master branch:
>
>=C2=A0 =C2=A0$ gdb path/to/emacs/binary -Q
>=C2=A0 =C2=A0...
>=C2=A0 =C2=A0(gdb) break xterm.c:17399
>=C2=A0 =C2=A0... the breakpoint is hit after pressing the key
>=C2=A0 =C2=A0(gdb) p xkey.state
>
> Also, please show the value of dpyinfo->hyper_mod_mask at that time= ,
> like this:
>
>=C2=A0 =C2=A0(gdb) p dpyinfo->hyper_mod_mask
>
> If the debugger complains about certain values being optimized out, > rebuild Emacs without optimizations according to the instructions in > etc/DEBUG.
>
> Po Lu <
luan= gruo@yahoo.com> =E6=96=BC 2022=E5=B9=B44=E6=9C=8813=E6=97=A5 =E9=80= =B1=E4=B8=89 =E4=B8=8A=E5=8D=884:58=E5=AF=AB=E9=81=93=EF=BC=9A
>
>=C2=A0 bg.jheng= @gmail.com writes:
>
>=C2=A0 > 1. xmodmap is outputed:
>=C2=A0 >=C2=A0
>=C2=A0 > xmodmap:=C2=A0 up to 3 keys per modifier, (keycodes in pare= ntheses):
>=C2=A0 >
>=C2=A0 > shift=C2=A0 =C2=A0 =C2=A0 =C2=A0Shift_L (0x32),=C2=A0 Shift= _R (0x3e)
>=C2=A0 > lock=C2=A0 =C2=A0 =C2=A0
>=C2=A0 > control=C2=A0 =C2=A0 =C2=A0Control_L (0x25),=C2=A0 Control_= L (0x42),=C2=A0 Control_R (0x69)
>=C2=A0 > mod1=C2=A0 =C2=A0 =C2=A0 =C2=A0 Alt_L (0x40),=C2=A0 Alt_R (= 0x6c),=C2=A0 Meta_L (0xcd)
>=C2=A0 > mod2=C2=A0 =C2=A0 =C2=A0 =C2=A0 Num_Lock (0x4d)
>=C2=A0 > mod3=C2=A0 =C2=A0 =C2=A0 =C2=A0 ISO_Last_Group (0x87),=C2= =A0 Mode_switch (0xcb)
>=C2=A0 > mod4=C2=A0 =C2=A0 =C2=A0 =C2=A0 Super_L (0x85),=C2=A0 Super= _L (0xce),=C2=A0 Hyper_L (0xcf)
>=C2=A0 > mod5=C2=A0 =C2=A0 =C2=A0 =C2=A0 BadKey (0x5c),=C2=A0 ISO_Le= vel3_Shift (0x86)
>=C2=A0 >
>=C2=A0 > 2-1.=C2=A0 i tried these cmd:
>=C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 ./configure=C2=A0 --with-xinput2=
>=C2=A0 >=C2=A0 =C2=A0 =C2=A0 then
>=C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 make -j 4
>=C2=A0 >
>=C2=A0 >=C2=A0 =C2=A0 =C2=A0 after done:
>=C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 emacs -q -xrm 'Emacs.useXIM:= false'
>=C2=A0 >
>=C2=A0 >=C2=A0 =C2=A0 =C2=A0 still the same,=C2=A0 if i press Shift+= A , minibuffer showed "H-a is undefined" and no capital letter in= puted.
>=C2=A0 >
>=C2=A0 > 2-2. could you teach me how to tuen on 'x-gtk-use-nativ= e-input' ?
>=C2=A0 >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 i have no comprehensive k= nowlage about linux in now.
>
>=C2=A0 =C2=A0 =C2=A0Hi,
>
>=C2=A0 >> (setq x-gtk-use-native-input t).
>
>=C2=A0 =C2=A0 =C2=A0as you expect, after excute=C2=A0 it still can'= t input capital letter with shift key.
>
>=C2=A0 >> Can you attach a debugger to Emacs, add a breakpoint to= this part of
>=C2=A0 xterm.c:
>
>=C2=A0 =C2=A0 =C2=A0unfortunally, in this step, my base knowlage not en= ough,
>=C2=A0 =C2=A0 =C2=A0here is the result:
>=C2=A0 =C2=A0 =C2=A0 =C2=A01.git clone https://github.com/e= macs-mirror/emacs=C2=A0 to=C2=A0 /dev/shm/e29/
>=C2=A0 =C2=A0 =C2=A0 =C2=A02. after ./configure then build, cd=C2=A0 ./= src
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 gdb ./emacs -q
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 first, a lot=C2=A0 message occured,<= br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 i put these text in ~/.config/gdb/gd= binit=C2=A0 , after google:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0add-auto-load-sa= fe-path /dev/shm/e29/src/
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0set auto-load sa= fe-path /dev/shm/e29/src/
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0hope it is a right way.=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 3. then execute:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0$=C2=A0 gdb ./emacs -q
>=C2=A0 Reading symbols from ./emacs...
> SIGINT is used by the debugger.
> Are you sure you want to change it? (y or n) [answered Y; input not fr= om terminal]
> DISPLAY =3D :0
> TERM =3D rxvt-unicode-256color
> Breakpoint 1 at 0x4ac18: file emacs.c, line 412.
> Breakpoint 2 at 0x129bc0: file xterm.c, line 19625.
>
> (gdb) break xterm.c:17399
> Breakpoint 3 at 0x13cb23: file xterm.c, line 18393.

You forgot to enter "run" and then press Shift-A here once the in= put
focus shifts to the Emacs window.=C2=A0 I'm sorry for not mentioning th= at
earlier.=C2=A0 Thanks.
--000000000000fc0eab05dc9bfd30-- From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 09:18:33 2022 Received: (at 54889) by debbugs.gnu.org; 14 Apr 2022 13:18:33 +0000 Received: from localhost ([127.0.0.1]:55604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nezMm-0002pV-RC for submit@debbugs.gnu.org; Thu, 14 Apr 2022 09:18:33 -0400 Received: from sonic305-21.consmr.mail.ne1.yahoo.com ([66.163.185.147]:35487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nezMk-0002pH-Hd for 54889@debbugs.gnu.org; Thu, 14 Apr 2022 09:18:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649942304; bh=pwPVJcMvGKJbcHuaIo71PAEVVciPxsVHEqfpQAh2SZw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=Wu8F+VX8PPgn5xGyBnBfLEzOj0xiIoBWNPuCU/aIS0oISCIS2S3O0DBhfJqM7jCFBp5XX0wiyOQpYTQCM3nV7YoYzM3iBMSV26pnzgHQ0Jba+AqCVNoUVFqUkGFMm6LwkTZdMt6gkqzqPAg1xawiDhhRPSyexO8QIsRm0JNtbRra1ZH7rXDPA6m8zSuAptDx1H8k/HxlZYE8EbFEFjLmnMcfx31VHs++CZ76oRryOTTUyYXHr90Xdw7qOR9ILbqk3uMxjJ0Fznd9lBVtHbfmnhFreTYCuyufGsWS358EW7BuIbk8govqzU1a8L6u/VyrS5NNlleUlFXCcPHJrWD6/Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649942304; bh=xLAd87y9EWX0cs4LqTitLkTDDHP43EF1Uf9mcJrR2im=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=comABDIrXt0/CO3QB/wKs9Y7EU3UTmhZK6jq3mPaK6V2dVcHSq6ODOFRqGLIjLk/KM7+wL/p03Gpx+PRpTSaZvtzNpinvyvcnxx+6DJgkARPspqljrdufSB028QlcxlbLORfYVGkP2IGSEhbPV4VRR1mOc8JDuhjgcQxqbC9Zc9V1o+Qod0AONWsIfgbEtPoU2U5ehbnOdIQNaXWIwyhQElOOm/ZSK/jcEyWG9ZB8VA4UbM31iZWNbFKWle0gJFqFwhS88jrOXsdsR2h1dFks3OMjTMMQ4fyu8F+HifJxBI0Ed60WuOnBTDmDKaQLkFvkCBH99R8u74TJBrX/DMPqg== X-YMail-OSG: H3RQS1UVM1mP0z9Lo0ZECcFPnvesKBaV8p8rJYgf80RVxX.3G_RsGMi1z7sempZ T_df4jINS8Yn1J6_24jJav3zK6wDMAsypvkrCIFG.Lwipv_K.jDqP4oTthJclJe83Uxe6Ri.7h8x erQeWz1..Sj_K.2DaPoM8zDmdNycJa7T1eNOhKNmo..fuCXbtJHYfKaNnDRVg_tu7.Zhdl.lbjYH RxRPsuj0GuUnuvByPv3VbNh3D45DWC9abIds4BZIZokEWccX_tFd0wLFT3al7Hr.MtCWLOapNjrc 1Akf2JrHHBkkME_tM9DPN_7NCxf46HviHj11MzKC9w8TBa2Ti6Wg2i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0n8Dj2yY7w jLksgRYtN95qrxGqriOrJTiq5Hp2KPbPsTsz6x7t_KT743yhFUoZzamVitV.lt.63mK0shdmX5Iu RXTr4pLWjec1gomfl2DqIuNk.aoSd9AcNkmyUhI1ixAsCTxtH2vUE4tgl.OfUPsQog6itDieEYZM vukQwtKG5S0qLzNswhsEt8IVoPmwq9e6cTbX7ww0f5HoCIDc9T9OVVQZm3fF67LSz7509DQoM2kE .PTaVw10DXxSS_MG8Kfk9VBBmutAKOv.be5AO6JGKms4016SYiZJcfqBFRDiGiyxYTcbsPLA7aA5 2qA9RNugVsNWUAQL2JVqV.vnUFYbYcRwP8U3QGf61VTpe3N7TDiFWAiS_dBc5qMd01mlzcTjMuGY 7WrOqTtjwCIpy21Fu.wTUc6s7X.a0a2trkPODC2otj3IEhXYJjmbgwONyq7Y2rFbCTskIL7HWCVU ZMvuHkkD1piQZsarnOm6XE.laoGEUU3.sB2yNoS9YBlITHNmpA_sT_3WvByApFR5iO5tFDtdbapI PG40rVo0DQwRxt8J4o2hHupdd3RDSGY6zHCKJQWIIvzNcFiOPxOcr120qUlFbwSsNNR5pAo5GMKu oBdniXZ6Iwvomqz6PGQgwJqp4JqTDpF2f1E9aYk3W2lwn5.0ACC3b2TMT3dmyJY4egalXe.X6uP5 YG8HD4isEidWk5meTEMD6Oj9g7uwfufxcnw2aRdiBdH8sHVqSEC2PyjiDwQkNS1Fv24ARabKsGja v6i7Mc5aLF3nU9bHA047uhf_wdmugaN5fBmhltE0izDvMNfZshQ8vy0jHM05z_fnrdJe8pBFWQTD ELcHLGo5PnyFuOFqAn7dEx8UKOucb8CTU6FogLmKdzBST6Z6cKrYzBFEu9w-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Thu, 14 Apr 2022 13:18:24 +0000 Received: by hermes--canary-production-sg3-65d7bd97b5-srcdp (VZM Hermes SMTP Server) with ESMTPA ID d2bbaf4b36f70e28f63c7149650f932f; Thu, 14 Apr 2022 13:18:17 +0000 (UTC) From: Po Lu To: bg.jheng@gmail.com Subject: Re: bug#54889: 29.0.50; shift keys can't function when using setxkbmap with custom_symbol in gnome References: <8735ihx30j.fsf@yahoo.com> <87ilrdvf5p.fsf@yahoo.com> <877d7tvatx.fsf@yahoo.com> <87bkx4trnl.fsf@yahoo.com> Date: Thu, 14 Apr 2022 21:18:12 +0800 In-Reply-To: (bg jheng's message of "Thu, 14 Apr 2022 11:48:04 +0000") Message-ID: <874k2vu7l7.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20001 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1772 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54889 Cc: 54889@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: -1.0 (-) bg.jheng@gmail.com writes: > I am sorry, i will notice to use 'reply all' since this time. > > here is this time i tried: > > 1. after 'run' , i do not see gui window, > i have no way to input, > here is the result: > > $ gdb ./emacs -q > Reading symbols from ./emacs... > SIGINT is used by the debugger. > Are you sure you want to change it? (y or n) [answered Y; input not from terminal] > DISPLAY = :0 > TERM = rxvt-unicode-256color > Breakpoint 1 at 0x4ac18: file emacs.c, line 412. > Breakpoint 2 at 0x129bc0: file xterm.c, line 19625. > (gdb) break xterm.c:17399 > Breakpoint 3 at 0x13cb23: file xterm.c, line 18393. > (gdb) run > Starting program: /dev/shm/e29/src/emacs > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/usr/lib/libthread_db.so.1". > [New Thread 0x7ffff1356640 (LWP 198258)] > [New Thread 0x7ffff0ae1640 (LWP 198259)] > [New Thread 0x7fffebfff640 (LWP 198260)] > [New Thread 0x7fffeb758640 (LWP 198261)] > [New Thread 0x7fffeaf57640 (LWP 198262)] > [New Thread 0x7fffea756640 (LWP 198263)] > > Thread 1 "emacs" hit Breakpoint 3, handle_one_xevent (dpyinfo=0x555555e69600, event=0x7fffffffd120, finish=, hold_quit=0x7fffffffd3f0) at > xterm.c:18393 > 18393 if (dpyinfo->supports_xkb > (gdb) p xkey.state > No symbol "xkey" in current context. > (gdb) p dpyinfo->hyper_mod_mask > $1 = 1 It seems that your copy of Emacs is slightly out of date, please update and try again. Thanks in advance! But this does say that hyper_mask is set to what is normally ShiftMask on X. What happens if you comment out this bit of code in the function `x_find_modifier_meanings'? else if (dpyinfo->xkb_desc->names->vmods[i] == dpyinfo->Xatom_Hyper) dpyinfo->hyper_mod_mask |= vmodmask; Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 19:05:35 2022 Received: (at 54889) by debbugs.gnu.org; 14 Apr 2022 23:05:35 +0000 Received: from localhost ([127.0.0.1]:57569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf8Wt-0006kw-00 for submit@debbugs.gnu.org; Thu, 14 Apr 2022 19:05:35 -0400 Received: from mail-ed1-f54.google.com ([209.85.208.54]:42624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nf8Wq-0006ki-GG for 54889@debbugs.gnu.org; Thu, 14 Apr 2022 19:05:33 -0400 Received: by mail-ed1-f54.google.com with SMTP id t25so8130209edt.9 for <54889@debbugs.gnu.org>; Thu, 14 Apr 2022 16:05:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=osPupAuPn9Ql8jFwXZtuFf/md4LQ1dZ+rV63cMxXOQ0=; b=hBFbR+SWBzlNvMOdekLznikLafTiVn0eC3/R6033+C03Ptl3Fms/pDy6PSTazFY4Ja KnM6ra2b5quBr7C/dzPMbQgi4rSnceUaVUmzG0mbtWDzeDLuFIu/+X7GjdywdfPapd9s qeAEs7G4mcrsL3Bw6LIGDERfNcpbj0SLpr6cKkX7NmLJNvQrcYsH7FrZIqlkZ4Xev4vy ozNjp7KG3JLLfXA3oo4Ir37qzyLSp5mJj3ft7DLfMl0ToBBiK66MVz71vQ+i/nIjZ9yo R4IYWET87f2VjVUytlQOmzr8prGSxW7lo+ya5Dp+HDpjbGwdVgN1nAdd20QdcAVi7KuQ Li/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=osPupAuPn9Ql8jFwXZtuFf/md4LQ1dZ+rV63cMxXOQ0=; b=1En20vR7vCh15x89OF0z9bzqO3piEMaTmLplkiN6TDmoFIsWdeziH+Ii8x1hPFOixJ w1CG/xGSMASKMJ4zVHa8OR7yFImgkMlN0xXWaYSKctmOnM659T0FxJhIsRsJYjbzlfRn jWZMl/IL0phzNGyy7jI8MZRP8p+CQWfplnmpfrEu1eP5hOrlqyaTApPw1je3k73T2khB 5z/TdWKqXhRMs2R6CruhW/XMdjSsqDANRjT5f6nb1OR8HuojJimVL19OGQaMsHSuMO10 Pm7XB7+W3pSaFgbz5VkxYXwvKCYuA6seSJECJUoS2CXgfjZcqWlO0BkRoopEByMcKfbp TEhQ== X-Gm-Message-State: AOAM531NLwt3YG9e84OHSSRkVosr//GGR71ZAad1zBj48W1GXlYACoAz K8u7rVkXj4wHlSBWr0R3KVut66pReruLd4viEPg= X-Google-Smtp-Source: ABdhPJw/+EFeB1z2bJepnpsCI3MpbEcNl0BfbXAVF+vb6PyvSuvlWmEaa+QOvv5iBqCc5BHfPrygQfexgNjEvfNlrCM= X-Received: by 2002:a05:6402:11d4:b0:419:5a50:75a4 with SMTP id j20-20020a05640211d400b004195a5075a4mr5482317edw.226.1649977526619; Thu, 14 Apr 2022 16:05:26 -0700 (PDT) MIME-Version: 1.0 References: <8735ihx30j.fsf@yahoo.com> <87ilrdvf5p.fsf@yahoo.com> <877d7tvatx.fsf@yahoo.com> <87bkx4trnl.fsf@yahoo.com> <874k2vu7l7.fsf@yahoo.com> In-Reply-To: <874k2vu7l7.fsf@yahoo.com> From: bg.jheng@gmail.com Date: Thu, 14 Apr 2022 22:56:29 +0000 Message-ID: Subject: Re: bug#54889: 29.0.50; shift keys can't function when using setxkbmap with custom_symbol in gnome To: Po Lu Content-Type: multipart/alternative; boundary="0000000000005c8ef505dca554b2" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54889 Cc: 54889@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: -1.0 (-) --0000000000005c8ef505dca554b2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable i tried the version of emacs today, it still do not give me chance to input , gui emacs freeze when gdb showed the prompt again, i tried to press key before it freeze, the result is showed below: [root@lpc src]# gdb ./emacs -q Reading symbols from ./emacs... SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] DISPLAY =3D :0 TERM =3D rxvt-unicode-256color Breakpoint 1 at 0x21284d: file emacs.c, line 412. Breakpoint 2 at 0x1c817a: file xterm.c, line 19763. (gdb) break xterm.c:17399 Breakpoint 3 at 0x1c559f: file xterm.c, line 18527. (gdb) break xterm.c:17399 Note: breakpoint 3 also set at pc 0x1c559f. Breakpoint 4 at 0x1c559f: file xterm.c, line 18527. (gdb) run Starting program: /dev/shm/e29/src/emacs [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7ffff1355640 (LWP 298831)] [New Thread 0x7ffff0a5f640 (LWP 298832)] [Detaching after fork from child process 298833] [Detaching after fork from child process 298834] [New Thread 0x7fffebfff640 (LWP 298835)] [New Thread 0x7fffeb7fe640 (LWP 298836)] [Thread 0x7fffeb7fe640 (LWP 298836) exited] [New Thread 0x7fffeb7fe640 (LWP 298837)] [New Thread 0x7fffeaffd640 (LWP 298838)] [Thread 0x7fffeb7fe640 (LWP 298837) exited] [Thread 0x7fffeaffd640 (LWP 298838) exited] Thread 1 "emacs" hit Breakpoint 3, handle_one_xevent (dpyinfo=3D0x555556112d50, event=3D0x7fffffffd710, finish=3D0x555555e9191c , hold_quit=3D0x7fffffffda40) at xterm.c:18527 18527 if (dpyinfo->supports_xkb (gdb) p xkey.state No symbol "xkey" in current context. (gdb) p dpyinfo->hyper_mod_mask $1 =3D 0 i also tried to comment out that you say this : else if (dpyinfo->xkb_desc->names->vmods[i] =3D=3D dpyinfo->Xatom_Hyper) dpyinfo->hyper_mod_mask |=3D vmodmask; after rebuild, the capital letter can normally insert with shift now. hope it useful. Thanks Po Lu =E6=96=BC 2022=E5=B9=B44=E6=9C=8814=E6=97=A5 =E9= =80=B1=E5=9B=9B =E4=B8=8B=E5=8D=881:18=E5=AF=AB=E9=81=93=EF=BC=9A > bg.jheng@gmail.com writes: > > > I am sorry, i will notice to use 'reply all' since this time. > > > > here is this time i tried: > > > > 1. after 'run' , i do not see gui window, > > i have no way to input, > > here is the result: > > > > $ gdb ./emacs -q > > Reading symbols from ./emacs... > > SIGINT is used by the debugger. > > Are you sure you want to change it? (y or n) [answered Y; input not fro= m > terminal] > > DISPLAY =3D :0 > > TERM =3D rxvt-unicode-256color > > Breakpoint 1 at 0x4ac18: file emacs.c, line 412. > > Breakpoint 2 at 0x129bc0: file xterm.c, line 19625. > > (gdb) break xterm.c:17399 > > Breakpoint 3 at 0x13cb23: file xterm.c, line 18393. > > (gdb) run > > Starting program: /dev/shm/e29/src/emacs > > [Thread debugging using libthread_db enabled] > > Using host libthread_db library "/usr/lib/libthread_db.so.1". > > [New Thread 0x7ffff1356640 (LWP 198258)] > > [New Thread 0x7ffff0ae1640 (LWP 198259)] > > [New Thread 0x7fffebfff640 (LWP 198260)] > > [New Thread 0x7fffeb758640 (LWP 198261)] > > [New Thread 0x7fffeaf57640 (LWP 198262)] > > [New Thread 0x7fffea756640 (LWP 198263)] > > > > Thread 1 "emacs" hit Breakpoint 3, handle_one_xevent > (dpyinfo=3D0x555555e69600, event=3D0x7fffffffd120, finish=3D, > hold_quit=3D0x7fffffffd3f0) at > > xterm.c:18393 > > 18393 if (dpyinfo->supports_xkb > > (gdb) p xkey.state > > No symbol "xkey" in current context. > > (gdb) p dpyinfo->hyper_mod_mask > > $1 =3D 1 > > It seems that your copy of Emacs is slightly out of date, please update > and try again. Thanks in advance! > > But this does say that hyper_mask is set to what is normally ShiftMask > on X. What happens if you comment out this bit of code in the function > `x_find_modifier_meanings'? > > else if (dpyinfo->xkb_desc->names->vmods[i] =3D=3D > dpyinfo->Xatom_Hyper) > dpyinfo->hyper_mod_mask |=3D vmodmask; > > Thanks. > --0000000000005c8ef505dca554b2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
i tried the version of emacs today,
it still do not giv= e me chance to input ,
gui emacs freeze when gdb showed the prompt again= ,
i tried to press key before it freeze,
the result is showed below:<= br>
[root@lpc src]# gdb ./emacs -q
Reading symbols from ./emacs...SIGINT is used by the debugger.
Are you sure you want to change it? (y = or n) [answered Y; input not from terminal]
DISPLAY =3D :0
TERM =3D r= xvt-unicode-256color
Breakpoint 1 at 0x21284d: file emacs.c, line 412.Breakpoint 2 at 0x1c817a: file xterm.c, line 19763.
(gdb) break xterm.= c:17399
Breakpoint 3 at 0x1c559f: file xterm.c, line 18527.
(gdb) bre= ak xterm.c:17399
Note: breakpoint 3 also set at pc 0x1c559f.
Breakpoi= nt 4 at 0x1c559f: file xterm.c, line 18527.
(gdb) run
Starting progra= m: /dev/shm/e29/src/emacs
[Thread debugging using libthread_db enabled]<= br>Using host libthread_db library "/usr/lib/libthread_db.so.1".<= br>[New Thread 0x7ffff1355640 (LWP 298831)]
[New Thread 0x7ffff0a5f640 (= LWP 298832)]
[Detaching after fork from child process 298833]
[Detach= ing after fork from child process 298834]
[New Thread 0x7fffebfff640 (LW= P 298835)]
[New Thread 0x7fffeb7fe640 (LWP 298836)]
[Thread 0x7fffeb7= fe640 (LWP 298836) exited]
[New Thread 0x7fffeb7fe640 (LWP 298837)]
[= New Thread 0x7fffeaffd640 (LWP 298838)]
[Thread 0x7fffeb7fe640 (LWP 2988= 37) exited]
[Thread 0x7fffeaffd640 (LWP 298838) exited]

Thread 1 = "emacs" hit Breakpoint 3, handle_one_xevent (dpyinfo=3D0x55555611= 2d50, event=3D0x7fffffffd710, finish=3D0x555555e9191c <current_finish>= ;, hold_quit=3D0x7fffffffda40) at xterm.c:18527
18527=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 if (dpyinfo->supports_xkb
(gdb) = p xkey.state
No symbol "xkey" in current context.
(gdb) p d= pyinfo->hyper_mod_mask
$1 =3D 0


i also tried to comment ou= t that you say this :
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 e= lse if (dpyinfo->xkb_desc->names->vmods[i] =3D=3D dpyinfo->Xato= m_Hyper)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 dpyinfo->hyper_mod_mask |=3D vmodmask;

after rebuild,
the = capital letter can normally insert with shift now.
hope it useful.<= br>

Thanks

Po Lu <luangruo@yahoo.com> =E6=96=BC 2022=E5=B9=B44=E6= =9C=8814=E6=97=A5 =E9=80=B1=E5=9B=9B =E4=B8=8B=E5=8D=881:18=E5=AF=AB=E9=81= =93=EF=BC=9A
bg.jheng@gmail.com= writes:

> I am sorry, i will notice to use 'reply all' since this time.<= br> >
> here is this time i tried:
>
> 1. after 'run' , i do not see gui window,
> i have no way to input,
> here is the result:
>
> $ gdb ./emacs -q
> Reading symbols from ./emacs...
> SIGINT is used by the debugger.
> Are you sure you want to change it? (y or n) [answered Y; input not fr= om terminal]
> DISPLAY =3D :0
> TERM =3D rxvt-unicode-256color
> Breakpoint 1 at 0x4ac18: file emacs.c, line 412.
> Breakpoint 2 at 0x129bc0: file xterm.c, line 19625.
> (gdb) break xterm.c:17399
> Breakpoint 3 at 0x13cb23: file xterm.c, line 18393.
> (gdb) run
> Starting program: /dev/shm/e29/src/emacs
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/usr/lib/libthread_db.so.1"= .
> [New Thread 0x7ffff1356640 (LWP 198258)]
> [New Thread 0x7ffff0ae1640 (LWP 198259)]
> [New Thread 0x7fffebfff640 (LWP 198260)]
> [New Thread 0x7fffeb758640 (LWP 198261)]
> [New Thread 0x7fffeaf57640 (LWP 198262)]
> [New Thread 0x7fffea756640 (LWP 198263)]
>
> Thread 1 "emacs" hit Breakpoint 3, handle_one_xevent (dpyinf= o=3D0x555555e69600, event=3D0x7fffffffd120, finish=3D<optimized out>,= hold_quit=3D0x7fffffffd3f0) at
> xterm.c:18393
> 18393=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 if (dpyinfo->supports_xkb > (gdb) p xkey.state
> No symbol "xkey" in current context.
> (gdb) p dpyinfo->hyper_mod_mask
> $1 =3D 1

It seems that your copy of Emacs is slightly out of date, please update
and try again.=C2=A0 Thanks in advance!

But this does say that hyper_mask is set to what is normally ShiftMask
on X.=C2=A0 What happens if you comment out this bit of code in the functio= n
`x_find_modifier_meanings'?

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 else if (dpyinfo->xkb_desc->names-= >vmods[i] =3D=3D dpyinfo->Xatom_Hyper)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 dpyinfo->hyper_mod_mask |=3D v= modmask;

Thanks.
--0000000000005c8ef505dca554b2-- From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 20:50:04 2022 Received: (at 54889) by debbugs.gnu.org; 15 Apr 2022 00:50:04 +0000 Received: from localhost ([127.0.0.1]:57680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfAA0-0001FG-7R for submit@debbugs.gnu.org; Thu, 14 Apr 2022 20:50:04 -0400 Received: from sonic312-25.consmr.mail.ne1.yahoo.com ([66.163.191.206]:39805) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfA9x-0001Ef-Uf for 54889@debbugs.gnu.org; Thu, 14 Apr 2022 20:50:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649983795; bh=UdZkXg7WfmvRjdE+bZKhhAc7rImRNT2LJpRR3OeJl8I=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=YAoyKzQEH+Jb3YkgVCnTUiU4SUG/c3PGoIrxNZ7k/vINSd6G+Ok36IzAIICM9881vB2V5H73e2yyd1uI2n0tTJYHq4xeOR6fYpDe2FRzAgkllW+qTE9INOoKO4mLZM+mZNAUgBdDgedJdzjuyymoNYUcsuKAyFpuGcGlkuPdm/mPKsAjDv0g0xzLZp3oWMkqznWQyOxXlOygeJMqGqQEYYCgMptNFWYiGnzJ+OU0mxtwDKPI64XHQN63hwM/Y2/CPD9PM07Ub/pgV+hXMS1fRlwIIF24PDcMIwcC5AAESv1j5yjcg+YfPy3jdy5c6rQ2F2DbKaAHDfu2Udi87Jko6Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649983795; bh=U4ZwU/nuef1sUClVBk4DVzLWNGquf9MgRKemmBocjRQ=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=AdL8PRMI2lACx9l1+DbAlzEZbjJJr+ciiQ2fqiEvgiQQjDlej4RwIFnIp5FdeunWuRUniabv24ICG4K24UrLL4igaJQrNYTSnI83BNknPS4IpuZ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ZdIB_Ls3TUX.CTOtaWJpMKJQ_8CBE6gSEt13LOjkmoiEKG.T6Xk9QucMd1aE0VN mg4mqXTqLYWTrzYHBQMVyGVdYKJJAYbLhZ85d5ELzkC43QkI4GLSS4qeoZSz6J8xWXRk8C8UVk7s CEGHMEq0nl6nYpqjQ8eZoYspQSbyrm2rwFrrIGsmMm3YWvVh4N10yVDy7NphlICTgmlSzxMOI9ro GSGzyt66ZiJUWnqzLKCR8I7IOFgAYYJXuXgbgZjtI9RxEoFpvFPq9vUPLq4gy28nKoU_OqNYRHw_ yy_c4tJr8.F6Ek_Z2neWvpxYfTr_Tt4LwlmbfBMPHeC1O2Dqgs8rCig2vxxxcJRR2hwOf7Jo.ZhQ JSJmuYj2hddJy57pgqoTc2Iwy8T36Yrkjf3R_zwoXP098U6cGbJiZi1J2zw4- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Fri, 15 Apr 2022 00:49:55 +0000 Received: by hermes--canary-production-sg3-cfddc4f9d-scfk8 (VZM Hermes SMTP Server) with ESMTPA ID da0982a76b8d37571119a696edd27d16; Fri, 15 Apr 2022 00:49:48 +0000 (UTC) From: Po Lu To: bg.jheng@gmail.com Subject: Re: bug#54889: 29.0.50; shift keys can't function when using setxkbmap with custom_symbol in gnome References: <8735ihx30j.fsf@yahoo.com> <87ilrdvf5p.fsf@yahoo.com> <877d7tvatx.fsf@yahoo.com> <87bkx4trnl.fsf@yahoo.com> <874k2vu7l7.fsf@yahoo.com> Date: Fri, 15 Apr 2022 08:49:44 +0800 In-Reply-To: (bg jheng's message of "Thu, 14 Apr 2022 22:56:29 +0000") Message-ID: <87ilrbrx07.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20048 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 424 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54889 Cc: 54889@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: -1.0 (-) bg.jheng@gmail.com writes: > i also tried to comment out that you say this : > else if (dpyinfo->xkb_desc->names->vmods[i] == dpyinfo->Xatom_Hyper) > dpyinfo->hyper_mod_mask |= vmodmask; > > after rebuild, > the capital letter can normally insert with shift now. > hope it useful. So something in your virtual modifier map is binding Shift to Hyper. That's a bug in your setup, not in Emacs. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 14 23:46:44 2022 Received: (at 54889) by debbugs.gnu.org; 15 Apr 2022 03:46:44 +0000 Received: from localhost ([127.0.0.1]:57806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfCuy-0005p1-Dc for submit@debbugs.gnu.org; Thu, 14 Apr 2022 23:46:44 -0400 Received: from mail-ej1-f45.google.com ([209.85.218.45]:34367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfCux-0005oo-Ha for 54889@debbugs.gnu.org; Thu, 14 Apr 2022 23:46:43 -0400 Received: by mail-ej1-f45.google.com with SMTP id ks6so13483724ejb.1 for <54889@debbugs.gnu.org>; Thu, 14 Apr 2022 20:46:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6QlWYVVw6/zyWgoE0UL/t9MKdPN5TD3Vk15998zvG6c=; b=NmtdxjKuXomo00z0eBs8Hbft7vsDk26HK0is67e9UkE5ie+KDFgbqprD2ZXj9NRCWJ xouNdCLsEl8TtsHa5tL1t2xTIoAMqe4wcBea91aDluLRcb6jnafw4uEyetpq/FA2w7AK Kp09ar5RQaxHB1ccECf2Kl4PS++mA2Mm88G/HCB+A72YJ1+x2P/VJqAM0iLeYLN2qDYM lp9bVR0kWLSEsxvXHNHc/yrgVDvNKiV9drj9V9OrBfxDj8LwKDQQIh8Zbb+zYVd92mUM TT8N16OUE4Zc6NG+r7SUmEk+TcZYoO7nu1MsjJTE2KgRx3rOfk5cDD9fDiuvAW4L49vS uiTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6QlWYVVw6/zyWgoE0UL/t9MKdPN5TD3Vk15998zvG6c=; b=6RBK+V3S24q2wyNtfnosyooBDaGP4YvLm9/D6roB6lXoDlYBgbgW9LaAGyUZX4dsoa VkvqzsQPKeLOllXnYW15l6l+P8ZLV3van7kdjNJp9pEyJUqwo55KjbuYhqkKaI82faFa 58beu5V72l+A/CKcMavBBfOP9I4wwLaPnjxPgKmTcd8YyLKG7IjU461jNsh9I1Y/x+4F uyEfqLBEW4zPO9QIzj140G3dMkgllZ7Ez+zHcxzuvdsOcTXDK7gYcNBkd9mEBrnoB+0S cvFf8wOtaXu4bgCtCnLJoY2HwLGQmc0C4G+D4TxSkPJwSdopCP+d+I6N70kXGyL9CC2E pOuA== X-Gm-Message-State: AOAM531D4g4zbeWKIxNmBL9cIsnopBrMp/SIJvzelS8m8VG7b78QGC4N BJ2/phzuj2Zf+xkqP7Bf9b/p+tEgL0vVvJNx8Lo= X-Google-Smtp-Source: ABdhPJxcY26H+cn9B5enjG790n38vfnewe9QsdfyAVt0z5BPjU+3Q0wApcdHBPL75CdtCszTj0FysHcFQlsDlXz02XM= X-Received: by 2002:a17:907:6089:b0:6db:a3d7:3fa9 with SMTP id ht9-20020a170907608900b006dba3d73fa9mr4979794ejc.593.1649994397474; Thu, 14 Apr 2022 20:46:37 -0700 (PDT) MIME-Version: 1.0 References: <8735ihx30j.fsf@yahoo.com> <87ilrdvf5p.fsf@yahoo.com> <877d7tvatx.fsf@yahoo.com> <87bkx4trnl.fsf@yahoo.com> <874k2vu7l7.fsf@yahoo.com> <87ilrbrx07.fsf@yahoo.com> In-Reply-To: <87ilrbrx07.fsf@yahoo.com> From: bg.jheng@gmail.com Date: Fri, 15 Apr 2022 03:37:40 +0000 Message-ID: Subject: Re: bug#54889: 29.0.50; shift keys can't function when using setxkbmap with custom_symbol in gnome To: Po Lu Content-Type: multipart/alternative; boundary="000000000000f1639605dca941a0" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54889 Cc: 54889@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: -1.0 (-) --000000000000f1639605dca941a0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I serched my map and found no config part had Hyper for virtualModifier , but i found Hyper_R config in symbols in group 2, after changed to Shift_R, i can inser capital letter in emacs 29. old: key { [ Shift_R, Shift_R, U2E9D] ,[ Hyper_R ] }; new: key { [ Shift_R, Shift_R, U2E9D] ,[ Shift_R ] }; I don't know why cause that, since that is not belong parts of emacs, I feel so sorry any where for this report let you be troubled. Anyway, thanks you for your help. Po Lu =E6=96=BC 2022=E5=B9=B44=E6=9C=8815=E6=97=A5 =E9= =80=B1=E4=BA=94 =E4=B8=8A=E5=8D=8812:49=E5=AF=AB=E9=81=93=EF=BC=9A > bg.jheng@gmail.com writes: > > > i also tried to comment out that you say this : > > else if (dpyinfo->xkb_desc->names->vmods[i] =3D=3D > dpyinfo->Xatom_Hyper) > > dpyinfo->hyper_mod_mask |=3D vmodmask; > > > > after rebuild, > > the capital letter can normally insert with shift now. > > hope it useful. > > So something in your virtual modifier map is binding Shift to Hyper. > That's a bug in your setup, not in Emacs. > > Thanks. > --000000000000f1639605dca941a0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I serched my map and found no config part=C2=A0 had Hyper = for virtualModifier ,
but i found Hyper_R config in symbols=C2=A0 <RT= SH>=C2=A0 in group 2,
after changed to Shift_R,
i can inser capita= l letter in emacs 29.
old:=C2=A0=C2=A0 k= ey <RTSH> {=C2=A0 [=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 S= hift_R, Shift_R, U2E9D] ,[ Hyper_R ] };
new:=C2=A0=C2=A0 key <RTSH>= ; {=C2=A0 [=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Shift_R, Shift_= R, U2E9D] ,[ Shift_R ] };

I don't know why cause that,
=
since that is not belong parts of emacs,
I feel so sor= ry any where for this report let you be troubled.

An= yway, thanks you for your help.

Po Lu <luangruo@yahoo.com> =E6=96=BC 2022=E5=B9=B44=E6=9C=8815=E6=97=A5= =E9=80=B1=E4=BA=94 =E4=B8=8A=E5=8D=8812:49=E5=AF=AB=E9=81=93=EF=BC=9A
<= /div>
bg.jheng@gmail.com writes:

> i also tried to comment out that you say this :
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 else if (dpyinfo->xkb_desc->na= mes->vmods[i] =3D=3D dpyinfo->Xatom_Hyper)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0dpyinfo->hyper_mod_m= ask |=3D vmodmask;
>
> after rebuild,
> the capital letter can normally insert with shift now.
> hope it useful.

So something in your virtual modifier map is binding Shift to Hyper.
That's a bug in your setup, not in Emacs.

Thanks.
--000000000000f1639605dca941a0-- From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 15 00:28:23 2022 Received: (at 54889-done) by debbugs.gnu.org; 15 Apr 2022 04:28:23 +0000 Received: from localhost ([127.0.0.1]:57866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfDZH-0006w9-Bb for submit@debbugs.gnu.org; Fri, 15 Apr 2022 00:28:23 -0400 Received: from sonic301-30.consmr.mail.ne1.yahoo.com ([66.163.184.199]:35156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nfDZF-0006vx-Nm for 54889-done@debbugs.gnu.org; Fri, 15 Apr 2022 00:28:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649996896; bh=MBbZZKo+LSdflyjp7BPX+FBJ7WSo3XKpmS1M5Dmus/A=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=Qwb3+c1850SXGikltWmP8/6hCb0lFag5mzi+0xIJNrH3SrmHPk4RPuy0MReL46DljTPOrKcpmBKaSzZJYeYG6CAAOh62sDtq8ziLYB1JBMfDqy+uMsQhpRX4A865aReeieHOykIFoUc4Z1rHIjCxLCznOylt42lxOEom3cooJ8+pAfAPpazRVxmSjRp5LpDca4afamKwoeI0ZgbBplJi8R9uMeDJYDLygG1ygoaO4ZGl9YSU8y08MJv7g8Xh8HoRwFO7TVT9cZzBhRlRuTGSP5gUiikyUoBvk0OglWUGtojEkEi+xD7fNlVXE1hGxHmRdi+OcxBxVfGVK7ZgKdeXPA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1649996896; bh=9/ekOORj2xqG2WhVyIY/rrlOPl/GqxEwX78O+23iC2l=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=iQ0C6GK8hD7oCq2R+7Y8Kj6qoaCP8EuFRtvR+RUth99+kBNMxqvTPPPywAlkwsOf2lvB+P8aOlDX6BuHZEKqywrWLMC3NnYoodRwM7Kxfz9vL9NE2Zk4+gKLk33gryRhEowlEgL8M9n72fI7W7JpV/ES5H/cz4xP/5nXrjJL3uKt1V1KdXY2qLevSwDmFonUdlzBGElqcbYA5uiVBRiNhTkDA6hh1R1Hf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dhhsQvAF04bjlDzOL5l76Za33 y.l.0KUQZsM63WybJjTctjoJcOcYQT70NFO37nixiRyj.X3ff6.bhAVjIi._fTw_tONyzaveLsrY UljQZPbZDHl8L48n4CM5Ns0m1EGUIE1lLQ19NMZN6jM7nLEv18YqwiTI0jruw5sG9TEORZ0WODtM AAvMBoERJq6IWiWbtgkvjqcyWMtJqnzCw5dJ1x1B9OKDdoSPYd4B9sUiUx4kwbIFBX4lW4reZGE5 eaPQMA2afiNZsnCcUi.QxSMobMcOkzGsR24shRVGYXBFB4MIVMpaf_5t1OMTkeA-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Fri, 15 Apr 2022 04:28:16 +0000 Received: by hermes--canary-production-sg3-cfddc4f9d-7q54n (VZM Hermes SMTP Server) with ESMTPA ID 833fe37fe04b28a66ac6f7a8e9b6e6ae; Fri, 15 Apr 2022 04:28:09 +0000 (UTC) From: Po Lu To: bg.jheng@gmail.com Subject: Re: bug#54889: 29.0.50; shift keys can't function when using setxkbmap with custom_symbol in gnome References: <8735ihx30j.fsf@yahoo.com> <87ilrdvf5p.fsf@yahoo.com> <877d7tvatx.fsf@yahoo.com> <87bkx4trnl.fsf@yahoo.com> <874k2vu7l7.fsf@yahoo.com> <87ilrbrx07.fsf@yahoo.com> Date: Fri, 15 Apr 2022 12:28:05 +0800 In-Reply-To: (bg jheng's message of "Fri, 15 Apr 2022 03:37:40 +0000") Message-ID: <87bkx3q8bu.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20048 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 598 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 54889-done Cc: 54889-done@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: -1.0 (-) bg.jheng@gmail.com writes: > I serched my map and found no config part had Hyper for virtualModifier , > but i found Hyper_R config in symbols in group 2, > after changed to Shift_R, > i can inser capital letter in emacs 29. > old: key { [ Shift_R, Shift_R, U2E9D] ,[ Hyper_R ] }; > new: key { [ Shift_R, Shift_R, U2E9D] ,[ Shift_R ] }; > > I don't know why cause that, > since that is not belong parts of emacs, > I feel so sorry any where for this report let you be troubled. No problems here, glad I could be of assistance. I'm closing this bug. From unknown Sun Sep 21 01:56:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 13 May 2022 11:24:09 +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