GNU bug report logs - #55660
29.0.50; PGTK degrades to terminal-compatible keyboard events

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Derek Upham <derek_upham@HIDDEN>; merged with #49211, #53200, #55362; dated Thu, 26 May 2022 14:44:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Merged 49211 53200 55362 55660. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 55660 <at> debbugs.gnu.org:


Received: (at 55660) by debbugs.gnu.org; 27 May 2022 05:54:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 27 01:54:13 2022
Received: from localhost ([127.0.0.1]:60661 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nuSvN-0002dA-DJ
	for submit <at> debbugs.gnu.org; Fri, 27 May 2022 01:54:13 -0400
Received: from eggs.gnu.org ([209.51.188.92]:37758)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>)
 id 1nuSvI-0002cq-T3; Fri, 27 May 2022 01:54:12 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:52348)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nuSvD-0001To-7p; Fri, 27 May 2022 01:54:03 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=lRdbcGkMZb0C+/Me1yFueLJL9WyurubEGjJriX0dO1w=; b=sRrVHbP/W8qWxWKUA/u2
 wDzejtem0RcTvb1/HHuZ1ZmFGNxNi0tUdDiir2gIGDMqPZeDW2Qq8jfX/rcqxvAHeEv+cbPool17K
 45GVFJThNL/APLsYii5+goqUccsdaWu2Di6AG8LexNA+BYhVnoHZ/+QtythERu5zC/9FH+Z8Ox2y5
 ZXWajKF0jc8yRJAAfGYVrc0qX0R6UyueE1plqZOMSPXG5m+llZgU6+bNMtPGDgI74EGxkad5+c314
 Gx12po9vhJmVr5vA2bTQJT9HKTLiPwkFNsgS03hTmoaHGLGFA9AZP/4Lq/dMDm7GAfVfR7QA4LEu8
 S828Y92ikil5Ew==;
