emacs-devel
[Top][All Lists]
Advanced

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

Re: Shift-movement selection


From: David Kastrup
Subject: Re: Shift-movement selection
Date: Wed, 12 Mar 2008 00:31:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

"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.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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