From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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 14:57:29 +0300 Message-ID: <83r117895i.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14999"; mail-complaints-to="usenet@ciao.gmane.io" 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:58:11 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 1oQSXq-0003js-Kq for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Aug 2022 13:58:10 +0200 Original-Received: from localhost ([::1]:37818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQSXp-0006nF-OT for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Aug 2022 07:58:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQSXi-0006ms-Qn for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2022 07:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53084) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQSXi-0005di-D5 for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2022 07:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQSXi-0000R6-1m for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2022 07:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Aug 2022 11:58:02 +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.16612558501638 (code B ref 57349); Tue, 23 Aug 2022 11:58:02 +0000 Original-Received: (at 57349) by debbugs.gnu.org; 23 Aug 2022 11:57:30 +0000 Original-Received: from localhost ([127.0.0.1]:42833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQSXC-0000QL-8R for submit@debbugs.gnu.org; Tue, 23 Aug 2022 07:57:30 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQSXA-0000Q6-8K for 57349@debbugs.gnu.org; Tue, 23 Aug 2022 07:57:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50944) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQSX5-0005aw-15; Tue, 23 Aug 2022 07:57:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=SeYRmgy2s3Wm8CoWzWW5973UOucPWhjtiEKphj25IkY=; b=nDgHlbHAel6Ugg+A8mae 6FxQ+qI6wBDH9xdbxiT43jNTCwZTnAj6CYHFc87lUB9QadmohLHD97/xDLu0zrz02Fv3mbPdPcat+ 17CL6fXgHAbWXbd9V51Y1HNbV6jO9jPBtFrt7c97htF/p3hesF74OpuMUB4sbxlTK3twjrvDY+jt3 g7lXRac4xxYQqQGgaEoBpSErKSILmUx+x8b6JKitzknFtNMc7vVpXbnsYKu0wja+o7pRFa/QVcV4q ObPUWZUapo398h5HF0ladFfhYsBlqXBrJ3OlShReSehmOtHnsPyHKxuY5nnWgT9moiDqsWoa0hmf1 o3Pgb28qSeoStw==; Original-Received: from [87.69.77.57] (port=1618 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQSX4-0005OS-HB; Tue, 23 Aug 2022 07:57:22 -0400 In-Reply-To: (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Tue, 23 Aug 2022 08:12:54 +0200) 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:240530 Archived-At: > From: Gerd Möllmann > Date: Tue, 23 Aug 2022 08:12:54 +0200 > > 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 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- (assuming that sequence is not bound to some command)? > 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.