From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [usability] mouse-1 for performing actions? Date: Sat, 25 May 2002 15:20:37 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200205252120.g4PLKb604508@aztec.santafe.edu> References: <200205240043.g4O0hXj01216@aztec.santafe.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1022361732 1784 127.0.0.1 (25 May 2002 21:22:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 25 May 2002 21:22:12 +0000 (UTC) Cc: Kai.Grossjohann@CS.Uni-Dortmund.DE, keichwa@gmx.net, miles@gnu.org, bob@rattlesnake.com, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17BizL-0000Sf-00 for ; Sat, 25 May 2002 23:22:11 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17BjFt-000307-00 for ; Sat, 25 May 2002 23:39:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Bizt-0003oM-00; Sat, 25 May 2002 17:22:45 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Bixt-0003cR-00; Sat, 25 May 2002 17:20:41 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g4PLKbK14770; Sat, 25 May 2002 15:20:37 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g4PLKb604508; Sat, 25 May 2002 15:20:37 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: jas@extundo.com In-Reply-To: (message from Simon Josefsson on Fri, 24 May 2002 18:34:53 +0200) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4381 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4381 Yes. If you drag mouse-1 inside the current selection you get drag'n'drop, if you drag mouse-1 anywhere else it marks. I don't think this would be hard to implement, so I suggest once again that someone give it a try. It is not necessary to know anything special about GUI programming, it is only necessary to change the command that is bound to down-mouse-1 so that in some cases it moves the region text to where the mouse is. It should try to do something smart with the undo list so as not to accumulate things there for the intermediate changes that were not really made. What happens if you click within the current selection? Does that cancel the selection and move point there? Perhaps it should; that could help address Miles' complaint: For instance, when you select a region, and get the start wrong by 1 character, you can't just redrag it, you have first get rid of the region by clicking (outside the region!), and _then_ redragg.