From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Greselin Newsgroups: gmane.emacs.bugs Subject: bug#57179: 29.0.50: 'wrong-number-of-arguments' for function of two arguments called from 'window-scroll-functions' Date: Sun, 14 Aug 2022 01:07:32 +0200 Message-ID: References: <83y1vskq5e.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d4b10605e62778ee" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6332"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57179@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 14 01:09:13 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oN0Fk-0001Tg-Ne for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Aug 2022 01:09:12 +0200 Original-Received: from localhost ([::1]:47358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oN0Fj-0002jm-BG for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Aug 2022 19:09:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oN0Fa-0002jY-Rc for bug-gnu-emacs@gnu.org; Sat, 13 Aug 2022 19:09:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45603) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oN0Fa-0001IP-GQ for bug-gnu-emacs@gnu.org; Sat, 13 Aug 2022 19:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oN0Fa-0000oW-72 for bug-gnu-emacs@gnu.org; Sat, 13 Aug 2022 19:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Greselin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Aug 2022 23:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57179 X-GNU-PR-Package: emacs Original-Received: via spool by 57179-submit@debbugs.gnu.org id=B57179.16604320973069 (code B ref 57179); Sat, 13 Aug 2022 23:09:02 +0000 Original-Received: (at 57179) by debbugs.gnu.org; 13 Aug 2022 23:08:17 +0000 Original-Received: from localhost ([127.0.0.1]:35352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oN0Eq-0000nR-NW for submit@debbugs.gnu.org; Sat, 13 Aug 2022 19:08:16 -0400 Original-Received: from mail-qv1-f54.google.com ([209.85.219.54]:39913) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oN0Eo-0000nE-M4 for 57179@debbugs.gnu.org; Sat, 13 Aug 2022 19:08:15 -0400 Original-Received: by mail-qv1-f54.google.com with SMTP id h8so3084716qvs.6 for <57179@debbugs.gnu.org>; Sat, 13 Aug 2022 16:08:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=Xn7LG5pp2tl/+LDVMZHOrF+2D0OP/NtX0wmqcAbyA34=; b=XLC3asJerb/w/z9babg9JMoX3CK/wYkCUmF+eJWb4hx3P6O7X3tbbdO5RtRcXCkGIi JNygNkYc8AtA52En6RxcRnxA3KiEBrdytTP2eXqQUzSH74fItkj/EC0sMfrF+0Y25n3A yL5YThq+ZueA5Coty1Yrd4bio5RtDjtrqsDdbsbUjmy2dhN17g7WdU8+P6NV46YjKyEJ nq0WcIRqiAXoZrYnW0N0X4RrtiglIz/N6JnqBMpidNCtuBYpfo9H+N5lfoscVagqFUmO MJq5j8OWTZ8+uLnG2XyW+WOzfJPBdqwuiXI3YXQozUtN+Sb5Ah3zeGB/R64xgRa0+qZ0 Id0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=Xn7LG5pp2tl/+LDVMZHOrF+2D0OP/NtX0wmqcAbyA34=; b=IFe3YIpHYQphWuK9sEpFntK6OJL6DmfCKNDYRiT6x5fo2KEi0ZHLuCpgDBBbeGrkEK IMjKzBf7d5CwuiPErr0hQWncov3esLyXP3K8JMkkFAEHSUj6C97T34bpfWnIXTZf6Lvb sZUlzW07/bqyBTQmS/7C2ajM939vySyfS8AczgvC0M6cNaFcy4nEPH9N6H/ltQXwoC93 NNUse2L74i0GldjU4mjaEc/PJ9PbBB5LQx8mYPWjuZsGgWAEZzPPkR4I0Em4YDA/hdJg 1fFYT47n3wb5GDWL/AOXJvfEuOioiqnFWaCV24H/sZHkZmvsUmZpfy/akAEWSdr5Y0bL NnvA== X-Gm-Message-State: ACgBeo3xvAwP3sbly/wTVRjHZ1Wb58JoMlHQNjtBVUvGXxDG/0eOOREe Sl0ExEp5VBpzB+1ZNOzNSo4TEWybxUAczFp0EzHYiio7hL4= X-Google-Smtp-Source: AA6agR6E9KyPM6MojstLiN4zxiKZh4yW3ANOMJO81OJE8+MLe3X53V7hsgW4hZD4L4dgg211DjLPyaAnCUQBs/cjQDg= X-Received: by 2002:a05:6214:2342:b0:473:e142:f758 with SMTP id hu2-20020a056214234200b00473e142f758mr8695728qvb.83.1660432088869; Sat, 13 Aug 2022 16:08:08 -0700 (PDT) In-Reply-To: <83y1vskq5e.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:239600 Archived-At: --000000000000d4b10605e62778ee Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 13 Aug 2022 at 19:30, Eli Zaretskii wrote: > > > 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. > =E2=80=98my-recenter-after-jump=E2=80=99 is the only thing I add to =E2=80=98window-scroll-functions=E2=80=99. Andrea --000000000000d4b10605e62778ee Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, 13 Aug 2022 at 19:30, Eli Zaretskii <eliz@gnu.org> wrote:

> The backtrace seems to show that a function that is called is
> = different from the one you show as your hook function.=C2=A0 So I think you=
> should look closer into how you set up window-scroll-functions.

=E2=80=98my-recenter-aft= er-jump=E2=80=99 is the only thing I add to =E2=80=98window-scroll-function= s=E2=80=99.

Andrea
=C2=A0
--000000000000d4b10605e62778ee--