Received: from [87.69.77.57] (port=3605 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1nuSvC-0007Op-G9; Fri, 27 May 2022 01:54:03 -0400
Date: Fri, 27 May 2022 08:53:57 +0300
Message-Id: <83ee0fo70q.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87v8trivlc.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#55660: 29.0.50;
 PGTK degrades to terminal-compatible keyboard events
References: <87bkvktkva.fsf@HIDDEN>
 <87zgj3j07s.fsf@HIDDEN> <87mtf3dbga.fsf@HIDDEN>
 <87v8trivlc.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 55660
Cc: 55660 <at> debbugs.gnu.org, derek_upham@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

merge 55660 53200
thanks

> Cc: 55660 <at> debbugs.gnu.org
> Date: Fri, 27 May 2022 09:59:43 +0800
> From:  Po Lu via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> Derek Upham <derek_upham@HIDDEN> writes:
> 
> > Calling that function restores normal rich events.
> >
> > I’m using Ubuntu 20.04.  The distro installs ibus-gtk3 as part of the
> > normal desktop experience, but I haven’t configured it. “im-config”
> > reports that it’s using the default en_US locale.
> 
> Then this is a duplicate of bug#53200 (and many other similar issues).
> Would someone please merge the two?

Done (and anyone can easily do that).

Should this issue be in PROBLEMS?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55660; Package emacs. Full text available.

Message received at 55660 <at> debbugs.gnu.org:


Received: (at 55660) by debbugs.gnu.org; 27 May 2022 02:00:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 26 22:00:04 2022
Received: from localhost ([127.0.0.1]:60397 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nuPGm-0004vG-0b
	for submit <at> debbugs.gnu.org; Thu, 26 May 2022 22:00:04 -0400
Received: from sonic313-10.consmr.mail.ne1.yahoo.com ([66.163.185.33]:35560)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1nuPGh-0004uC-5M
 for 55660 <at> debbugs.gnu.org; Thu, 26 May 2022 22:00:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1653616792; bh=/mA9nm2sUfeWMBCOcc2dgOfJ8UAivUYdy9HdqdNUEPU=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=FLLWea0DG08ed96e63HuqtC8SELqFl52+Ltvi0HeXxrsGrMZlXm30+VvCHiKKqi/+fwJxiQxbJZW5Yx1d4kSqDSUyhpe7KUN0DqX5Y7BtrOL5/rh2w99EdLK7DmJCszNKEH+pdWSzAqWRD+EYhcNrvKmmzbYbXGX7oT1HfYhn85Qy2f9wFArb/23q3taET3ehZe6ZHfXPzAkaHSz4olr85s9gyhXnxgPOTxASL0ZMU1NR0+YJ3gnM/n3fm49oq6Udpx5Nl+bQ51HgiTMsLl6WmhkRAc8GhfgqDbpWRt1M4uIu3ubXbCToMc3w6EEnAnokmi23+PHekHiebRgTzwZLQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1653616792; bh=5mFFWkMYcCvshrCIr8QytIRfuMViLr/itCVrrYjgWsJ=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=DJqNhkBafJYLCZn9xqxHfvICsD3LAIv2aKw9N3+rkvqiU4lGYkM+/Iya0Dzna932xdLTKQzEQpMURVsyULV5HwGdpicVTc4rUmMNSpNdRt0or813wo3Fg+w918lo+6Ujozs6O1LK/pUT7G0R0CXJ78BNlNn1UzQWKZYMyeSPbOy850m9JD/FoSfEJslMtzSAJxitGMhlLS95lHVDvouF891eiaj2aSMb6VCtQaRo88mNfobBMOs0vGLupEPzcICYjB1NED3Xa+gmq87Xwb4/97TGmpn6ihuQe5DAe/4r7Dx/dUqMMK8alcLQMOqchHWzZrLljR0LDdOPbfnFs8hkKQ==
X-YMail-OSG: 2F1begAVM1kJ.X.65xSWjXKsugw7cIIE9ddkGuPZMXqvIq2r1NYVhvJi44nRMzI
 In8SlXDoAZY0lf2L4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2cE_nNl91SHp6qkWdqxf3GGYcwcVjwesw2mZR
 NrHGKIPELrWlcL390gG_UpHozZRPCPhKKTiAND2JvDJ15eFcGQyrdC6E7Q3OyKDjcY3Pu2H0fKyq
 buJJ6WhMfqRCRAbA2yqaV_5FnDbHNu9IZSniX3TNV7yweaHQhyUJtsf4jl2U-
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic313.consmr.mail.ne1.yahoo.com with HTTP; Fri, 27 May 2022 01:59:52 +0000
Received: by hermes--canary-production-sg3-5f7658c994-6jtvl (Yahoo Inc. Hermes
 SMTP Server) with ESMTPA ID efadedee03abf4a1d5a9e829492faeb0; 
 Fri, 27 May 2022 01:59:47 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Derek Upham <derek_upham@HIDDEN>
Subject: Re: bug#55660: 29.0.50; PGTK degrades to terminal-compatible
 keyboard events
References: <87bkvktkva.fsf@HIDDEN>
 <87zgj3j07s.fsf@HIDDEN> <87mtf3dbga.fsf@HIDDEN>
Date: Fri, 27 May 2022 09:59:43 +0800
In-Reply-To: <87mtf3dbga.fsf@HIDDEN> (Derek Upham's
 message of "Thu, 26 May 2022 18:13:41 -0700")
Message-ID: <87v8trivlc.fsf@HIDDEN>
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.20225
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 450
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 55660
Cc: 55660 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Derek Upham <derek_upham@HIDDEN> writes:

> Calling that function restores normal rich events.
>
> I=E2=80=99m using Ubuntu 20.04.  The distro installs ibus-gtk3 as part of=
 the
> normal desktop experience, but I haven=E2=80=99t configured it. =E2=80=9C=
im-config=E2=80=9D
> reports that it=E2=80=99s using the default en_US locale.

Then this is a duplicate of bug#53200 (and many other similar issues).
Would someone please merge the two?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55660; Package emacs. Full text available.

Message received at 55660 <at> debbugs.gnu.org:


Received: (at 55660) by debbugs.gnu.org; 27 May 2022 01:13:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 26 21:13:57 2022
Received: from localhost ([127.0.0.1]:60331 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nuOY9-0003jy-E7
	for submit <at> debbugs.gnu.org; Thu, 26 May 2022 21:13:57 -0400
Received: from wilbur.contactoffice.com ([212.3.242.68]:53230)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <derek_upham@HIDDEN>) id 1nuOY5-0003ji-Bs
 for 55660 <at> debbugs.gnu.org; Thu, 26 May 2022 21:13:56 -0400
Received: from smtpauth1.co-bxl (smtpauth1.co-bxl [10.2.0.15])
 by wilbur.contactoffice.com (Postfix) with ESMTP id 9A196E6C;
 Fri, 27 May 2022 03:13:46 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1653614026; 
 s=20210208-e7xh; d=mailfence.com; i=derek_upham@HIDDEN; 
 h=References:From:Cc:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding;
 l=726; bh=uhvGEaSXkQQNA3aEbpyhpZi/3dvZOZQROMw868VIFr8=;
 b=UBvno1X72fNGBJJ38tqiUAScEzDxSVRAAmBQSN/GcF6whKoVXADGKcY+KOCn80He
 +H3/FJOBZeTTeJvcYyrgffaqDqVpukvnovDTny4kd3T+7yTDuQ5cT4ldMDjnXhiJIPL
 GGfIxp+tBekcEhkPoOSeyUeuagLn+IZlo9xqBYdkGQP88j0nr2wRFfY7+zSN6B0Adwp
 JnClZlz7995XBYALr2Mdq5mDGiMMY/fsQcwITuv/XmNcFlqDySdVapTZU9qJbuSMlVy
 ESBl+9uGzS2I3iIGwkF1zZK9XBa+wFVj4P1wWOTHxZaK+0i/r/G9Tb4q3KDNOhG/sev
 Q2wzvS0dNw==
Received: by smtp.mailfence.com with ESMTPSA ;
 Fri, 27 May 2022 03:13:44 +0200 (CEST)
Received: from [::1] (helo=priss.frightenedpiglet.com)
 by priss.frightenedpiglet.com with esmtps (TLS1.3) tls
 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95)
 (envelope-from <derek_upham@HIDDEN>) id 1nuOXt-0060Vf-VH;
 Thu, 26 May 2022 18:13:41 -0700
References: <87bkvktkva.fsf@HIDDEN>
 <87zgj3j07s.fsf@HIDDEN>
User-agent: mu4e 1.4.8; emacs 29.0.50
From: Derek Upham <derek_upham@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
Subject: Re: bug#55660: 29.0.50; PGTK degrades to terminal-compatible
 keyboard events
In-reply-to: <87zgj3j07s.fsf@HIDDEN>
Date: Thu, 26 May 2022 18:13:41 -0700
Message-ID: <87mtf3dbga.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Spam-Flag: NO
X-Spam-Status: No, hits=-1.0 required=4.7 symbols=ALL_TRUSTED,
 T_SCC_BODY_TEXT_LINE device=10.2.0.21
X-ContactOffice-Account: com:175140567
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 55660
Cc: 55660 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)


