From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: xterm [menu] key definition Date: Wed, 25 Aug 2021 13:53:15 +0200 Message-ID: <20210825115315.nlkppccghmg3clzx@Ergus> References: <20210819024728.kgnf6jmpakqdto4p.ref@Ergus> <20210819024728.kgnf6jmpakqdto4p@Ergus> <87mtp71i4s.fsf@mail.linkov.net> <20210824164036.caohbap24666ij35@Ergus> <831r6iwy4p.fsf@gnu.org> <20210824202340.begmfw4xwzud6pga@Ergus> <83r1ehvk6e.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3023"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca, juri@linkov.net To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 25 13:54:24 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 1mIrU7-0000ZV-96 for ged-emacs-devel@m.gmane-mx.org; Wed, 25 Aug 2021 13:54:23 +0200 Original-Received: from localhost ([::1]:52534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mIrU5-00067r-Ua for ged-emacs-devel@m.gmane-mx.org; Wed, 25 Aug 2021 07:54:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mIrTX-0005Dj-IF for emacs-devel@gnu.org; Wed, 25 Aug 2021 07:53:47 -0400 Original-Received: from sonic305-1.consmr.mail.bf2.yahoo.com ([74.6.133.40]:46294) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mIrTU-0000KE-O2 for emacs-devel@gnu.org; Wed, 25 Aug 2021 07:53:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1629892422; bh=BwVDg2uJur+e+PxDgDqJjPc2gKxxWA4Mshv5KLZYHIw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=oBIi0CI95pzccGd/MxtN4zXq+bc0a4lg1i+rklvldqJPn6iZaMafEgbbBn13R879SQjmdTnKqoaEBMDDEwzDLvg593uWD7b8XYNhFFWrOsKGIpWH52hN8Te+uJgD+YVSfFsgAKAWJzwh9SWCta351oCTi/xueTEcMVo1935eB4ShuwNSUT5pu0cPtk76POFXwyi6o+Aj3u0JHogxnbZ7oOOgHFHpdK1z2QBEZjHlkZLTEa9c4QDF8RbqIkKX7Y2mL5ZPVTySmtNxssEra3/c60BCBEzHdBvBOYxqPL56OEvWJKOqSbbZX3riDARUFTfKbcT0LK34l2g4Mq1LM/vOUg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1629892422; bh=Spi52TMW5xBhXXIS2HFXaDv6qbZjMk7aMnrQFLJJojU=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=S+4JT2uiWQQ97KEZ83QBkBtC0WfM4PxCK+z/XTkiFIKmfYAP5NRhuapEzNS43J1+p/N8Bq4fh0TeMXN81f1/LhF3/5hP/ONlsEoH+BBG2cSNY/fcMFq7ejkteCccl7jQGBBIzSDmGF0bAvsZ5UMCRzqJJbjDWc33NbBgDb4Tl5mC6DGs+Vui59pRf22vMsjMJSifA6hFkMm9gxq4obX0ZRNMhXSteKediR7+1fO8FLZdoCl/8GI4j7RgV9gjV4rqMX1nllF3TgoAMPjhZnMX8LMkUzXJtozfKeoo3lyC4vp5Sb0tDngRszVUtKV9aIqE2lbk5p3L2XamlIEIF+L24w== X-YMail-OSG: 21vqZegVM1m84o9XuVfnnmF2kFrrliFihzDgG6FNrYIGvhJMbwgejaA5H67uNAm xFDK_BspdlTBrGOiFYu7EP7rjs3BnEtwpkA3dyJjcjQhy.hRdez3uOyYRMxXa5sbXLjHXeV4X_6g wwZqdYBCLUcl2g6m9hnkI3ghcsli4C77iLzRsaWL_Wukh8CPGt09917yvHGNJQGSnViCTCpXpARN VkjqIjJ8NS_Q1p.p0Ob1nikA7ypCAFa72wQAzZlFnWAWuQ7GFvMsXwPXnmvaKT9iuJe_Il_MVjKi kV5wfW4zDdMbOPp.A3yDJugggYzI7dSaw69gyNU3JG3.l8yYwsj2upSHjTQrs3qroxRIDjQ_1ZXl .3Y6KyuymA3fYRzyPooTrSlZ9DWQpTVijt8n7XADVSKNZ3_gyQEgyjV8nukMdkcx6OQ9EKZunZ76 zggsf6OPhzE.ewTFls5LQPz3jCvUarlNhkIpfjbRFIoEiHs6rlzXnodBBjlFLrAz8QopABMVItN2 utXB3FezerNUWkPcmzK9_uZXitrEivRP6bsM57_UP3XSQEMgWM5iG2YhGeOfUsWKxjS0pHLTCQq9 UaCW.o1lObGYYMQRu_73TaB_gaC_Fefq_v1MIVz5TRJT6y_jH_PZ0qDoQbIG5vS.4VdpjPRVGgwj X9DjGPjku.QjxHJdXOZQBIVkdT0ZLAJYxcUAmSPs1UmwYEo6XeDLNo6EvWVRU.d0PSEmXGMzlGuy JuRTAE14VgxC2ufarEh.h6mManejrahkqlp3NQUPZLAp64DGRZXa_No.I96DvdBr_5kb1t0RIMvj Ulj6tmAb2Hb8FT8yErBnozVlwsHBc5NTkZ8LE01BLd X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.bf2.yahoo.com with HTTP; Wed, 25 Aug 2021 11:53:42 +0000 Original-Received: by kubenode532.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 51fec89fcab995a428b7a8e77ba2e0b0; Wed, 25 Aug 2021 11:53:38 +0000 (UTC) Content-Disposition: inline In-Reply-To: <83r1ehvk6e.fsf@gnu.org> X-Mailer: WebService/1.1.18906 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.133.40; envelope-from=spacibba@aol.com; helo=sonic305-1.consmr.mail.bf2.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.23 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:272968 Archived-At: On Wed, Aug 25, 2021 at 02:27:21PM +0300, Eli Zaretskii wrote: >> Date: Tue, 24 Aug 2021 22:23:40 +0200 >> From: Ergus >> Cc: juri@linkov.net, monnier@iro.umontreal.ca, emacs-devel@gnu.org >> >> I am not saying the current code is wrong. Just that the so called >> [print] key does not exist while the same key is seen as [menu] in gui. > >We need evidence for that, and we need evidence that would explain why >xterm.el does have a translation for that key. > This was my very first question on this: why Print. And why I started this thread. In the worst case we shouldn't have mapped the escape no anything or in the best it should be bound to for what I have learned here. >> I already wrote to Thomas Dickey (xterm maintainer) some days ago about >> this: > >AFAIU, Thomas just says that he doesn't know of any standard xterm >assignment to the Menu key. I already knew that, because I looked >into the xterm sequences documentation when you first reported the >issue. So what Thomas wrote doesn't tell me anything new. > The maps are there as mentioned before by Yuri: https://github.com/Maximus5/xterm/blob/master/src/input.c#L1460 >> The other change I propose is the S- instead of S- and for that >> we have all the evidence that urxvt binds the same escape sequence to >> S- (since we do: >> >> lisp/term/rxvt.el:67: (define-key map "\e[29~" [S-f6]) > >I don't think using S-F6 for this is a good idea. F10 is our key for >menus, so S-F10 sounds a lot better. > From the code it looks like [menu] is an alias for . rxvt convention makes = S-. xterm used a similar approach but with 12 instead of 10; now it is more complete and with many more bindings emacs does not support for backward compatibility... (like C-S-letter for example) >> Otherwise we will need to request to all the compatible terminals around >> to update their terminfo.. a very long process that will delay for years >> until all the systems in all the servers will be updated. > >I don't understand why would we need to request anything. If this is >for the Print key, then since it seems that no keyboard has it, we are >good. > Not for the print; but for the menu. When I wrote this I didn't know it was generally an alias for .