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: New Context Menu Date: Mon, 23 Aug 2021 20:02:07 +0200 Message-ID: <20210823180207.ud2v7aar5ws5l7yj@Ergus> References: <83zgtd2762.fsf@gnu.org> <87fsv4io41.fsf@mail.linkov.net> <838s0w1hiz.fsf@gnu.org> <871r6odq3s.fsf@mail.linkov.net> <83y28wyozn.fsf@gnu.org> <87a6l8it83.fsf@mail.linkov.net> <83sfz0wfxz.fsf@gnu.org> <87y28sqhq8.fsf@mail.linkov.net> <83lf4sw246.fsf@gnu.org> <87o89oqcpv.fsf@mail.linkov.net> 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="37396"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 23 20:03:17 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 1mIEI0-0009aE-4B for ged-emacs-devel@m.gmane-mx.org; Mon, 23 Aug 2021 20:03:16 +0200 Original-Received: from localhost ([::1]:34604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mIEHz-0002RL-3l for ged-emacs-devel@m.gmane-mx.org; Mon, 23 Aug 2021 14:03:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mIEHO-0001kT-VJ for emacs-devel@gnu.org; Mon, 23 Aug 2021 14:02:38 -0400 Original-Received: from sonic317-26.consmr.mail.bf2.yahoo.com ([74.6.129.81]:44519) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mIEHM-0001oa-D1 for emacs-devel@gnu.org; Mon, 23 Aug 2021 14:02:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1629741754; bh=ft5qHtmyYSGgAygN6XyP96IIjAlyXGDaGmE7erSs16s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=S1jybuZJOsQkz8iL9tfPPIqzOQlj+pGTne2R3dOL0kxS/3j6zNclJf/vMrh/eVDQ9MevU6KY+/l5tQVbLzi+jgIKCXJsetUiMqV+Ghzui5iEvFUNNyZm4mh/9FKWp13s1lmQNlamyKKZy0bykvOJ6AnazI+k2F+dH6+BoXaoj7OMi+DjyKH9E6brAY3vuJLKS24EkFbzMjr7HsBSd86ja5Dp6hH6HVmVi2bumgqNf9oBuP8emoeQVhlC0lBTMsn4W0krcJjYy16u2owp61/4uL+0IHxVRde81NKbBFgYUO5d+z38j+AkuBH7l+rChUW+0yE6Sk01QA3gVHkrJuku6A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1629741754; bh=o0Q34a0Y8M8MI5m5zFau56lfhNrpSi1VS0aVE5aI3Vr=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=etm7p+W4K3aoMlGhU0eWutpybsskgq82E+5jG6rstGc4irc8SGABCIORGMvkNgOcgF3pH7icMN89txvj2rPPxF5DOTVuxiESsPtwGGjnQApEnLUBQZSej4XxaioVWAiFq8OHSKZ/sG484TqO8CGkOEodnFcGKTm3e6uXFD5+3dHbSqYyQljrOs0WbCZ1G9KrmW4SM9OnVeh+7zJrF1LthTz4ReEel7Db+VgjS/6vpIYNIQLrZQDCNWZdJ2g+gVXtqpZq113SusL2GT4OHFTq5bA4SYqEkBpJes/GHjWW3/caiPw+1CUqvNv9ZOvHZyv6a+v4aSR9X9L3tJgckTAnzg== X-YMail-OSG: KimlNEYVM1nYwjLVfyPM2Zl7Dy9ik2VGEy6R1KXxQs0YB3olspStTNBg9lYDRIJ PdoLPUb3k_a6c9UoLYEg7Qu7qNVasz.XmDev.HO5Sn3MWlMO6JfsvlVtx0NYMpFKIfhdJ5zfDne. 2Dw.Ey1PdZyvc3v7d8D7N8CwOLQaoU60_h2ofGI2OvnYXAxM7kamlXyTEPqGCo2IxO2j8vK0N5dq lRyzRNsco1JQWWvW6qJHAxNxqIc7Yss_oylicQV2TDpWuXh2N5r53F0OBbEhrr7nBAPToABENSOI KkQJ2om2_yprMGA7cPPcsFsfrqPP8ZpGtdD6rylyHGarDEf6AY3fS3dTMGN8NE_gSCWDFij084tH Ff.3Odan2YGVpurUClIPlMY.LDkfCPEujuj6MTy77aoqnaySASr3iqB98Rj8ltp7_Dw1YjFSyDGR 5pQ9hClpr7hZ3dAtGAztQclHaYrgcwoC_xHxjYo1SGWeFOkweQRGBHpT3dVSHR_Lj5hhYxQua9fM AXxzfOtbxPwejQqwmJlPCOVxG_7Q43rlqo3kV_aLH8z5MCMbirHE5BvgpdtM2N6zQ4dQVVZJy2mo SgLAuarFN7rUX6cZQLZSDF.2Mwa_AmQ.cyG3ILRaZpTWrJG6uUAQrip4Ky129h96wX.JLxcFyEKI dTwASTcj2EuTls1BAcn5WhZIHcK3ISi0UT_dBJbXXDQ5yjhtjBFkDOxFC5ndNK.4o.7jQ0qXsCBm b3hKL9mqoXhdqri2mUUHN_jlfMkJu3K7sIrlKum4B2lw.wnHsG3vagfFu_C0qEZcWnSW46hHAERC HtzdMjodrybfofNFtCESKk8EOjDjlxJFCcu7JmkXJv X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.bf2.yahoo.com with HTTP; Mon, 23 Aug 2021 18:02:34 +0000 Original-Received: by kubenode518.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 96b868d30c9b18f94e0f22dd997b2175; Mon, 23 Aug 2021 18:02:32 +0000 (UTC) Content-Disposition: inline In-Reply-To: <87o89oqcpv.fsf@mail.linkov.net> X-Mailer: WebService/1.1.18850 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.129.81; envelope-from=spacibba@aol.com; helo=sonic317-26.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:272881 Archived-At: On Mon, Aug 23, 2021 at 08:42:52PM +0300, Juri Linkov wrote: >>> > Should we perhaps condition that by some variable, which menu commands >>> > could bind when they want? >>> >>> So here is a new variable: >> >> Thanks. I'd prefer to call it inhibit-mouse-event-check. > >Ok. > >> Also, do we want to consider it an internal variable (and name it and >> document is as such)? > >It is like other inhibit-* variables. > >> Otherwise, LGTM, but please add a NEWS entry. > >Pushed with a NEWS entry. > Hi Juri: I see you bound the menu to [S-f10] I am still asking about the issues with the menu key in xterm; in the other thread I showed this: lk201.el:35: (define-key map "\e[29~" [menu]) rxvt.el:67: (define-key map "\e[29~" [S-f6]) xterm.el:353: (define-key map "\e[29~" [print]) where "\e[29~" is the sequence the menu key sends. So maybe you could use [S-f6] instead? That will make it work out of the box in urxvt.