From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: deactivation in "shift-select" mode Date: Sat, 08 Mar 2008 18:26:19 +0100 Message-ID: <87k5kd3z5w.fsf@kfs-lx.rd.rdm> 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> <871w6mc8iy.fsf_-_@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204997211 18282 80.91.229.12 (8 Mar 2008 17:26:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Mar 2008 17:26:51 +0000 (UTC) Cc: juri@jurta.org, cyd@stupidchicken.com, rms@gnu.org, emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 08 18:27:17 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 1JY2pG-0004EU-4y for ged-emacs-devel@m.gmane.org; Sat, 08 Mar 2008 18:27:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JY2oi-0005tq-7B for ged-emacs-devel@m.gmane.org; Sat, 08 Mar 2008 12:26:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JY2oe-0005tP-3Y for emacs-devel@gnu.org; Sat, 08 Mar 2008 12:26:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JY2oc-0005tD-Kd for emacs-devel@gnu.org; Sat, 08 Mar 2008 12:26:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JY2oc-0005tA-FR for emacs-devel@gnu.org; Sat, 08 Mar 2008 12:26:34 -0500 Original-Received: from mail-relay.sonofon.dk ([212.88.64.25]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JY2ob-0007zS-RS for emacs-devel@gnu.org; Sat, 08 Mar 2008 12:26:34 -0500 Original-Received: (qmail 87355 invoked from network); 8 Mar 2008 17:26:27 -0000 Original-Received: from unknown (HELO kfs-lx.rd.rdm.cua.dk) (213.83.150.21) by 0 with SMTP; 8 Mar 2008 17:26:27 -0000 In-Reply-To: <871w6mc8iy.fsf_-_@catnip.gol.com> (Miles Bader's message of "Sat\, 08 Mar 2008 10\:24\:37 +0900") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.91 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 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:91729 Archived-At: Miles Bader writes: > This implementation only works if transient-mark-mode is disabled, > because of the way the transient-mark-mode "only mode" works; my guess > is that this restriction would probably be pretty easy to remove by > simply having a separate variable to enable "only mode" instead of > overloading the meaning of the basic transient-mark-mode variable. This really has nothing to do with transient-mark-mode as such What is needed here is a similar functionality on deactivate-mark, i.e.: Setting deactivate-mark to 'only means to deactivate mark after the next command (during which deactivate-mark = 'identity). > Anyway, here's the example code, which is very simple and seems to > work quite nicely; check it! It's a small step in the right direction... -- Kim F. Storm http://www.cua.dk