From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Round-tripping key definitions Date: Thu, 18 Nov 2021 10:25:44 +0800 Message-ID: <87ilwqqjx3.fsf@yahoo.com> References: <875yswtzxh.fsf@gnus.org> <87o86ohzyv.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1038"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: Richard Stallman , psainty@orcon.net.nz, larsi@gnus.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 18 03:27:06 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mnX8k-000AcY-99 for ged-emacs-devel@m.gmane-mx.org; Thu, 18 Nov 2021 03:27:06 +0100 Original-Received: from localhost ([::1]:40510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnX8h-0006XX-Il for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Nov 2021 21:27:03 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnX7d-0005of-SO for emacs-devel@gnu.org; Wed, 17 Nov 2021 21:25:57 -0500 Original-Received: from sonic312-25.consmr.mail.ne1.yahoo.com ([66.163.191.206]:45899) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnX7c-000646-FT for emacs-devel@gnu.org; Wed, 17 Nov 2021 21:25:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1637202355; bh=59/Y2RXflSOzgulAU3ohticD7xzijNruToVbDEPhkns=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=te3cY4sMh721yR4GGeGurddstvQsQaUvCieMJpOsSIhBkdt5KSAX2JRj1V/dqAQiP5mPJZI2x/1A9/R+tVCAzUfk5Vtvd9b26qernmt3k6rars+YgWTG1hMZdA0kz7Yzm0EDJtXqm/m50s9NKJiASYEk8zdlgpfz+AD58ZPDM+elduXDweewgFeC49hA1J5ausbtFq39S4w1F6EnOXjiq5dswjTWFUVYmACNUvoMlhS6w0+estPWJETjBLuZPAOZnnjpq+KU4OMB8bDdF+10LWMgiSCoDBBGip963uePl2mHlaOc6gZgWvr9zXCtSsjq2TEi22HLyAqs845KG87L1A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1637202355; bh=55WP9j2Cm3oswWDu2AdTVI7WX1IAoRRhmLRmhj3ScS0=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=J9FnOsCdHf77eoJAkZ0Rl+ZQugO2gD+XlT8hBLCG8xn9/tmwptrl7ryP0hjTWOA6T/EMhehh6/USg8PSCKj7hx8tZun+RB8A4UJsfjUVS7AYDq9dF6Cah5HM2MsXCi02JrQ360B3r4mgG0BwWFQqeDb1Vc0c8rI/bxSqLQigReKPeEK3+3bVE1HriE9JbhI5Wh8vPWzl8HEnhQ6xbpAWbY4M6NSSxq9ToOcvMYUSglqTPZAtzvLp31AAxedG/IwGCuW1WHTq7uEojoOs7/Kz7cp80uCuVwgkIaYZ4VUs8hf5ulDFGXbgHBUSxNp1EXwNjWJ3dkIFIjDDPUFercQa6w== X-YMail-OSG: OJGtsUMVM1k1XZOC6Fco08gqZlaLYlNQK987k4J2DnQY1F56ccAgsfxzPxch4XE SwKoUTaj0B8Zhdets67mvY5Si.l0bETbjK.r1a5l_YOQiV8a6qxtdGdrlmhKWaqycdYqBDDYXlgT j60op6o_r3tdgB1mOBDWtgKctIHY_MSrLhHKpu5wRYr36twNd8my3JwQjwEK6lGk4qW526Ye8jQF 2zBW11ZK0XeNW51PlIXIc3jF_ZmwsZa40kftTqaXr_JPRKyqkGbtpudKPSGiGxquHyzQkR1FCe6h N.zxKfRlZpldqZaELWXVCvNm56Xsga5pJWkQ9LjpmCw5ZrcBTZ0cYiEp0TQE59PX8OXTR9atcydm Gg2tYmz.aasiW7gkZZ2.FltCLEmCHQWSEYmmTpAdNz_wCm.i0ewvM.1WnWjTmHV4pLX3ZNB6Rekr jwtayg5_x6TtDVvTXZjazYTVZWG8AlwrShhiQdnrn087aEoDzl672v.EYvYBO.LMx6h5lVoDVlSD sTcEH7miwMzU6THf1Paq65TFTaEQAW5WhmhjSakKXUAMC3YwG6g4LWb6.Jn3wZYlpCpVNC11rH1g bT.7L3P_dfSOKXpS1RPhkXrxIv00JMbLvofKkixbygb6VLac5d2Std5NMXmJR78VBCpJjh7C4leR hxl8Vrxz3mQdVN0RZapA75wVf5tf4ZOcF6JeSj4O6YtmQ7or5X6QUX8DmCg8RrLCDg7lZ_nKISr3 5k87yDQqOJzm2o_PPnfo89xVs6IoLy3YSIaBfgk5Fn_Sy186MkgqHi5ejEMUbvSRAOnMg89ywRva nFazvt0se76oFpIJ_qJvr42aBPJPgOsmhiCWOMDYHf X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Thu, 18 Nov 2021 02:25:55 +0000 Original-Received: by kubenode512.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 55ed72bbc8920346933d80037e4d7d70; Thu, 18 Nov 2021 02:25:49 +0000 (UTC) In-Reply-To: (Stefan Monnier's message of "Wed, 17 Nov 2021 15:38:24 -0500") X-Mailer: WebService/1.1.19306 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.191.206; envelope-from=luangruo@yahoo.com; helo=sonic312-25.consmr.mail.ne1.yahoo.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:279648 Archived-At: Stefan Monnier writes: >> > so either we keep `?\C-i` as 9 and introduce a new syntax >> > for "character i with a control modifier", or we change the value and >> > risk breaking some programs (tho maybe we can auto-fix the vast >> > majority with appropriate heuristics)). >> >> That would break a lot of old code. > > I thought so too, but I've been playing with a quick&dirty patch to > see how much breakage it introduces and it seems it's not nearly as > bad as I thought. I'm starting to believe that maybe we could pull it > off, tho I haven't had enough experience with it yet to be sure. Removing the correspondence between ctrl modifier and the ASCII control character would at the very least break the xwidget code in a non-trivial manner, a and probably a lot of comint-related code too, just to name a few. It would also break `teco.el', a fun toy implementing the TECO text editor inside GNU Emacs. I have no interest in updating the xwidget code if this change is made.