From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: "Gerd Möllmann" <gerd.moellmann@gmail.com>
Cc: 57349@debbugs.gnu.org
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 [thread overview]
Message-ID: <871qt78akb.fsf@yahoo.com> (raw)
In-Reply-To: <m2czcr5o2g.fsf@Mini.fritz.box> ("Gerd Möllmann"'s message of "Tue, 23 Aug 2022 11:03:35 +0200")
Gerd Möllmann <gerd.moellmann@gmail.com> writes:
> Po Lu <luangruo@yahoo.com> writes:
>
>>
>> Gerd Möllmann <gerd.moellmann@gmail.com> 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
>>>
>>> <nil> <wheel-up> is undefined
>>> <nil> <double-wheel-up> is undefined
>>> <nil> <triple-wheel-up> is undefined [45 times]
>>> <nil> <wheel-down> 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 (#<window 4 on *Minibuf-0*> 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 (#<window 4 on *Minibuf-0*> 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)
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.
next prev parent reply other threads:[~2022-08-23 11:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-23 6:12 bug#57349: 29.0.50; pixel-scroll-precision-mode. error integer-or-marker-p nil Gerd Möllmann
2022-08-23 7:52 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-23 9:03 ` Gerd Möllmann
2022-08-23 11:27 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-08-23 12:17 ` Gerd Möllmann
2022-08-23 11:57 ` Eli Zaretskii
2022-08-23 12:15 ` Gerd Möllmann
2022-08-23 12:36 ` Gerd Möllmann
2022-08-23 12:46 ` Eli Zaretskii
2022-08-23 13:59 ` Gerd Möllmann
2022-08-23 12:36 ` Eli Zaretskii
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871qt78akb.fsf@yahoo.com \
--to=bug-gnu-emacs@gnu.org \
--cc=57349@debbugs.gnu.org \
--cc=gerd.moellmann@gmail.com \
--cc=luangruo@yahoo.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).