GNU bug report logs -
#57179
29.0.50: 'wrong-number-of-arguments' for function of two arguments called from 'window-scroll-functions'
Previous Next
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
> The backtrace seems to show that a function that is called is
> different from the one you show as your hook function. So I think you
> should look closer into how you set up window-scroll-functions.
I too have seen this problem just yesterday. There must be something
going on, it is unlikely that this is a coincidence.
In the backtrace I saw that the function had been called by name with
zero arguments. But on top of the backtrace the symbol-function had
been shown (a closure). I also wondered about that.
I verified that the function was only accessible via
`window-scroll-functions'. My code did not use the function in any
other place.
Some entries below in the backtrace was `redisplay' - so... somehow
`redisplay' is sometimes calling functions in `window-scroll-functions'
with zero arguments. Maybe the buffer local binding of
`window-scroll-functions'.
Please tell whether this information suffices and you already have some
idea or if I should try to create a recipe. I guess this must be
related to a recent change from within the last few days.
Michael.
This bug report was last modified 2 years and 337 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.