From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= 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 11:03:35 +0200 Message-ID: References: <87lerf8kib.fsf@yahoo.com> 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="11845"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) Cc: 57349@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 23 11:08:22 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 1oQPtV-0002ti-Nu for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Aug 2022 11:08:21 +0200 Original-Received: from localhost ([::1]:59406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQPtU-0001E4-BQ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Aug 2022 05:08:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQPpK-000777-D5 for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2022 05:04:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52798) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQPpK-0001vh-0F for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2022 05:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQPpJ-0001pn-RZ for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2022 05:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Aug 2022 09:04: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.16612454287016 (code B ref 57349); Tue, 23 Aug 2022 09:04:01 +0000 Original-Received: (at 57349) by debbugs.gnu.org; 23 Aug 2022 09:03:48 +0000 Original-Received: from localhost ([127.0.0.1]:42541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQPp5-0001p4-Vm for submit@debbugs.gnu.org; Tue, 23 Aug 2022 05:03:48 -0400 Original-Received: from mail-ej1-f44.google.com ([209.85.218.44]:43673) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQPp4-0001oq-1n for 57349@debbugs.gnu.org; Tue, 23 Aug 2022 05:03:46 -0400 Original-Received: by mail-ej1-f44.google.com with SMTP id gb36so26059262ejc.10 for <57349@debbugs.gnu.org>; Tue, 23 Aug 2022 02:03:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc; bh=n6NzcHM5tvm6W3lDfSx1tRJ4J/hMc2mCErWVjVgH9YQ=; b=p2wHxGiIOR8f/oYAvOH/STx4BDpTsU4IVGz2qxfZfJk0w5XmHDdNPw6g8JeBQ3LwtY oIQdsbyXB7d6GsPRzKwAJgSv7NwGGPBZ9rVRXPuY3QbSsXyNEZn/qpyT26/p3mjZqEvV Pt+fCHu5lEwIselhP+z6hWd9ep/pkPglANiefJTWfz919Wq3jQgmhLCR/w5lBDM+oukt 5rhQGQ4vqWhciX0Wym25XgkT3KneN67gw7KUXV8upPLXDElFU0jONSjQhYhV6iJb7yiC U1PRToi/Y3rU0ra9YjImkrm0dEQ7xVDi+Y3eqQI/pG0TlOzbKb+YuMppB/hA3i2itBbb pXSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc; bh=n6NzcHM5tvm6W3lDfSx1tRJ4J/hMc2mCErWVjVgH9YQ=; b=0jHPC5u+Irqidx2xajgVsTytDYZmzdi4Je+EVSRflZsr7eGce6Cvrr9ds+CtpFm29M jR4AB/RHuP+uWz0SjRapNxWSZy/9uGcE12gSWtJGlbr2hA1TwvKMAZv2Hp7aooiUzq07 qGEPGM/NC2IxMiUu4L6hq3SCaIleEnNEx2N/mSIAdjPYf0noqWXFxgANIsduC9n/+Kwh tXkawsP/0viNgwZBn1eSgl3TXwS4h5ZGm2CLQjy4uTs3FTlG3ltKixAnebidY7eT3m5Q 6t3V3FGpDlsKGXWQKPOI4Hv8sJ7LFOQosxlVM9skfY1pnE0bIcrcE+Dj3KAPtApBUO3g i63g== X-Gm-Message-State: ACgBeo1tucBzIZlVTCZ+xLwvwmrxRJar3hqZQFPPsDChyRiNb9vL+f54 Tvcz6tSCjTCA9SsD3DuiwNhSmOD8E7L+8A== X-Google-Smtp-Source: AA6agR62bt5xh1XHpA834wgOHYS1Ty9BP2C1qj+1h1sZ9Li7ZZ2XBFkX3/p8xH8Rzp5/M8u1D8Xi3A== X-Received: by 2002:a17:907:6e89:b0:73d:a846:c29e with SMTP id sh9-20020a1709076e8900b0073da846c29emr149976ejc.577.1661245417458; Tue, 23 Aug 2022 02:03:37 -0700 (PDT) Original-Received: from Mini.fritz.box (pd9e36133.dip0.t-ipconnect.de. [217.227.97.51]) by smtp.gmail.com with ESMTPSA id f17-20020aa7d851000000b0043bc4b28464sm1089659eds.34.2022.08.23.02.03.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Aug 2022 02:03:36 -0700 (PDT) In-Reply-To: <87lerf8kib.fsf@yahoo.com> (Po Lu's message of "Tue, 23 Aug 2022 15:52:12 +0800") 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:240508 Archived-At: 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-sc= roll-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 (576 = . 8) (15 . 16)) 1 0 (0.0 . 1.0))) command-execute(pixel-scroll-precision)