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


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Josh <josh+gnu <at> nispio.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 18739 <at> debbugs.gnu.org
Subject: bug#18739: 24.3; Request for a hook to be provided when scrolling will move the cursor
Date: Wed, 27 Apr 2022 20:45:42 +0200
Josh <josh+gnu <at> nispio.net> writes:

> There are so many ways that this can happen that it is not possible to
> advise every function that might do it.  It is possible that
> window-scroll-functions will give me everything I need, but I haven't
> had time to try it yet.  We can resume this conversation at such a
> time, unless there is someone else who already knows that
> window-scroll-functions will not work.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

This was seven years ago, but no follow-up happened, as far as I can
tell.

window-scroll-functions is the variable to use when doing stuff if the
window start changes (which will often move point).  A more general
hook, to be run whenever point changes, would be too heavy, because
point movement functions are called all the time and have to be
efficient.

So I'm therefore closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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.