From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#60077: 29.0.60; Is xterm modifyOtherKeys support broken? Date: Fri, 16 Dec 2022 08:52:30 +0200 Message-ID: <83r0wzkfgx.fsf@gnu.org> References: <831qp1mamr.fsf@gnu.org> <83ilidkp68.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16828"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dann@ics.uci.edu, 60077@debbugs.gnu.org To: Len Trigg Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 16 07:53:16 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p64ap-000480-Tu for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Dec 2022 07:53:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p64ad-00008e-Uj; Fri, 16 Dec 2022 01:53:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p64ac-00008R-Ri for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2022 01:53:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p64ac-000359-JZ for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2022 01:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p64ac-0004qF-1Z for bug-gnu-emacs@gnu.org; Fri, 16 Dec 2022 01:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Dec 2022 06:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60077 X-GNU-PR-Package: emacs Original-Received: via spool by 60077-submit@debbugs.gnu.org id=B60077.167117356418600 (code B ref 60077); Fri, 16 Dec 2022 06:53:02 +0000 Original-Received: (at 60077) by debbugs.gnu.org; 16 Dec 2022 06:52:44 +0000 Original-Received: from localhost ([127.0.0.1]:47505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p64aK-0004pv-69 for submit@debbugs.gnu.org; Fri, 16 Dec 2022 01:52:44 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p64aE-0004pl-GE for 60077@debbugs.gnu.org; Fri, 16 Dec 2022 01:52:42 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p64a7-0002LH-5T; Fri, 16 Dec 2022 01:52:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=IvGzBpaVedlQvc9SE31UUpvyc/Scqppc09D9RQ1CGkE=; b=F+0H0mE48dVq 5TikfSNTq0cl7Y5FQu8N1tpc+90UmYmHskwUsY52lqs5/mhLj/z8SgTdN0q4BM4IZS2S3trjmyK4X jI45BzBLnNf9dGZi4KZeM++rWLSlHx7auqdfQADEGrOpB0UbESiPz4iN1Cb4piJ93UTj+EX0rt4f3 NgGuRplXt+xf35AXS8E8jYAdSqSwqxCbEkMSlPRkr+uiEKhpTyDXOP9JUL2qgYWTe9ILxCBA8i5u3 Ak+GZlfPG/DZ8AqtNAV3jXAfuJNbl8pEiULl0FskHa4mPD6GSkFS9oXpp9SdUrBKAyKMnqDoZXEpT Jqhqps/sc7hoFiBCD1qe6w==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p64a6-00037n-6G; Fri, 16 Dec 2022 01:52:30 -0500 In-Reply-To: (message from Len Trigg on Fri, 16 Dec 2022 08:48:54 +1300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:251184 Archived-At: > From: Len Trigg > Date: Fri, 16 Dec 2022 08:48:54 +1300 > Cc: 60077@debbugs.gnu.org, dann@ics.uci.edu > > On Thu, 15 Dec 2022 at 22:10, Eli Zaretskii wrote: > > > And my wild speculation from looking at the example table "Other modified-key escapes" on > > https://invisible-island.net/xterm/modified-keys-us-pc105.html is that emacs would need an entry like: > > (3 32 [?\M-\s]) > > to handle the modifyOtherKeys encoding of "\E[27;3;32~" for M-SPC, > > If that fixes the problem, we could install it. > > I tried this out and it does fix the issue for me. OK, will install that soon. > BTW, have you tried to replicate the issue yourself? I can't: I don't have access to a system with such a terminal emulator. > There's nothing wrong with solving this one problem at a time, right? > Especially since we don't seem to have complaints about other > sequences. > > I suppose so, I'm just a little wary of fixing like this without understanding why it only seems to be an issue now > or whether other guards are needed. For example, the commit log for this area shows Dan Nicolaescu adding > more bindings in c0658ad46e4928ecdf6a14904073dc8a2fcfe862 and also bumping the xterm version > number that is checked against, so he is probably knowledgeable about how this works. (I've tried to add him > to the CC list using the email address in that commit) Yes, thanks. Dan, if you have time to look into this and advise, please do.