From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Transient Mark Mode on by default Date: Wed, 02 Apr 2008 12:27:23 -0400 Message-ID: <87lk3ww7bo.fsf@stupidchicken.com> References: <87myopnj0l.fsf@stupidchicken.com> <20080324200911.GA1310@muc.de> <001e01c88dee$34267e90$c2b22382@us.oracle.com> <20080324210229.GB1310@muc.de> <47F128AA.6000905@emf.net> <87y77ybf3x.fsf@kfs-lx.rd.rdm> <85hcemhzj4.fsf@lola.goethe.zz> <871w5pfedh.fsf@stupidchicken.com> <87tzikwegm.fsf@kfs-lx.rd.rdm> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207153891 21323 80.91.229.12 (2 Apr 2008 16:31:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Apr 2008 16:31:31 +0000 (UTC) Cc: Thomas Lord , rms@gnu.org, M Jared Finder , emacs-devel@gnu.org, Stefan Monnier To: storm@cua.dk (Kim F. Storm) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 02 18:32:02 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jh5sF-00063q-OV for ged-emacs-devel@m.gmane.org; Wed, 02 Apr 2008 18:31:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jh5rd-0001P2-7v for ged-emacs-devel@m.gmane.org; Wed, 02 Apr 2008 12:31:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jh5rY-0001Ok-GM for emacs-devel@gnu.org; Wed, 02 Apr 2008 12:31:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jh5rX-0001OP-1g for emacs-devel@gnu.org; Wed, 02 Apr 2008 12:31:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jh5rW-0001OM-TZ for emacs-devel@gnu.org; Wed, 02 Apr 2008 12:30:58 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jh5rR-0002TT-9S; Wed, 02 Apr 2008 12:30:53 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 0F7D94E3F7; Wed, 2 Apr 2008 12:27:23 -0400 (EDT) In-Reply-To: <87tzikwegm.fsf@kfs-lx.rd.rdm> (Kim F. Storm's message of "Wed, 02 Apr 2008 15:53:13 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:94205 Archived-At: storm@cua.dk (Kim F. Storm) writes: > Chong Yidong writes: > >> Furthermore, making shift-selection a 1st class feature isn't too >> difficult, as I've previously shown. It also has the advantage of >> integrating with and complementing mouse-selection (e.g., you can select >> a region with the mouse, then extend it with shift-selection). > > I've also suggested ways to make shift-selection a 1st class feature > based on the CUA approach - by moving part of the stuff that is currently > in the pre-/post-command-hooks into the command loop, and only call the > (modified) CUA-functions when certain conditions are true. Right, but Stefan also wanted to modify the way momentary selection (a.k.a. tmm `only' mode) works, to make it less fragile. > If we name the property something like shift-select, then the help > system can easily tell people that "applying the Shift modifier to > this command will start or extend the active region". It wouldn't be any harder to make describe-function describe the `^' spec. Actually, it ought to decribe the `@' and `*' specs anyway.