From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Context menus and mouse-3 Date: Fri, 16 Jul 2021 09:51:49 +0300 Message-ID: <83k0lq69a2.fsf@gnu.org> References: <20200914061111.3trmuzhdvv7nwdcc@Ergus> <87y2acv2tw.fsf@mail.linkov.net> <87sg0jt7bo.fsf@mail.linkov.net> <871r8123jg.fsf@mail.linkov.net> <87a6mojwu9.fsf@mail.linkov.net> <83im1c6qns.fsf@gnu.org> <87tukvdxvt.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1073"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philipk@posteo.net, rms@gnu.org, spacibba@aol.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, arthur.miller@live.com, dgutov@yandex.ru, ghe@sdf.org, drew.adams@oracle.com To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jul 16 08:53:46 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 1m4HjF-00006I-MT for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Jul 2021 08:53:45 +0200 Original-Received: from localhost ([::1]:40518 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4HjE-0000Xx-M4 for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Jul 2021 02:53:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4Hhl-0007WO-Ao for emacs-devel@gnu.org; Fri, 16 Jul 2021 02:52:13 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50528) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4Hhk-0007at-24; Fri, 16 Jul 2021 02:52:12 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1617 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4Hha-0002fd-Mf; Fri, 16 Jul 2021 02:52:03 -0400 In-Reply-To: <87tukvdxvt.fsf@mail.linkov.net> (message from Juri Linkov on Fri, 16 Jul 2021 01:28:30 +0300) 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:271285 Archived-At: > From: Juri Linkov > Cc: monnier@iro.umontreal.ca, philipk@posteo.net, rms@gnu.org, > spacibba@aol.com, emacs-devel@gnu.org, arthur.miller@live.com, > dgutov@yandex.ru, ghe@sdf.org, drew.adams@oracle.com > Date: Fri, 16 Jul 2021 01:28:30 +0300 > > Another necessary change to emulate the behavior of modern apps is > to rebind mouse-save-then-kill to S-mouse-1. > > Maybe it's possible to add a delay so that the current binding [S-down-mouse-1] > could pop up mouse-appearance-menu only after a delay, e.g. 450ms. > But on releasing S-mouse-1 immediately, it could use mouse-save-then-kill > as modern apps do. Once again, I think lumping such different commands on the same mouse gesture controlled by some more-or-less arbitrary timeout is not a good UI. We should avoid that as much as we possible can.