emacs-devel
[Top][All Lists]
Advanced

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

Re: Shift-movement selection


From: Lennart Borgman (gmail)
Subject: Re: Shift-movement selection
Date: Wed, 12 Mar 2008 00:46:54 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

David Kastrup wrote:
"Lennart Borgman (gmail)" <address@hidden> writes:

Alan Mackenzie wrote:
Why not introduce an after-move-hook, somewhat akin to after-change-hook?
Possibly as a normal hook, possibly one where each function takes a
single parameter, the old value of point.
This is rather similar to what I proposed in anohter message (the
post-post-command hook), but I would prefer a more general hook. BTW
is there a way to check if the last command was indeed a move in the
current buffer?

And, for the turn on of the region a pre-pre-command hook could be used.

Assuming Emacs knows whether the shift key is currently depressed (it
does, doesn't it, by looking at the key sequence?) the after-move-hook
could be ideal place to deal with "shift"-movement actions.
Is not that too late?

I have not properly followed the discussion.  Has anybody proposed or
rejected adding some letter to the interactive string to mark
shift-sensitive movement commands?  It would be reasonably easy to
interpret this in C-h k and its ilk.

Not sure, but that is what I think Stefan did.




reply via email to

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