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: Fri, 20 Aug 2021 14:26:05 +0200 Message-ID: <20210820122605.bewzngxm3w73yuif@Ergus> References: <20210818120834.i3orh535tb2enpos@Ergus> <8335r7546s.fsf@gnu.org> <20210818124309.wvd4vhzv6sgsujdh@Ergus> <83a6le4rz1.fsf@gnu.org> <87pmuaoa0u.fsf@mail.linkov.net> <83lf4y36uf.fsf@gnu.org> <87a6ldzzh3.fsf@mail.linkov.net> <8335r53m9i.fsf@gnu.org> <87zgtciom8.fsf@mail.linkov.net> <83a6lc1hnz.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="32329"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Juri Linkov , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 20 14:27:43 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 1mH3cc-0008Dr-9u for ged-emacs-devel@m.gmane-mx.org; Fri, 20 Aug 2021 14:27:42 +0200 Original-Received: from localhost ([::1]:42826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mH3cb-00068U-6n for ged-emacs-devel@m.gmane-mx.org; Fri, 20 Aug 2021 08:27:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mH3bX-0004xZ-6y for emacs-devel@gnu.org; Fri, 20 Aug 2021 08:26:35 -0400 Original-Received: from sonic302-2.consmr.mail.bf2.yahoo.com ([74.6.135.41]:38256) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mH3bT-0006UD-Ql for emacs-devel@gnu.org; Fri, 20 Aug 2021 08:26:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1629462390; bh=x7l3/ZPoOef6eYehsppauObrWnRvbQp5W9nQxetYZk8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=HxYCTnnY0zAKsuj/yvMSeUST5WjHMjBpdw7tmxhUzg99BVltHnvub10X2ROF79UMdh4ki8jzHXJIwK2qPMzD4kiBj291PPkUgTHYxc9StuekD66ijj8p07YePKF2DYcTTPQCvTggKHiXuci+k8JRrM1JbUHAo84C8Y/Ik5tc7OILVQwUAwMf7zKfO4+/vkXImR9WVgyImmPCfhjNFBh0eFJo7WcvjYDwy1SvEm5p0QQQNFKt0woG1cxKx+D3u4iL+pBahkif8Vfi9FRb4MzO+b8Qc+K5h203lE4ma82FBgJsVJYMHSpsteeWC+Gohe+uD9bAGTIu+T/tLIQ6UrgaDA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1629462390; bh=DwPp1rbud3zdJnootwOntfJ7W88U2mPwiVgdNntI6eT=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=W002q4L7Fsf5PrAEOcGrM4Bz5q53MNpdbfStZhZrCMoqyMSof3wmmm82RkVb78RCr1CYawh3WCeodiVyh6XWIsKuC7aUl9TEZt/DJ/9dE9DKq4lE3XXb+aV2e6XPQdFlIpbFntYU2ZjEbIgwGsvaa97lu6RXfaAgHOxiNewbskoZJG+l9CbhJHgnHlptiaHMpwEpWhvAydL5/xo4TakVrQ/EVchE8XTq2P1giYyOLZKMG/pqWvpwJcurhr0Mb3nIb/wzAbKA9VP1l9fwRiySxgNVICZ27YArPsb3F44fAMxX29ILsvitqFPe9ETRmVF3KzFXYca56uq8UI3kj+Ppgw== X-YMail-OSG: YNay6ZsVM1k4dLZ0eSm8rpQWkAz.1qjnNioYp7SpQPJdqXvyAbzYEtU8oREuviA uA7WtFene4ZZu1LTf_E79oO4vQ2x4k6K1mG9pE3wNXAcjNKcKt0bn6dnV283WyG_Vzm9lByQK0Ab 4125jl64yOsPJcAOTwIFb62ozwuFGlltCEEuaZHNOEgNLbgRKKn2xNBihVMVxUc2IyGGpiCMZXUL HhzXedOIAHuQS6ube7ropG8Ujxf71F3O68x1AWBbUf6H5rWVdlBnxX8_jS7SrheuqNMKGTqTNbgJ 2n0JbEWbZAzAFnsNXN41xBSG_z_LDUDj6EI9jAKF1EaTz3iZaN91yp7sjExe7I58a9DGufsNYoC9 aAtFParTZ51r9YBk5A.zXiSHRf_lg9dBn_zBpR9N.PFY6sp5ByG6LDx1fqP3ISFDhTjqS6dgmkyH oWp4eKwPLvbqQ8OfVh17IZKfuIkXqzkwoANITSw4CTa6hcTltjBuGTP.I9sRqS1LARjV7kcnJ8jW M6quBeMwkuU.rEAEyZDA.WgGAkY5q7EP_k.WCfaQ8Nbe68Udc4gYX.KDGuem81ezKWCy.MSzanli D5sPgilN_cU4abSPFZ76drRVm_HCJa3J9hZ76zwDWMRF0h2Nsrp9WG05ZnfUIRjt4stpqyoSFvwW aZiM_BJ5tw5pN1zwpOYN9.T_0NY3PxZpAMPnqk4voIliWHYmgAL8IJ_CypMDG02fT_axfCFp7pNh 8hFMqHpKjCe7M1e1k.5d9CZpIalpwxAvz62bLJw3FhiRR5.LyosI.3qmLo_pdVhXC9FcIpAb6JWu v7z.OCatPdEZHCfrcOrhpVXrWHjqBS2tOr_7Qy1MqW X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.bf2.yahoo.com with HTTP; Fri, 20 Aug 2021 12:26:30 +0000 Original-Received: by kubenode524.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 2f7fd052f05628a9f6939fade98e35a3; Fri, 20 Aug 2021 12:26:27 +0000 (UTC) Content-Disposition: inline In-Reply-To: <83a6lc1hnz.fsf@gnu.org> 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.135.41; envelope-from=spacibba@aol.com; helo=sonic302-2.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:272714 Archived-At: On Fri, Aug 20, 2021 at 02:26:08PM +0300, Eli Zaretskii wrote: >> From: Juri Linkov >> Cc: spacibba@aol.com, emacs-devel@gnu.org >> Date: Fri, 20 Aug 2021 10:13:59 +0300 >> >> > I'm talking about the _behavior_, not about the bindings. The >> > behavior in the other cases is that releasing the mouse button doesn't >> > pop down the menu in the other cases; with context menus, it does. >> > That is sub-optimal UI, as users who don't expect that will see the >> > menu flash momentarily and disappear, at least on TTY frames. We >> > should fix this so the context menus behave like the other drop-down >> > menus we have. >> >> I don't understand how the behavior of the context menu could be >> different from the behavior of the old binding [C-down-mouse-3] >> when both have the same implementation. > >I cannot say I understand that in detail, either, but the fact is it >does. Maybe it's translation from C-down-mouse-3 to C-mouse-3? > No. C-down-mouse-3 is a modified mouse event; emacs gets it but not the equivalent up events (C-up-mouse-3 for example) but it gets somehow the up-mouse-3 event. For example: Try C-down-mouse-3 then Release Control and after that release the mouse button. You will see a similar issue. >> Does it pop down for you if you click [C-down-mouse-3] that displays >> the local/global menu? > >No. When I release the mouse button after clicking C-mouse-3, the >menu stays displayed until I select a menu item (or dismiss the menu >with the likes of C-g).