GNU bug report logs - #18739
24.3; Request for a hook to be provided when scrolling will move the cursor

Previous Next

Package: emacs;

Reported by: josh+gnu <at> nispio.net

Date: Wed, 15 Oct 2014 19:09:02 UTC

Severity: wishlist

Found in version 24.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 18739 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: josh+gnu <at> nispio.net, 18739 <at> debbugs.gnu.org
Subject: Re: bug#18739: 24.3;
 Request for a hook to be provided when scrolling will move the cursor
Date: Thu, 16 Oct 2014 09:41:12 +0300
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: josh+gnu <at> nispio.net,  18739 <at> debbugs.gnu.org
> Date: Wed, 15 Oct 2014 18:48:16 -0400
> 
> >> It would be helpful to have a hook that would be called before any
> >> scrolling command moves the cursor.  In other words, I want to be
> >> notified when an update to the display will force the location of
> >> `point' to change in the current buffer.
> > What's wrong with window-scroll-functions?
> 
> But these are also called when point is not affected, right?

Yes.  But it's easy to detect that situation, I think.




This bug report was last modified 3 years and 30 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.