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: Tue, 24 Aug 2021 10:00:04 +0200 Message-ID: <87a6l7tgqx.fsf@aol.com> References: <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> <20210823180207.ud2v7aar5ws5l7yj@Ergus> <87wnob1iik.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="15592"; 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 Tue Aug 24 10:02: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 1mIRNx-0003vK-0U for ged-emacs-devel@m.gmane-mx.org; Tue, 24 Aug 2021 10:02:17 +0200 Original-Received: from localhost ([::1]:34618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mIRNu-0005cd-VI for ged-emacs-devel@m.gmane-mx.org; Tue, 24 Aug 2021 04:02:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mIRMN-0004gj-CB for emacs-devel@gnu.org; Tue, 24 Aug 2021 04:00:40 -0400 Original-Received: from sonic312-20.consmr.mail.bf2.yahoo.com ([74.6.128.82]:35581) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mIRMK-0004Ub-0C for emacs-devel@gnu.org; Tue, 24 Aug 2021 04:00:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1629792033; bh=uUJbtPMx+NTyiez+vMc2iNp6AU+65yObb2umOO0trI4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=JkxoJQI0vtHqOCmaXKj9I05VlcFe0A7LZ7VNvhT5MXTXCskq0qa71f9qX6XQOAkNiRtV3IYu8HU375OBejPyI/bJSEQM3o+N9iKWd+h1EXmOJrYnWGqrTska/hMvJBdhvMPuSJKWpIl78uZURZgG4kNkVMmccMYL7gw6jNrN9HUHQ/1iMsknHNUnxLr6On20F0SyLJ1EUyorC90m11CH2t+3Aosd56YxyiZzpzKoCpPr7XPi1itKf3rdnUUKVXD+LxWoyqsYt7MgBH4IhGTT0EvB1b9NEr0N3RrDG5Jw/vt9WvFpYM3FiSKSZEPW7I0s8wQKfmId0717iRpuTlgy+A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1629792033; bh=5lqryW1T7LXCKwzNtE8+9vjVJ/zCdkpcohofMgD/ZZS=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=Ydu5fDJngPR5I4w1iqMWsNRoVhziTrE/f59MkC8KV01c4nI6wv5hvYwl2/jNqnRaoqePvkeBRLekN9atTnOBtsWtiBkENOfKTRzqMR+3bRnE5iamJWU+F3RHY6Jytt1KWNRDsOct/sNi4pB0ScyiOKGwmHcoJgI+r7PTHHY7ZTYERxvweXhAV6Il6B9VJ+atOWumrcXfmI5JtbgR5ZsyCRApTDFGDWlnGZTlaqKFUmnrr7+K6j5OSVI20GtH1MCQq1P3GBESuOrtwjbQLk+kRgwj25v/zEOZJUjI4oWdfwZAUDLeuhYWsiOheyzAXLL20LNHrNYnHZ55Tb4J3Yh6eg== X-YMail-OSG: 52RSWJsVM1kutwcmChYzUgXQdMhKHa89iaye0TtH53IQXBfDrs58DA0GkFbC6Su 8n3MA7d0xqttO4uVie846FnHmiRBRuyCYbIeLVmaPw6oeWF.IdnSYZZcimLPryf5NIZ8RJi1oibd yUI8vNq8.DW2JMjCelKeZk.71mezFJhQODgGZRNvooFb48Gi3Qiy2UPwZnjXsEMhp1Zs9STYZEEt G5gnFOpc7DXbt7c8kVymbqSkJGcF.6u2WIwZ0HI4a7V_mN03zGxPJjKrlX1CyG2UrfRI_A9m8Ejd LfO_Q2c2qqQPGBSdEvokES876zAlnlfK9iutXoIrsSz8QHmjyCEn3dz9wJqQLq2TnPJ2Ox5qhs6Y uKcCkXA78FyRVliZBOEcmor5YDyHvj5bXws6zynhdSAit4iQSUWa.GzPUvoN5TMF1A0sx.fLOa78 dM9RW38ywMx_4SOMya.Ru2XPJ8Y_7l1Je6skgrzKo9px0FDa.jQwxiQbgSL9rjX3zCEqoofzI45w 38pEj_LDOOqBuvRPSrObSeCQNyun22BnSx5gc5uHfJgsOb2_ly9H_gqaSLXYcw6ivgC.qJsYs0i. 2Bc3HQ1216o747q9IBX3VCsDeXCdBfr5dwRTr1rgFAfYI6odzOVAM41svH3hM05.aDJLCBSn6f.. lNzQVNGbjSY_48YhLjs9X78DmYudODFNGVLApIsUJ1LT8EVfxwd_lgsS7GXdgSL62SCOvqseZVOw SY8k55mMZzHrftRwKnKi4Wtei6b695aEvnsAQxkEQJAO.E4JJj4k7HI9KV0duq3B5l63SnRcZAoo B7mqVaw30LXJ0f9ITlYBLI6tBl4.63tdjcwQlVU9_M X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.bf2.yahoo.com with HTTP; Tue, 24 Aug 2021 08:00:33 +0000 Original-Received: by kubenode521.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID d429ca7ace81b4fc164c080d2d8ce6d2; Tue, 24 Aug 2021 08:00:27 +0000 (UTC) Content-Disposition: inline In-Reply-To: <87wnob1iik.fsf@mail.linkov.net> 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.128.82; envelope-from=spacibba@aol.com; helo=sonic312-20.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=unavailable 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:272896 Archived-At: On Tue, Aug 24, 2021 at 09:35:07AM +0300, Juri Linkov wrote: >> 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. > >I installed urxvt, and in urxvt started >emacs -Q -nw -f xterm-mouse-mode -f context-menu-mode >Then typed S-. It opened the Context menu >with blue background where the selected item is red. >Then using arrows and C-n/C-p navigated to "Paste" >and typed RET, and it pasted a string at point. >All other menu items are also working fine on urxvt. >So it seems that your config is broken. Hi Juri: Maybe I miss explained myself. The idea to put it in [S-f6] is to make the context menu work with the [menu] button out of the box when available in urxvt (and on xterm if fixed). Of course S- works as expected. The point is that the menu key is the "right place" for it to make it more "similar" to other applications around. And such key is "under-utilized" by us at the moment. (Nobody even noticed it wrongly bound in xterm) Also because S- is menu-bar-open, that may be useful for some people, but S- is unused. SO as you say: it is a win win ;).