From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#59785: 30.0.50; mouse-2 > (wrong-type-argument listp #) Date: Sat, 03 Dec 2022 19:54:04 +0100 Message-ID: <87bkokl3n7.fsf@web.de> 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> <9C75CDAA-F4CF-45A0-9CA4-C9767E4ECE1D@gnu.org> <87mt84pfld.fsf@web.de> <83tu2ccqlc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12316"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 59785@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 03 19:55:27 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 1p1Xfb-00030v-0S for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Dec 2022 19:55:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1XfH-0000xE-6i; Sat, 03 Dec 2022 13:55:07 -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 1p1XfC-0000vz-OY for bug-gnu-emacs@gnu.org; Sat, 03 Dec 2022 13:55:03 -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 1p1XfC-0001cW-7v for bug-gnu-emacs@gnu.org; Sat, 03 Dec 2022 13:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p1XfC-00005F-3k for bug-gnu-emacs@gnu.org; Sat, 03 Dec 2022 13:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Dec 2022 18:55: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.1670093655304 (code B ref 59785); Sat, 03 Dec 2022 18:55:02 +0000 Original-Received: (at 59785) by debbugs.gnu.org; 3 Dec 2022 18:54:15 +0000 Original-Received: from localhost ([127.0.0.1]:52776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1XeQ-0008WT-J6 for submit@debbugs.gnu.org; Sat, 03 Dec 2022 13:54:15 -0500 Original-Received: from mout.web.de ([212.227.15.3]:39101) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1XeN-0008WN-O4 for 59785@debbugs.gnu.org; Sat, 03 Dec 2022 13:54:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1670093645; bh=PBjv7vr5i28D1riTC/3bdxWTAU/2H0ptl6auOgMSxTs=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=vDuYDhhkxKraJ7jAT02vspkNVCxy/TKpN7at8i+4XksNe692ICvhyl5JFjfdmBX3R oM/4TwugsHDWWKe07mIYOI8X9hnzNrGDFIZfWxtoULFpWpKAHqnCTVSsZ199sy7lgx 2f75UdTaABx2Ym7NEVNRmSJhTxUpg/w01uZq7pvhi+NjfPnJg0qnq1hs/VRupkvQ1I HXqDYAZCuW7ClSw0hq8UGTLvClDpukrigPHvNooxjXgo5/OxyRYMaX7n8UKpQF42cH xqtmT5zWYQoAzlfJo6fwIDxGrvZXG2SIta/VrJLt5Rr/0ph7cLYMPUvv3U2YLkjNWn 01InVY3hP4Vlg== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from drachen.dragon ([92.76.229.140]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MeUbo-1oTJMH0drI-00aSbh; Sat, 03 Dec 2022 19:54:05 +0100 In-Reply-To: <83tu2ccqlc.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 03 Dec 2022 20:03:11 +0200") X-Provags-ID: V03:K1:kuI7fQTAqJi15zqkGkL1aSTStphR73CyPJEoDjKGspKQmR6Jbrl j1ZXLcNgUAbSK0nsxTb3i+8BcYcvqtUimlBPhNIlwv3iQ8LVZ4o00HDl+b1lpgcRd3ADE5K NCx67tlSmsW1Ege8iL5Mc8Lel3PEDvXBNvUfwJAUJQCpCsKrD8g34FXK0vhyAzxm9Ub9DB+ S+fvRxifEoTOPMpalO/Jw== UI-OutboundReport: notjunk:1;M01:P0:9urwV+VzB4A=;kE8sx5ncqEKSwdfQoP8iF67yhxd GZla2kKDRG2nfOfFkJodP3A/e17zLkHV8IXYPDpcVMjPBtyDj+eK8TDucLiDQkvfydd3Nuli9 RXjxsijhf8dzq5YG0G6sHtnh2uY/tdtbic6015XOoJgHq1mbhvPoddwtzMfHalOGbAWw6kFj7 Xbg/Kln4CW7yJW9m3T4ETq1578k3WeLdnn4yWYihwgQFuEYUS09KegldGFj4/7wI4KydGrvQr T2ERidEIxKZmLhFfFccfK4UDN5vohE+DbQuhHqNYCL+us+E8ENyp+8SckDm/8e7rZ+MqOsSHp m+/LudrtMWP5WLfo0m2uXenSdreOq6ONTC78T7B8IqArJO1aTmqPb+Y4ztlbEHLGS6oQlsqmu 1oT7SoGvQPDLcA3jeEtT2R+irrZLkr7iQs9Fq85YWtvkfRndFFRlqgseOQgFJ2LKQ+NxHdNJq k6UznNKKo2vKVF4uIJ8fP1DF1V8ohSPtbEw/tLjbq8wECAJLcz/NvMRUMtd6svuYk7B4Wmqn6 rRk86d0l1Fd7I2wAOTK4qfC95P/tGKr+0QT8u5nu4nFjkOFFqWvMdiF43KmXrdl6zpiHvAIdF apMTE66dQKXuVjWBluDmspu5vFCzS4XPRX8QmRYcMSRlbIuwGT6ek0vw2QCBqkSW+n0TLj1uU RO3PMl+t+kKKQnOlSQS9ebevuy2RC3qn448boXI5CVM72b9WczXN9c0xxkUgPLtRGOFDZehPO A2o8eOulf1tNr6SUDdDav6slra24T2ftmzw8ewiCF4RfEsD/rT/cj/tZoqe0jbhHLaNltZ+b 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:249868 Archived-At: Eli Zaretskii writes: > I still don't think I have the answer to my question: was the backtrace > exactly the same with the patch I sent, or was it different? I'm asking > about the org-capture case, not about the "C-h k" case. It is important = for > me to know whether the patch I sent solves part of the problem or nothing= at > all. You should have been clearer what case you are interested in. But I answered it: no difference. The backtraces look exactly the same, apart from details (depending on where I clicked). AFAIU, in the case of the error your change doesn't make a difference because the argument is a frame, not a window (last call below, these are all calls to the function done in one reproduction of the recipe): | 1 -> (posn-col-row (# 419 ... 31213232 nil 419 .= .. nil ... ...)) 19:48:18.661 | (mouse-drag-drag (down-mouse-2 (# 419 (478 . 1= 58) 31213232 nil 419 (34 . 5) nil (2 . 18) (14 . 28)))) | (command-execute mouse-drag-drag) | (my-read-string--default-in-prompt-around-ad # "Date+= time [2022-12-03]: " nil org-read-date-history nil) | (org-read-date nil t nil nil) | (org-capture-fill-template) | (my-org-capture--around-ad #f(compiled-function (&optional goto keys) "= Capture something.\n\\\nThis will let you select a te= mplate from `org-capture-templates', and\nthen file the newly captured info= rmation. The text is immediately\ninserted at the target location, and an = indirect buffer is shown where\nyou can edit it. Pressing `\\[org-capture-= finalize]' brings you back to the previous\nstate of Emacs, so that you can= continue your work.\n\nWhen called interactively with a `\\[universal-argu= ment]' prefix argument GOTO, don't\ncapture anything, just go to the file/h= eadline where the selected\ntemplate stores its notes.\n\nWith a `\\[univer= sal-argument] \\[universal-argument]' prefix argument, go to the last note = stored.\n\nWhen called with a `C-0' (zero) prefix, insert a template at poi= nt.\n\nWhen called with a `C-1' (one) prefix, force prompting for a date wh= en\na datetree entry is made.\n\nELisp programs can set KEYS to a string as= sociated with a template\nin `org-capture-templates'. In this case, intera= ctive selection\nwill be bypassed.\n\nIf `org-capture-use-agenda-date' is n= on-nil, capturing from the\nagenda will use the date at point as the defaul= t date. Then, a\n`C-1' prefix will tell the capture process to use the HH:= MM time\nof the day at point (if any) or the current HH:MM time." (interact= ive "P") #) nil) | (org-capture nil) | (command-execute org-capture) | 1 <- posn-col-row: (34 . 5) | 1 -> (posn-col-row (# 419 ... 31213232 nil 419 .= .. nil ... ...)) 19:48:19.087 | (mouse-drag-drag (down-mouse-2 (# 419 (478 . 1= 58) 31213232 nil 419 (34 . 5) nil (2 . 18) (14 . 28)))) | (command-execute mouse-drag-drag) | (my-read-string--default-in-prompt-around-ad # "Date+= time [2022-12-03]: " nil org-read-date-history nil) | (org-read-date nil t nil nil) | (org-capture-fill-template) | (my-org-capture--around-ad #f(compiled-function (&optional goto keys) "= Capture something.\n\\\nThis will let you select a te= mplate from `org-capture-templates', and\nthen file the newly captured info= rmation. The text is immediately\ninserted at the target location, and an = indirect buffer is shown where\nyou can edit it. Pressing `\\[org-capture-= finalize]' brings you back to the previous\nstate of Emacs, so that you can= continue your work.\n\nWhen called interactively with a `\\[universal-argu= ment]' prefix argument GOTO, don't\ncapture anything, just go to the file/h= eadline where the selected\ntemplate stores its notes.\n\nWith a `\\[univer= sal-argument] \\[universal-argument]' prefix argument, go to the last note = stored.\n\nWhen called with a `C-0' (zero) prefix, insert a template at poi= nt.\n\nWhen called with a `C-1' (one) prefix, force prompting for a date wh= en\na datetree entry is made.\n\nELisp programs can set KEYS to a string as= sociated with a template\nin `org-capture-templates'. In this case, intera= ctive selection\nwill be bypassed.\n\nIf `org-capture-use-agenda-date' is n= on-nil, capturing from the\nagenda will use the date at point as the defaul= t date. Then, a\n`C-1' prefix will tell the capture process to use the HH:= MM time\nof the day at point (if any) or the current HH:MM time." (interact= ive "P") #) nil) | (org-capture nil) | (command-execute org-capture) | 1 <- posn-col-row: (34 . 5) | 1 -> (posn-col-row #) 19:48:19.161 | (mouse-drag-drag (down-mouse-2 (# 419 (478 . 1= 58) 31213232 nil 419 (34 . 5) nil (2 . 18) (14 . 28)))) | (command-execute mouse-drag-drag) | (my-read-string--default-in-prompt-around-ad # "Date+= time [2022-12-03]: " nil org-read-date-history nil) | (org-read-date nil t nil nil) | (org-capture-fill-template) | (my-org-capture--around-ad #f(compiled-function (&optional goto keys) "= Capture something.\n\\\nThis will let you select a te= mplate from `org-capture-templates', and\nthen file the newly captured info= rmation. The text is immediately\ninserted at the target location, and an = indirect buffer is shown where\nyou can edit it. Pressing `\\[org-capture-= finalize]' brings you back to the previous\nstate of Emacs, so that you can= continue your work.\n\nWhen called interactively with a `\\[universal-argu= ment]' prefix argument GOTO, don't\ncapture anything, just go to the file/h= eadline where the selected\ntemplate stores its notes.\n\nWith a `\\[univer= sal-argument] \\[universal-argument]' prefix argument, go to the last note = stored.\n\nWhen called with a `C-0' (zero) prefix, insert a template at poi= nt.\n\nWhen called with a `C-1' (one) prefix, force prompting for a date wh= en\na datetree entry is made.\n\nELisp programs can set KEYS to a string as= sociated with a template\nin `org-capture-templates'. In this case, intera= ctive selection\nwill be bypassed.\n\nIf `org-capture-use-agenda-date' is n= on-nil, capturing from the\nagenda will use the date at point as the defaul= t date. Then, a\n`C-1' prefix will tell the capture process to use the HH:= MM time\nof the day at point (if any) or the current HH:MM time." (interact= ive "P") #) nil) | (org-capture nil) | (command-execute org-capture) | 1 <- posn-col-row: !non-local\ exit! Michael.