Po Lu <luangruo@HIDDEN> writes:

> What happens if you turn off input method support, by evaluating
> (pgtk-use-im-context nil)?  In general, these problems are not=20
> with
> Emacs, but with GTK input method modules, and should be reported=20
> to
> their developers instead.
>
> Emacs never "degrades" to "terminal-compatible" input events=20
> when using
> a window system.  We directly use whatever it reports.

Calling that function restores normal rich events.

I=E2=80=99m using Ubuntu 20.04.  The distro installs ibus-gtk3 as part of=20
the normal desktop experience, but I haven=E2=80=99t configured it.=20
=E2=80=9Cim-config=E2=80=9D reports that it=E2=80=99s using the default en_=
US locale.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55660; Package emacs. Full text available.

Message received at 55660 <at> debbugs.gnu.org:


Received: (at 55660) by debbugs.gnu.org; 27 May 2022 00:20:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 26 20:20:07 2022
Received: from localhost ([127.0.0.1]:60298 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nuNi3-0002Qj-Bt
	for submit <at> debbugs.gnu.org; Thu, 26 May 2022 20:20:07 -0400
Received: from sonic308-10.consmr.mail.ne1.yahoo.com ([66.163.187.33]:42258)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1nuNi1-0002Q8-BW
 for 55660 <at> debbugs.gnu.org; Thu, 26 May 2022 20:20:06 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1653610799; bh=+5y8PbYEtqYbGt3Z98mYKic7A/zHw6nsNs/OHl+hfzM=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To;
 b=bKqNfF783tPXKCaNQ9zwgLo4MgfKiN27482l0oBXDqMAA2YdJQa/cCqV199gqSy4g8Gf8kcxjNrJnDwibjMHToYB0Iz/8iKe4J7ltcn7GzdLy+GJnWRRLq1nv9E62ktJultFQWwtj/slMbuftjJwDtgoRHCk9GL7YtXxDAeUKFHBwziIeTMZkROEBI9EoSFmaE3jZwDtHFAnoKAQbuhpc9DXY+Z/J1J/qkYmHPtuPLh/J8Rl409iPxF2jxAIaRNi2zegkrYPfAjtQo28EFXnuaN0M69/D8ry+h4XjY2FFZvufw9xBxIvFLZtS438SWDEqn7CslxQub2RWwXEkkyrOA==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1653610799; bh=qPCOfQ7nq5AC7cFUzxWqFXTHDEYtudYEdvRS7pnmILK=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 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RpT21Nzfmr
 vHylCYjJ2T8NNd.vePDtlH7o5lOdDNaauPAaw.fjhT_H2cbXP5zWcLz7qkhZHzei8tY88boTrB8x
 gjI2HXLo_7o9z5zGSyULY9jZa5N92li2pRw_.2UkRe9LqLreePVph9fugS9KqqOAdOs8qs74U6bK
 PZbIZGaggTH2xo7VefYzhuOFg48TmuoRJZDqyKjnEWapOZxUzvanBF9vokR9KsbW5rdWkQzeaAwR
 MCbBbcZCwAY1Lru5RtjyIjKhD7ASRKuoVpSo24.eqwBFAy0K6sthLS47hH8J4h6EwGYByEFPWoMg
 3GoRXU7xhI6YuP3XyIc00rFjXbk0DG8.j53hzVRwk.5ZV12Yxt3AY.G1NQWg4SRW.1ev8e63o0Ki
 4tJEdLrlr.A044dQ4OrxJba8JTrYcnwBgFMqOVVnzLJhiCHGhIry6CYu_66nVL1JGtaxIfVgNePT
 kXYMj3TwbxR47qRCzvgOLl8LgqTBMiWLCZx538jDWfsHKUVFV9X1FLlv1OyOGlRokiWI0VxBnNSf
 mvnK9fmAwSh1MhyveaeXxTvKzHlDVvf7o8FZj1m2uirfF1F45yJ.Q4QyVjLs-
X-Sonic-MF: <luangruo@HIDDEN>
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic308.consmr.mail.ne1.yahoo.com with HTTP; Fri, 27 May 2022 00:19:59 +0000
Received: by hermes--canary-production-sg3-5f7658c994-m7v88 (Yahoo Inc. Hermes
 SMTP Server) with ESMTPA ID 05691ec0aababc40a2dd01a972ddb30f; 
 Fri, 27 May 2022 00:19:56 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Derek Upham <derek_upham@HIDDEN>
Subject: Re: bug#55660: 29.0.50; PGTK degrades to terminal-compatible
 keyboard events
References: <87bkvktkva.fsf@HIDDEN>
Date: Fri, 27 May 2022 08:19:51 +0800
In-Reply-To: <87bkvktkva.fsf@HIDDEN> (Derek Upham's
 message of "Thu, 26 May 2022 07:43:37 -0700")
Message-ID: <87zgj3j07s.fsf@HIDDEN>
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.20225
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 2072
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 55660
Cc: 55660 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Derek Upham <derek_upham@HIDDEN> writes:

> Meaningful control keys in ASCII are @, A-Z, [ \ ] ^ and _ (0x40 through
> 0x5f).  VT100 terminals use the Control key to zero-out the top two bits
> of seven, leaving us with 2^5=32 characters.  The above control keys
> happen to be a bank of 32 that are all graphical and easy to reach.)  I
> have old notes to myself that say that VT100 terminals do a little extra
> mapping: Control and `?' (0x3f) sends the DEL keycode (0xff); Emacs
> itself seems to map Control and `/' (0x2f) to the same keycode as
> Control and `_' (0x1f)).
>
> Window system interfaces like GTK track individual keypresses, and Emacs
> supports binding other keys with Control:
>
>   (global-set-key [(control ?<)] 'my-left-command)
>   (global-set-key [(control ?>)] 'my-right-command)
>
> Some terminals even send special character sequences to Emacs that
> encode the Control modifier alongside the ">" character.  Xterm is one
> of those, if you use the "xterm" terminal type.
>
> I was experimenting with Emacs configurations (in a weekly snapshot) and
> discovered that the PGTK interface does not support arbitrary Control
> modifiers.  I can send any of the ASCII control keys listed above, but
> for all others PGTK ignores the Control modifier.  Control-> turns into
> a plain ">", for example.
>
> These configuration options have the bug:
>
>   --with-x-toolkit=gtk3
>   --with-xwidgets=yes
>   --with-pgtk=yes
>
> These configuration options understand Control-> correctly.
>
>   --with-x-toolkit=gtk3
>   --with-xwidgets=yes
>   --with-pgtk=no
>
> I'm aware that PGTK is under active development and unreliable, and the
> immediate workaround is "stop using PGTK".
>
> Derek

What happens if you turn off input method support, by evaluating
(pgtk-use-im-context nil)?  In general, these problems are not with
Emacs, but with GTK input method modules, and should be reported to
their developers instead.

Emacs never "degrades" to "terminal-compatible" input events when using
a window system.  We directly use whatever it reports.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#55660; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 May 2022 14:43:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 26 10:43:59 2022
Received: from localhost ([127.0.0.1]:59723 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nuEiU-0006iI-UD
	for submit <at> debbugs.gnu.org; Thu, 26 May 2022 10:43:59 -0400
Received: from lists.gnu.org ([209.51.188.17]:50786)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <derek_upham@HIDDEN>) id 1nuEiS-0006i9-0F
 for submit <at> debbugs.gnu.org; Thu, 26 May 2022 10:43:57 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:41902)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <derek_upham@HIDDEN>)
 id 1nuEiQ-0008L4-5b
 for bug-gnu-emacs@HIDDEN; Thu, 26 May 2022 10:43:55 -0400
Received: from wilbur.contactoffice.com ([212.3.242.68]:57710)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <derek_upham@HIDDEN>)
 id 1nuEiK-000606-7g
 for bug-gnu-emacs@HIDDEN; Thu, 26 May 2022 10:43:53 -0400
Received: from smtpauth1.co-bxl (smtpauth1.co-bxl [10.2.0.15])
 by wilbur.contactoffice.com (Postfix) with ESMTP id 8A1CC8BD
 for <bug-gnu-emacs@HIDDEN>; Thu, 26 May 2022 16:43:43 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1653576223; 
 s=20210208-e7xh; d=mailfence.com; i=derek_upham@HIDDEN; 
 h=From:Date:Message-ID:MIME-Version:Content-Type; l=1668;
 bh=pkeTd0EBBbMD/0nFVk9Okr/VmwhK8P5apPNJvmd7LsE=;
 b=5SlRHvvpFTayuIwGptW4E+xyJ/EgeELoc1+brT3Dhu7kkGCE84qH3FZ7bGP/YDHP
 W5l6UX9UstBBWKm0Hi7S7t8ATkL1+1lZFjgaf7EWnmw1yaqcUp3iQi9TluBid4ywwJD
 xM4s9UFTrmAmvti/ckvl1+n17Nl5TnJWezSBW8VpkdqUVhf+RX5XRNlnBGFTLKGuHo3
 t+W4r917A6xDMMR3MHD5KOENNNCfAQ78H3tm8diMFTOf8vbWnnMRvJlWHzkJf46F3zw
 wx9JCZcK6kjX8KF8FeRyY+UEf78nc8kffVfywMf+QhP8H/YdpolEmv1UsNBjEZwC5Br
 NIlKE5UohA==
Received: by smtp.mailfence.com with ESMTPSA
 for <bug-gnu-emacs@HIDDEN> ; Thu, 26 May 2022 16:43:40 +0200 (CEST)
Received: from [::1] (helo=priss.frightenedpiglet.com)
 by priss.frightenedpiglet.com with esmtps (TLS1.3) tls
 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95)
 (envelope-from <derek_upham@HIDDEN>) id 1nuEi9-005ec2-TA
 for bug-gnu-emacs@HIDDEN; Thu, 26 May 2022 07:43:37 -0700
From: Derek Upham <derek_upham@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 29.0.50; PGTK degrades to terminal-compatible keyboard events
Date: Thu, 26 May 2022 07:43:37 -0700
Message-ID: <87bkvktkva.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Flag: NO
X-Spam-Status: No, hits=-2.9 required=4.7 symbols=ALL_TRUSTED, BAYES_00,
 T_SCC_BODY_TEXT_LINE device=10.2.0.1
X-ContactOffice-Account: com:175140567
Received-SPF: pass client-ip=212.3.242.68;
 envelope-from=derek_upham@HIDDEN; helo=wilbur.contactoffice.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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,
 RCVD_IN_DNSWL_LOW=-0.7, 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.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

Meaningful control keys in ASCII are @, A-Z, [ \ ] ^ and _ (0x40 through
0x5f).  VT100 terminals use the Control key to zero-out the top two bits
of seven, leaving us with 2^5=32 characters.  The above control keys
happen to be a bank of 32 that are all graphical and easy to reach.)  I
have old notes to myself that say that VT100 terminals do a little extra
mapping: Control and `?' (0x3f) sends the DEL keycode (0xff); Emacs
itself seems to map Control and `/' (0x2f) to the same keycode as
Control and `_' (0x1f)).

Window system interfaces like GTK track individual keypresses, and Emacs
supports binding other keys with Control:

  (global-set-key [(control ?<)] 'my-left-command)
  (global-set-key [(control ?>)] 'my-right-command)

Some terminals even send special character sequences to Emacs that
encode the Control modifier alongside the ">" character.  Xterm is one
of those, if you use the "xterm" terminal type.

I was experimenting with Emacs configurations (in a weekly snapshot) and
discovered that the PGTK interface does not support arbitrary Control
modifiers.  I can send any of the ASCII control keys listed above, but
for all others PGTK ignores the Control modifier.  Control-> turns into
a plain ">", for example.

These configuration options have the bug:

  --with-x-toolkit=gtk3
  --with-xwidgets=yes
  --with-pgtk=yes

These configuration options understand Control-> correctly.

  --with-x-toolkit=gtk3
  --with-xwidgets=yes
  --with-pgtk=no

I'm aware that PGTK is under active development and unreliable, and the
immediate workaround is "stop using PGTK".

Derek

-- 
Derek Upham
derek_upham@HIDDEN




Acknowledgement sent to Derek Upham <derek_upham@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#55660; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 27 May 2022 06:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.