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#59785: 30.0.50; mouse-2 > (wrong-type-argument listp #) Date: Sat, 03 Dec 2022 17:15:21 +0200 Message-ID: <9C75CDAA-F4CF-45A0-9CA4-C9767E4ECE1D@gnu.org> References: <877cz9sje8.fsf@web.de> <83y1rpeg4q.fsf@gnu.org> <83wn79eftm.fsf@gnu.org> <874jucr95p.fsf@web.de> <87zgc4pubh.fsf@web.de> <83359wegvc.fsf@gnu.org> <87r0xgplti.fsf@web.de> 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="4285"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android Cc: 59785@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 03 16:16:24 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 1p1UFb-0000yX-U1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Dec 2022 16:16:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1UFJ-0008Da-90; Sat, 03 Dec 2022 10:16:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1UFG-0008DJ-Nx for bug-gnu-emacs@gnu.org; Sat, 03 Dec 2022 10:16:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p1UFG-0000zp-Fz for bug-gnu-emacs@gnu.org; Sat, 03 Dec 2022 10:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p1UFG-0004H2-5t for bug-gnu-emacs@gnu.org; Sat, 03 Dec 2022 10:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Dec 2022 15:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59785 X-GNU-PR-Package: emacs Original-Received: via spool by 59785-submit@debbugs.gnu.org id=B59785.167008053616410 (code B ref 59785); Sat, 03 Dec 2022 15:16:02 +0000 Original-Received: (at 59785) by debbugs.gnu.org; 3 Dec 2022 15:15:36 +0000 Original-Received: from localhost ([127.0.0.1]:51845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1UEq-0004Gc-3P for submit@debbugs.gnu.org; Sat, 03 Dec 2022 10:15:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1UEn-0004GV-5C for 59785@debbugs.gnu.org; Sat, 03 Dec 2022 10:15:34 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1UEh-0008Lv-Rn; Sat, 03 Dec 2022 10:15:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Subject:To:From: Date; bh=qevBfwUvNsIQDGZh03NpgLsC2rBwgdQRx/ntOqyfU3A=; b=Z5eUsb1Eb/Qzgy+RPgr8 VVHsMcHgmBolOXO7dKwuDa18rMh3Hus16nFxu5N9dXZqnUwTBxaL2kcdrgNl+OAFOStJ1j6/svuOd WMBhgODiNzKm6l+HwRcXEUghgbWTFld4sR2G6409E4XnqOkjGBqccMwjAH47DU3Vv6AHQYewB9uje 68NBIvN/mn4dQSPR1WM/sRi4kP/pUwQa8ysAfGBkAWiCmkWIGk7ogfNVtsH9WsLOSQnhxKDmZzAyo XFwwppC2KZlD5QaNgzE3e5RF49cGY5woEeqtgacxQ7zKg7U5RcClQaBXQ0gmdzdd1OzO29nWd53zA oHXHOGowl1R9hQ==; Original-Received: from [2a0d:6fc2:4de0:4000:d0d7:f3d8:ae2c:a0f4] (helo=[IPv6:::1]) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p1UEe-0002yP-Va; Sat, 03 Dec 2022 10:15:25 -0500 In-Reply-To: <87r0xgplti.fsf@web.de> Autocrypt: addr=eliz@gnu.org; keydata= mQENBF+pf4UBCAC6vjkWLSAsQpe8YIGKLQzNOJx/IjGtCdFF8uzmO5jmME+SD8ROuJN+t5KXVw58 uzu75EFD0vHTY9e+udJ2gkpuy0NnzkFcbumdLLo2ERKCoSctZZRhzKXI5z5cHxCqW0B2ygHRrRLt oNlGID7bAgcgSViT1ptGqTXO7zGVu4Airok7dNzcPtHgns8GlR5YAFX0TvE6oGd0l2VPghNeVJKJ OjrbfhoDxl3ucFpqbqMH8z9HTLDOFpz8UaYYUdJMi3xX6vwTZxI2sM2RRVLUpZyllAkSMI4lln1O OgazM/62DJUs/rKIHKBnF6h3/qsJUjUYXaAHbrXY26mWllAd536lABEBAAG0I0VsaSBaYXJldHNr aWkgKGVsaXopIDxlbGl6QGdudS5vcmc+iQE4BBMBAgAiBQJfqX+FAhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgAAKCRCRwSYvAeuNOYUQB/4/iIKKOG45ijNaRoTvmJJZMvj1S07WQxEm7c5SHEeE QbLOAxB9vESOV7sLueuN3oqEndtzyYt4x1WTSBmHFF7h5fcCMjBs41siOIp5Sj/xD0Bvaa0IKGCR SZ7PAo8Mq3wgajXpTpn9vxE2PmtzA8KdEE0K1+f9pVAfOpUIcCl44rIxLUW352XG0y7iz6c/O6LB 1deOKMiKFctKO7pBti1dJEm1ImewLH3H8uTbwspLOs3EB8xhsESxmTidnze68HX2jt+2EeMgCdki NU+LWbexQZPfIS7+ZmE06ll0v6+Jy7ZdTkCCRypKWTnW7pIFsq/p4kybV8O/kHSV6B4vvQBfuQEN BF 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:249848 Archived-At: On December 3, 2022 5:07:53 PM GMT+02:00, Michael Heerdegen wrote: > Eli Zaretskii writes: >=20 > > Does the below fix this problem, per chance? > > > > diff --git a/lisp/subr=2Eel b/lisp/subr=2Eel > > index 21f4309=2E=2Edc219a4 100644 > > --- a/lisp/subr=2Eel > > +++ b/lisp/subr=2Eel > > @@ -1729,7 +1729,7 @@ posn-col-row > > ((eq area 'horizontal-scroll-bar) > > (cons (scroll-bar-scale pair (window-width window)) 0)) > > (t > > - (if use-window > > + (if (and (windowp frame-or-window) use-window) > > (cons (/ (car pair) (window-font-width window)) > > (/ (cdr pair) (window-font-height window))) > > ;; FIXME: This should take line-spacing properties on >=20 > Half: it improves the behavior but I still get the error=2E The > improvement is that I can successfully select a date in the calendar > despite the error - that was not possible without that change=2E So I > guess the error now happens at some other place, and this was not the > root, or not the only root=2E >=20 > I also tested this: >=20 > modified lisp/mouse-drag=2Eel > @@ -287,8 +287,10 @@ mouse-drag-drag > (while (progn > (setq event (read--potential-mouse-event) > end (event-end event) > - row (cdr (posn-col-row end)) > - col (car (posn-col-row end))) > + row (and (not (eq (car-safe event) 'switch-frame)) > + (cdr (posn-col-row end))) > + col (and (not (eq (car-safe event) 'switch-frame)) > + (car (posn-col-row end)))) > (or (mouse-movement-p event) > (eq (car-safe event) 'switch-frame))) > ;; Scroll if see if we're on the edge=2E >=20 > It actually had the exact same effect=2E >=20 > Michael=2E >=20 Do you get the exact same error and the same backtrace? If the backtrace = is different, please post it=2E Thanks=2E