GNU bug report logs -
#22404
25.1.50; Forcing `window-scroll-functions` to run.
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
I completely understand and respect your decision to go in a different direction than my draft implementation of this new feature, but I thought it might be helpful for you to compare my ideas to your own proposed implementation as you go forward. Because my proposed implementation mirrors the current implementation of the `window-scroll-functions` hook, `xdisp.c` performs all of the necessary checking to see whether the user's function attached to the `window-start-end-hook` changes the buffer in such a way that requires further work on the part of redisplay. Attached is the revised edition of my new animal, whose proposed buffer-local usage is as follows:
(setq scroll-conservatively 101)
(setq window-start-end-var t)
(defun window-start-end-fn (win start end pbol-start peol-end)
(message "win: %s | start: %s | end: %s | peol-start: %s | peol-end: %s"
win start end pbol-start peol-end))
(add-hook 'window-start-end-hook 'window-start-end-fn nil t)
[window_start_end.diff (application/diff, attachment)]
This bug report was last modified 9 years and 97 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.