emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: deactivation in "shift-select" mode


From: Kim F. Storm
Subject: Re: deactivation in "shift-select" mode
Date: Sat, 08 Mar 2008 18:26:19 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.91 (gnu/linux)

Miles Bader <address@hidden> 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 <address@hidden> http://www.cua.dk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]