From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thomas Lord Newsgroups: gmane.emacs.devel Subject: Re: Shift-movement selection Date: Wed, 12 Mar 2008 17:07:22 -0700 Message-ID: <47D8703A.9060400@emf.net> References: <200803050637.m256bXL3008361@sallyv1.ics.uci.edu> <87hcfkdhqk.fsf@stupidchicken.com> <87d4q8sq9c.fsf@jurta.org> <8763w0n393.fsf@catnip.gol.com> <871w6ounk0.fsf@kfs-lx.rd.rdm> <87ablacdxt.fsf@catnip.gol.com> <87skyzzeng.fsf@catnip.gol.com> <87fxuyobxt.fsf@kfs-lx.rd.rdm> <47D56474.9000300@gmail.com> <87myp4p88k.fsf@kfs-lx.rd.rdm> <87bq5j1tsa.fsf@kfs-lx.rd.rdm> <47D86E67.9090008@emf.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205364561 3407 80.91.229.12 (12 Mar 2008 23:29:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Mar 2008 23:29:21 +0000 (UTC) Cc: rms@gnu.org, cyd@stupidchicken.com, lennart.borgman@gmail.com, emacs-devel@gnu.org, juri@jurta.org, monnier@iro.umontreal.ca, "Kim F. Storm" , miles@gnu.org To: Thomas Lord Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 13 00:29:47 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 1JZaOA-0008QE-9p for ged-emacs-devel@m.gmane.org; Thu, 13 Mar 2008 00:29:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZaNb-00025i-G0 for ged-emacs-devel@m.gmane.org; Wed, 12 Mar 2008 19:29:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JZaNX-00025Y-Q4 for emacs-devel@gnu.org; Wed, 12 Mar 2008 19:28:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JZaNV-00025D-TR for emacs-devel@gnu.org; Wed, 12 Mar 2008 19:28:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZaNV-00025A-Mh for emacs-devel@gnu.org; Wed, 12 Mar 2008 19:28:57 -0400 Original-Received: from mail.42inc.com ([205.149.0.25]) by monty-python.gnu.org with esmtps (SSL 3.0:RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JZaNO-0000vJ-EM; Wed, 12 Mar 2008 19:28:50 -0400 X-TFF-CGPSA-Version: 1.5 X-TFF-CGPSA-Filter-42inc: Scanned X-42-Virus-Scanned: by 42 Antivirus -- Found to be clean. Original-Received: from [69.236.65.4] (account lord@emf.net HELO [192.168.1.64]) by mail.42inc.com (CommuniGate Pro SMTP 5.0.13) with ESMTPA id 25263988; Wed, 12 Mar 2008 16:28:47 -0700 User-Agent: Thunderbird 1.5.0.5 (X11/20060808) In-Reply-To: <47D86E67.9090008@emf.net> X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:92337 Archived-At: I'll stop be chatty for a bit after this but: Additionally, have some key binding that turns a regular mark on the top of the stack into a tentative mark. And, instead of "transient mark mode", have some display mode that highlights the marked region when and only when the top of the mark stack is a tentative mark. Then, in the common situation when I know the mark I want is buried on the stack but I'm not sure where, I can iteratively turn the top of stack into transient, to see what it is, and then discard them until I find the one I want. The kind of thing one currently does with maddening iterations of C-xC-x and C-UC-@, but friendlier. So, summing up: Shift-marking can be really nice even for classic-style Emacs "power users" and it can be implemented as a combination of a post-command hook (installed and removed on the fly) plus a default binding (mildly hairy) for shifted keys. -t