From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#55299: 29.0.50; Bug with the mode-line and pixel-scroll-precision-mode Date: Sat, 07 May 2022 19:54:01 +0800 Message-ID: <878rrd7e3q.fsf@yahoo.com> References: <7E7762D2-E79D-4BD3-B45B-294F3052AF36@univie.ac.at> <87czgp7i4v.fsf@yahoo.com> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38907"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 55299@debbugs.gnu.org To: Konrad Podczeck Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 07 13:55:15 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 1nnJ1m-0009wW-Nm for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 May 2022 13:55:14 +0200 Original-Received: from localhost ([::1]:33374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnJ1l-0005Ip-BF for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 May 2022 07:55:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnJ1a-0005Ic-55 for bug-gnu-emacs@gnu.org; Sat, 07 May 2022 07:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56770) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnJ1Z-0006N0-Px for bug-gnu-emacs@gnu.org; Sat, 07 May 2022 07:55:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nnJ1Z-0000pE-L8 for bug-gnu-emacs@gnu.org; Sat, 07 May 2022 07:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 May 2022 11:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55299 X-GNU-PR-Package: emacs Original-Received: via spool by 55299-submit@debbugs.gnu.org id=B55299.16519244603120 (code B ref 55299); Sat, 07 May 2022 11:55:01 +0000 Original-Received: (at 55299) by debbugs.gnu.org; 7 May 2022 11:54:20 +0000 Original-Received: from localhost ([127.0.0.1]:50667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnJ0u-0000oF-F9 for submit@debbugs.gnu.org; Sat, 07 May 2022 07:54:20 -0400 Original-Received: from sonic309-20.consmr.mail.ne1.yahoo.com ([66.163.184.146]:33939) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnJ0s-0000o1-EV for 55299@debbugs.gnu.org; Sat, 07 May 2022 07:54:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1651924451; bh=AQ3mGbkGEXIfs0lBU8MZ1s+7iT0cn0dpPJ/c2MYfPec=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=YCPBAfjqc2dV3N9YL3zAounVdnea7WFhYDvr/hD7nKNjE1e4UIpTDZe3w0ROZr915i/vOgp81Dazjt9hfYj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91cR4RvbjmGHW8IfdfifMVKewPgdndTypcNgVNFkw4BQIl31NmzueuVSO3qr3Zw3Uvd.8lbm5cj 9zNQAtyzoO.tXSEFrHKiwijEVRHG4wl0KdKTz_4jOggsntDUdqSbfiqZ2kHjsqPTyjZKN6voW2E_ EpkicrR7nPEIbIaI.LnJcb2i8DLKR5lttFo8yV2p4fIVWSuZrjM1k5U1I19fHG3qMQmCJlnSMq3N 4AfnFXB4Wwbvo1_.ww2XIiGkpyreimw3qDq3limWmZmCXC0Sw5rcimHvSmRYk6KjBZwK4y82MYqR 5AHPhaosSoDxUimqnfzYexouPBvYoh7vcgbZ9cbcK_wihWdSgGY7zEvdW.2bUNKmYJoMvaBBos6O euuzNRlpxLTDN0zzdKjgG86yMKXR5o4Ms4JQ3dQZy01kQTbO.2WpLHGXzgxN3miCuZ17YosrYJos TAPu.4B.o.p6KseQKXVF2AwppXD86Wg9f_PoKuRttPzqhkc.otRRE6uLVYUYuGsXx4drY65By3p6 BmKCkQjrTPe_sN0Nbx6rf74NArGEkw_bdvDNbLOZzj X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Sat, 7 May 2022 11:54:11 +0000 Original-Received: by hermes--canary-production-sg3-795d7b4d54-ckngf (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID fad26bfdaab031ce5084aacff5755502; Sat, 07 May 2022 11:54:06 +0000 (UTC) In-Reply-To: (Konrad Podczeck's message of "Sat, 7 May 2022 13:14:30 +0200") X-Mailer: WebService/1.1.20188 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:231578 Archived-At: Konrad Podczeck writes: >> diff --git a/lisp/pixel-scroll.el b/lisp/pixel-scroll.el >> index b0fe2f56c0..a7cfda2491 100644 >> --- a/lisp/pixel-scroll.el >> +++ b/lisp/pixel-scroll.el >> @@ -685,6 +685,8 @@ pixel-scroll-precision >> (setq window (frame-selected-window window))) >> (if (and (nth 4 event)) >> (let ((delta (round (cdr (nth 4 event))))) >> + (when (< delta 1.0) >> + (setq delta 1.0)) >> (unless (zerop delta) >> (if (> (abs delta) (window-text-height window t)) >> (mwheel-scroll event nil) > > With this, I get the error message =E2=80=9EWrong type argument: wholenum= p. 237.0 Please show a full backtrace from that.