Thanks Tim for posting the repro case, and thanks Stefan for the pointer to the optional 'update arg to window -end -- this fixes the bug in emacspeak that Tim reported recently. Stefan Monnier writes: >> `(defadvice ,f (after emacspeak pre act comp) >> (message "scroll advice: start = %d end = %d diff = %d" >> (window-start) >> (window-end) >> (- (window-end) (window-start)))))) > > I think this may return outdated values for `window-end` because it is > run before the window end position has been recomputed by redisplay. > If that's not what you want, then you need to pass non-nil value for the > `update` argument. > > > Stefan > > -- Thanks, --Raman ♈ Id: kg:/m/0285kf1 🦮