From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Len Trigg Newsgroups: gmane.emacs.bugs Subject: bug#60077: 29.0.60; Is xterm modifyOtherKeys support broken? Date: Fri, 16 Dec 2022 08:48:54 +1300 Message-ID: References: <831qp1mamr.fsf@gnu.org> <83ilidkp68.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a04ce205efe3257e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19889"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dann@ics.uci.edu, 60077@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 15 20:50:26 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 1p5uFN-0004wn-C2 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Dec 2022 20:50:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5uF1-0006sw-Gh; Thu, 15 Dec 2022 14:50: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 1p5uF0-0006sj-GS for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 14:50: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 1p5uF0-0006FH-7Z for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 14:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p5uEz-0002vH-If for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 14:50:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Len Trigg Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Dec 2022 19:50:01 +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.167113376211219 (code B ref 60077); Thu, 15 Dec 2022 19:50:01 +0000 Original-Received: (at 60077) by debbugs.gnu.org; 15 Dec 2022 19:49:22 +0000 Original-Received: from localhost ([127.0.0.1]:44570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5uEM-0002ut-3Q for submit@debbugs.gnu.org; Thu, 15 Dec 2022 14:49:22 -0500 Original-Received: from mail-oa1-f41.google.com ([209.85.160.41]:40853) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5uEI-0002un-Ls for 60077@debbugs.gnu.org; Thu, 15 Dec 2022 14:49:20 -0500 Original-Received: by mail-oa1-f41.google.com with SMTP id 586e51a60fabf-14455716674so631423fac.7 for <60077@debbugs.gnu.org>; Thu, 15 Dec 2022 11:49:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=TolznmhpdJIJMZhGPl+SnYi58ULoYoeyZRonshC3Mcw=; b=d2NDXBzOxFufDkE137kuCDBM4un6rOyFeY8PZ+jK5AydluCNUshFbWrfe51ZJmMpJv +sXOMDuiSuEx/uA7qIqGBhJ6ZI7Qo7RuK/FJyNJsT3ctGh5x1e6c6rGypkurYkjtY/H6 jcsYlAonRMzq7zEtUj4x11kvSqv5nLMmS9E7TESTkAh09bafIdcmSJlZP1ryD5GuHiR4 SpOZu0o3YqwMYhswSAT1Vv6PUDKpruVa69MBKv+ROCLjlA5+4aJYSpdTglxCvzWquNkM 3OJpPgTezXpQSJivrgqQc1er7FBn7cGFbZrGWiAYyOwCPHImWuZs1MaUjLg+EcyGkTfB GSog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TolznmhpdJIJMZhGPl+SnYi58ULoYoeyZRonshC3Mcw=; b=IrvqKCfPgGncqIYEsyfg8Zqdl+cat7LBK/9FDbvgo/pX9Dyq/m1Q8v0UGLrgiKIacb mQ+fARE5lL/QbFslUf7R9fscI3lG3mqx5Ve/6cOrFGpDzbB1ZN15Beby+uwvzaPF8blI y61QyFyj1n4SOsiEMHZngIfE2x5PefaJj2MMOOXVcNCk9OiDt3qHf0ZsgMiwGvIjJSRN HQSnAK9RS0qT3zpcxwXxqJsVYt8EopcnJpbPEYP5msx02XXBWHOckHUa+ov+iZ+m+zXS C+AoA7NWxGJLs1UaYvSf4KjaIE0CVVsGMw7UpM6FEmk0bFlU/QzsNjiIFEnsx7nsw7QD tm9Q== X-Gm-Message-State: ANoB5pmZmLI05xFR4NE/s9r0eZo8q6MKiDvzRlta1GIxNCJ1a3UU1Zsi 1RETmsVVvSzbPisxDLaXkWjnnSWjmZ79avAxMyA= X-Google-Smtp-Source: AMrXdXvJIN7d44Wz3AYnlElJjj8rWwlFFWyfdfjbb7iBBggrdkjPVjSPHd4N+mq3L28R1G2m58dvcsxcTSvVLYFslak= X-Received: by 2002:a05:6870:1b14:b0:143:74c2:f928 with SMTP id hl20-20020a0568701b1400b0014374c2f928mr349992oab.64.1671133751429; Thu, 15 Dec 2022 11:49:11 -0800 (PST) In-Reply-To: <83ilidkp68.fsf@gnu.org> 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:251144 Archived-At: --000000000000a04ce205efe3257e Content-Type: text/plain; charset="UTF-8" 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. BTW, have you tried to replicate the issue yourself? 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) Cheers, Len. --000000000000a04ce205efe3257e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Thu, 15 Dec 2022 at 22:10, Eli Zaretsk= ii <eliz@gnu.org> wrote:
> And my wild specula= tion from looking at the example table "Other modified-key escapes&quo= t; on
> https://invisible-island.net/xter= m/modified-keys-us-pc105.html is that emacs would need an entry like: >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (= 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. BTW, have you t= ried to replicate the issue yourself?


There's nothing wrong w= ith solving this one problem at a time, right?
Especially since we don't seem to have complaints about other
sequences.
=C2=A0
I suppose so, I'm just= a little wary of fixing like this without understanding why it=20 only seems to be an issue now or whether other guards are needed. For examp= le, the commit log for this area shows Dan Nicolaescu adding more bindings = in c0658ad46e4928ecdf6a14904073dc8a2fcfe862 and also bumping the xterm vers= ion number that is checked against, so he is probably knowledgeable about h= ow this works. (I've tried to add him to the CC list using the email ad= dress in that commit)

Cheers,
Len.


=C2=A0
--000000000000a04ce205efe3257e--