From: Eli Zaretskii <eliz@gnu.org>
To: Andrea Greselin <greselin.andrea@gmail.com>
Cc: 57179@debbugs.gnu.org
Subject: bug#57179: 29.0.50: 'wrong-number-of-arguments' for function of two arguments called from 'window-scroll-functions'
Date: Sat, 13 Aug 2022 20:30:05 +0300 [thread overview]
Message-ID: <83y1vskq5e.fsf@gnu.org> (raw)
In-Reply-To: <CAJ_oJbbKd19f0Lj2MSpdct9k3JpJaaHZYaUvbDhkdZG+fJ3mXg@mail.gmail.com> (message from Andrea Greselin on Sat, 13 Aug 2022 18:17:54 +0200)
> From: Andrea Greselin <greselin.andrea@gmail.com>
> Date: Sat, 13 Aug 2022 18:17:54 +0200
>
> It's worked until I upgraded from v. 28.1 (from Fedora’s repos) to
> 29.0.50 (commit 6de88b6b02). Now I get
>
> Error in window-scroll-functions (my-recenter-after-jump):
> (wrong-number-of-arguments (lambda (window _window-start-after) "Recenter
> the point after a non-scroll command brings it out of view.
> This function is meant to be called from the hook
> ‘window-scroll-functions’." (let ((save-selected-window--state
> (internal--before-with-selected-window window))) (save-current-buffer
> (unwind-protect (progn (select-window (car save-selected-window--state)
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.
next prev parent reply other threads:[~2022-08-13 17:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-13 16:17 bug#57179: 29.0.50: 'wrong-number-of-arguments' for function of two arguments called from 'window-scroll-functions' Andrea Greselin
2022-08-13 17:30 ` Eli Zaretskii [this message]
2022-08-13 20:50 ` Michael Heerdegen
2022-08-14 0:19 ` Michael Heerdegen
2022-08-14 7:18 ` Eli Zaretskii
2022-08-14 13:22 ` Alan Mackenzie
2022-08-14 23:00 ` Michael Heerdegen
2022-08-15 9:42 ` Andrea Greselin
2022-08-15 12:24 ` Alan Mackenzie
2022-08-13 23:07 ` Andrea Greselin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83y1vskq5e.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=57179@debbugs.gnu.org \
--cc=greselin.andrea@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.