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#57349: 29.0.50; pixel-scroll-precision-mode. error integer-or-marker-p nil Date: Tue, 23 Aug 2022 19:27:00 +0800 Message-ID: <871qt78akb.fsf@yahoo.com> References: <87lerf8kib.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="11770"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 57349@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 23 13:28:16 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 1oQS4p-0002jn-SQ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Aug 2022 13:28:11 +0200 Original-Received: from localhost ([::1]:43612 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQS4o-00077n-Uh for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Aug 2022 07:28:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQS4h-00075f-2Y for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2022 07:28:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53062) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQS4g-0000ka-DU for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2022 07:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQS4g-0005wu-0s for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2022 07:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Aug 2022 11:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57349 X-GNU-PR-Package: emacs Original-Received: via spool by 57349-submit@debbugs.gnu.org id=B57349.166125403722817 (code B ref 57349); Tue, 23 Aug 2022 11:28:01 +0000 Original-Received: (at 57349) by debbugs.gnu.org; 23 Aug 2022 11:27:17 +0000 Original-Received: from localhost ([127.0.0.1]:42811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQS3w-0005vx-MH for submit@debbugs.gnu.org; Tue, 23 Aug 2022 07:27:16 -0400 Original-Received: from sonic316-22.consmr.mail.ne1.yahoo.com ([66.163.187.148]:41391) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQS3u-0005vi-Nr for 57349@debbugs.gnu.org; Tue, 23 Aug 2022 07:27:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1661254027; bh=z4pMLU4B66xoxUggojph6j8OD9EzVsoYPdUIoW7tEAA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=Z5mfe7swBzYgXTgT4FfQw+GvT93SHyddN/FCtH3kFeC81Uh9h4/Y0D28ww4gBAo/sL85ZMCP5yzl5PbeUaOek0EP6Se1l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Mdb5eeHRIZIFz2QYBl5MJz2x01Cbf4LKpZfoJdNt5HzkPr7N5qCSR jGTpTIEm82dyBgl.1G2dQQVdQ26XFHvZ2IDTq6JL4WB4sJODr9mWt1.1ewU1fYV_CR39mEy2cKvB hb.ACx.Y5rthe_2VJlveQtfne6XpxGSUn88rNRfATOhl1.Rxuu1GTCpgDoVOq1f_YYOif86TfdaX RXuVZPcaTolFNrg2oepNW2nINp6cyw6YYBmVyGjjdigy7bVFPCpHY.OwErpYPitz0FUBDtrL.qfN RrjH1CWomnhz9.kmF.asbmrBEjaMc70MLxwbzV0mnfiGJcrLT6yBVWTt.y2WfT8gN7yFLXyx.ieL tpwUYr_2lAQORGWyTdzFKFunVMAGe.WM5y9znUszFVw_Ikuw2j_Suk.jiMD4KmCe.2zlDvagvDgt HIX8dHItRKRlqHYSBn4h4K7pWgXNcd3USWYd7ahh9W1t4xWLzPfldEF6l2M5kK6rVJa1AUuIJ8Y8 qPmZQRzcYpDhbmZryUcCxNjyBOP29v30ua6ciMVMdC X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Tue, 23 Aug 2022 11:27:07 +0000 Original-Received: by hermes--canary-production-sg3-6f58cd9b5-84qt6 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 39a23c1564249c93bdb557c331ae3736; Tue, 23 Aug 2022 11:27:05 +0000 (UTC) In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Tue, 23 Aug 2022 11:03:35 +0200") X-Mailer: WebService/1.1.20560 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:240527 Archived-At: Gerd M=C3=B6llmann writes: > Po Lu writes: > >> >> Gerd M=C3=B6llmann writes: >> >>> In GNU Emacs 29.0.50 (build 1, aarch64-apple-darwin21.6.0, NS >>> appkit-2113.60 Version 12.5.1 (Build 21G83)) of 2022-08-22 built on >>> Mini.fritz.box >>> Repository revision: 0c410206aa91b9bc9a0922d63ec34de765eb86a6 >>> Repository branch: master >>> Windowing system distributor 'Apple', version 10.3.2113 >>> System Description: macOS 12.5.1 >>> >>> emacs -Q >>> M-x pixel-scroll-precision-mode RET >>> >>> Move the mouse to the lower right corner of the Emacs frame. On macOS, >>> the mouse cursor changes shape to a double-arrow pointing 45 degrees in >>> the direction of the upper-left and lower-right corner of the screen. >>> >>> Scroll the mouse wheel. >>> >>> This either prints messages like this >>> >>> is undefined >>> is undefined >>> is undefined [45 times] >>> is undefined >> >> I think that's the internal border. >> >>> or sometimes errors 'Wrong type argument: integer-or-marker-p, nil'. >>> Not sure what to make of this. Looks like posn-at-x-y returns a posn >>> with a nil point? Or maybe posn-point returns nil? >> >> Probably the former. Could you please see if that error reliably shows >> up if you scroll with the mouse pointer over the place where the right >> fringe overlaps with the right and bottom internal borders? > > I'm not quite sure. > > ...text | fringe | scrollbar | something | > -------------------- modeline ------------ > ...text | fringe | scrollbar | something | > > Sp far, I couldn't produce the error anywhere when the mouse is above > the modeline. It's just saying that 'nil something' is undefined. > > Below the modeline, it's happening when being in 'fringe', 'scrollbar' > 'something' AFAICT. Sorry, it's a hard to move the mouse precisely, and > the rounded edge of the frame doesn't help either. > > I think this shows one of the events leading to the error: > > pixel-scroll-precision-scroll-up-page(0) > pixel-scroll-precision-scroll-up(1) > pixel-scroll-precision((wheel-up (# vertical-= scroll-bar (576 . 8) 137763384 nil 1 (81 . 0) nil (576 . 8) (15 . 16)) 1 0 = (0.0 . 1.0))) > funcall-interactively(pixel-scroll-precision (wheel-up (# vertical-scroll-bar (576 . 8) 137763384 nil 1 (81 . 0) nil (57= 6 . 8) (15 . 16)) 1 0 (0.0 . 1.0))) > command-execute(pixel-scroll-precision) That's pretty odd, I can't reproduce the problem at all. The next time I get access to a Mac (it may be a while) I will see if it can be reproduced there. Thanks.