From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: charles@aurox.ch (Charles A. Roelli) Newsgroups: gmane.emacs.devel Subject: Re: Changing default mouse bindings (was: poplife-mode) Date: Tue, 14 Nov 2017 21:26:02 +0100 Message-ID: References: <0ad9af94-11cc-4dae-841f-f2918342d1bf@default> <7f5a496c-1ea7-4f0c-a2f5-4e5307d7ee82@default> <87fu9heq03.fsf_-_@gmail.com> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1510691190 21720 195.159.176.226 (14 Nov 2017 20:26:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 14 Nov 2017 20:26:30 +0000 (UTC) Cc: eliz@gnu.org, johnw@gnu.org, monnier@iro.umontreal.ca, drew.adams@oracle.com, emacs-devel@gnu.org To: Alex Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 14 21:26:24 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eEhmn-00052A-9w for ged-emacs-devel@m.gmane.org; Tue, 14 Nov 2017 21:26:21 +0100 Original-Received: from localhost ([::1]:33453 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEhmt-0007lo-5E for ged-emacs-devel@m.gmane.org; Tue, 14 Nov 2017 15:26:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36132) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEhmI-0007li-Iw for emacs-devel@gnu.org; Tue, 14 Nov 2017 15:25:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eEhmE-0000il-Ji for emacs-devel@gnu.org; Tue, 14 Nov 2017 15:25:50 -0500 Original-Received: from sinyavsky.aurox.ch ([37.35.109.145]:50821) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eEhmE-0000eu-B7 for emacs-devel@gnu.org; Tue, 14 Nov 2017 15:25:46 -0500 Original-Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id C260E225BA for ; Tue, 14 Nov 2017 20:18:29 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= references:subject:subject:in-reply-to:to:from:from:message-id :date:date; s=dkim; t=1510690708; x=1511554709; bh=Qt2416QLVtyD+ f4iHsezStHADQgiTYw6gAPVqZwp030=; b=CyeeO4o4wojyQ7DAOqFoBn7nR8486 DEaWKUU3HDeQ7gqfbAd2ZjJarzgwpKhl6h8SkQMscCcNc9A4aTZA8DwCjg01XcLC fktfMDjWDN3zvvTyXUA4P2YdhHURcu6vqDPj9tFMA287WaYMtWYYaFhrLNDuvfUU 5qNF6w5d7p2zUU= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Original-Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id eHq_wizuFZH7 for ; Tue, 14 Nov 2017 20:18:28 +0000 (UTC) Original-Received: from gray (125.85.192.178.dynamic.wline.res.cust.swisscom.ch [178.192.85.125]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 7B81A22570; Tue, 14 Nov 2017 20:18:23 +0000 (UTC) In-reply-to: <87fu9heq03.fsf_-_@gmail.com> (message from Alex on Mon, 13 Nov 2017 17:08:12 -0600) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 37.35.109.145 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:220198 Archived-At: > From: Alex > Cc: Drew Adams , Eli Zaretskii , > "John Wiegley" , emacs-devel@gnu.org > Date: Mon, 13 Nov 2017 17:08:12 -0600 > > Stefan Monnier writes: > > >> AFAICT, it's the only way, with your approach, to see > >> the region you will act on get highlighted. Are you > >> relegating your approach to menus that don't have items > >> that act on the region? > > > > My suggestion is for a context menu. I.e. a menu of things to apply > > locally. Nothing specifically to do with the region. The region is but > > one particular kind of "local" thing (and the down-mouse-3 event is not > > necessarily placed near the region). I don't expect that the region > > would/will be the main use of this functionality. > > > > > > Stefan > > Is it completely out of the question to just bind right-click directly > to this context menu by default instead of using double clicks or long > clicks? If so, will it ever be considered? It would be a shame if > Emacs is never able to shed some of its old baggage. I hope it would be considered. Originally I thought it would be best to work around the current bindings (via either the long press or double click of mouse-3), but if we can instead provide multiple functionalities with mouse-3 by differentiating between simple clicks and drags as Yuri suggested, that could be an even better solution.