emacs-devel
[Top][All Lists]
Advanced

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

Re: Shift-movement selection


From: Miles Bader
Subject: Re: Shift-movement selection
Date: Mon, 10 Mar 2008 09:06:01 +0900

address@hidden (Kim F. Storm) writes:
> Easier would be (shift-region-check) or some such.

Perhaps we should try to remove the "shift" from the command name -- the
concept seems independent of the actual key modifier used.

>> The method I showed earlier seems almost as simple, and has the
>> advantage that it's very unintrusive -- you only need to worry about the
>> commands which implement the special behavior -- and seems to work
>> pretty well.
>
> Can't we just combine the two methods (actually three - using the
> deactivate-mark 'only instead of transient-mark-mode 'only)?

Yeah, the various issues seem orthogona (copying some text from my
previous message):

 (1) how to turn on shift-selection -- binding keys vs. special
     detection of commands

 (2) How to turn _off_ shift-selection -- post-command-hook
     vs. transient-mark-mode "only mode" vs. ...

You're right that it seems better to extend the deactivate-mark variable
to implement this feature so it works right for t-m-m users too.

Do you have an exact mechanism in mind?  I find the dance of variables
used for deactivate-mark and transient-mark-mode kind of
confusing... :-)

-Miles

-- 
Circus, n. A place where horses, ponies and elephants are permitted to see
men, women and children acting the fool.




reply via email to

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