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?