GNU bug report logs - #57349
29.0.50; pixel-scroll-precision-mode. error integer-or-marker-p nil

Previous Next

Package: emacs;

Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Date: Tue, 23 Aug 2022 06:14:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 57349 <at> debbugs.gnu.org
Subject: bug#57349: 29.0.50; pixel-scroll-precision-mode. error integer-or-marker-p nil
Date: Tue, 23 Aug 2022 14:15:59 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> <nil> <wheel-down> is undefined
>
> It may surprise this, but why do you think this is a problem?  How is
> it different from what happens if you do this, for example:
>
>   C-M-<F10>
>
> (assuming that sequence is not bound to some command)?

I mentioned it only because I thought it might have been relevant in
some way.  One never knows.

>> or sometimes errors 'Wrong type argument: integer-or-marker-p, nil'.
>
> This shouldn't happen, indeed.
>
>> 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?
>
> Either this should be fixed, or the code should be prepared for nil in
> this case.

Yup.

I could add a check in the function that does the (goto-char nil), but I
don't know if that would be only fixing a symptom of something else.




This bug report was last modified 2 years and 274 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.