From unknown Sun Jun 22 17:16:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66192: 30.0.50; lisp/buttons.el (push-button) fails to handle the action on gui emacs Resent-From: Madhu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Sep 2023 15:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66192 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 66192@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169565467527163 (code B ref -1); Mon, 25 Sep 2023 15:12:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Sep 2023 15:11:15 +0000 Received: from localhost ([127.0.0.1]:46435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qknEx-000743-01 for submit@debbugs.gnu.org; Mon, 25 Sep 2023 11:11:15 -0400 Received: from lists.gnu.org ([2001:470:142::17]:41402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qknEt-00073j-FA for submit@debbugs.gnu.org; Mon, 25 Sep 2023 11:11:13 -0400 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 1qknEZ-0008Vp-My for bug-gnu-emacs@gnu.org; Mon, 25 Sep 2023 11:10:51 -0400 Received: from smtp0.ctinetworks.com ([205.166.61.207]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qknEY-0005NZ-3z for bug-gnu-emacs@gnu.org; Mon, 25 Sep 2023 11:10:51 -0400 Received: from localhost (unknown [117.254.36.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: enometh@meer.net) by smtp0.ctinetworks.com (Postfix) with ESMTPSA id 90AB8306F0B3 for ; Mon, 25 Sep 2023 11:10:43 -0400 (EDT) Date: Mon, 25 Sep 2023 20:40:20 +0530 (IST) Message-Id: <20230925.204020.1677927434335496083.enometh@meer.net> From: Madhu X-Mailer: Mew version 6.9 on Emacs 30.0.50 Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Mon_Sep_25_20_40_20_2023_168)--" Content-Transfer-Encoding: 7bit X-ctinetworks-Information: Please contact the ISP for more information X-ctinetworks-MailScanner-ID: 90AB8306F0B3.A76F3 X-ctinetworks-VirusCheck: Found to be clean X-ctinetworks-SpamCheck: X-ctinetworks-Watermark: 1696518646.27448@OvXlujjgb5JVXVjgtgWPxQ Received-SPF: pass client-ip=205.166.61.207; envelope-from=enometh@meer.net; helo=smtp0.ctinetworks.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * commit a496509cedb17109d0e6297a74e2ff8ed526333c |Commit: Po Lu |CommitDate: Thu Jan 19 22:19:06 2023 +0800 Introduced a change to lisp/button.el:(push-button) which causes the following recipe to fail. Consider a buffer with the following contents: Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=enometh%40meer.net; ip=2001%3A470%3A142%3A%3A17; r=debbugs.gnu.org] 1.5 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [117.254.36.73 listed in dnsbl.sorbs.net] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * commit a496509cedb17109d0e6297a74e2ff8ed526333c |Commit: Po Lu |CommitDate: Thu Jan 19 22:19:06 2023 +0800 Introduced a change to lisp/button.el:(push-button) which causes the following recipe to fail. Consider a buffer with the following contents: Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.5 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [117.254.36.73 listed in dnsbl.sorbs.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=enometh%40meer.net;ip=2001%3A470%3A142%3A%3A17;r=debbugs.gnu.org] -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager ----Next_Part(Mon_Sep_25_20_40_20_2023_168)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit * commit a496509cedb17109d0e6297a74e2ff8ed526333c |Commit: Po Lu |CommitDate: Thu Jan 19 22:19:06 2023 +0800 Introduced a change to lisp/button.el:(push-button) which causes the following recipe to fail. Consider a buffer with the following contents: ``` ;;text-button (defvar-keymap my-button-map :parent button-map "" 'push-button) (setq $but (make-text-button 1 10 'action #'(lambda(b) (message "push-button %S" b)) 'keymap my-button-map)) ``` evaluating the buffer sets up a text button in the first line. In a gui emacs Hitting RET on the button fails with an error: "push-button: Wrong type argument: listp, return". The following patch fixes it for me but maybe there is some other issue? ----Next_Part(Mon_Sep_25_20_40_20_2023_168)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="0001-lisp-button.el-push-button-handle-kbd-return.patch" >From e69be9cf0af72c5fcda8cda05b50a556741009b2 Mon Sep 17 00:00:00 2001 From: Madhu Date: Mon, 25 Sep 2023 20:20:05 +0530 Subject: [PATCH] lisp/button.el: (push-button): handle kbd --- lisp/button.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/button.el b/lisp/button.el index b01595943fc..0e98ec722d9 100644 --- a/lisp/button.el +++ b/lisp/button.el @@ -492,7 +492,7 @@ push-button (if str-button ;; mode-line, header-line, or display string event. (button-activate str t) - (if (eq (car pos) 'touchscreen-down) + (if (and (listp pos) (eq (car pos) 'touchscreen-down)) ;; If touch-screen-track tap returns nil, then the ;; tap was cancelled. (when (touch-screen-track-tap pos) -- 2.39.2.101.g768bb238c4 ----Next_Part(Mon_Sep_25_20_40_20_2023_168)---- From unknown Sun Jun 22 17:16:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66192: 30.0.50; lisp/buttons.el (push-button) fails to handle the action on gui emacs Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Sep 2023 00:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66192 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Madhu Cc: 66192@debbugs.gnu.org Received: via spool by 66192-submit@debbugs.gnu.org id=B66192.169568946524438 (code B ref 66192); Tue, 26 Sep 2023 00:52:01 +0000 Received: (at 66192) by debbugs.gnu.org; 26 Sep 2023 00:51:05 +0000 Received: from localhost ([127.0.0.1]:46921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkwI5-0006M6-1p for submit@debbugs.gnu.org; Mon, 25 Sep 2023 20:51:05 -0400 Received: from sonic307-10.consmr.mail.ne1.yahoo.com ([66.163.190.33]:42711) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkwI1-0006La-Nx for 66192@debbugs.gnu.org; Mon, 25 Sep 2023 20:51:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695689442; bh=0Oq7G2D5TipgiBtRD2bQ4w6aVwOam3Df+qAnuz5fcsU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=Exs1+CuzSAsOy9nJJIgT7ckZmAHSHWyQwH5ElZhO/P5nyjNa1ZPRTdcErxP3oo2iRxfmuc2WtPXYFcnyssLEm2NDyIymgLQWjdXJWj2m6wc+opK+Mds7wZaaPhqX4aQ6/qMd3XpIocyQjPn8LEx0yDgkbGt1nWachYWnF0MQ3BVhnm3mEoVIPucY/Ht9mOqmSDULplLJpwIXYQQ6pMC8E97sH15FvggEtzCoS5m2mFXQvrUwqEtiDI0mqtnOd3B/M1VYFypA48gLBUQHa8He1Ow/x1ZR5gCAMcG137IZ2xFmxw8EwKysrvqBxoYkVFDh98YitJvu2wa/93uvyUh7Dw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695689442; bh=Pp6VjgaL6A/nxGr5ArITs5fas3Cz2/qoGxmHdylAeqo=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=KNIlihmoFkrE6Bo9AGviSAB0VjnB+iE7J/5/bb9L/+nn3drzxgv2W5OQqqpx5BLNWyVVAVcTtPhRvwNoxFofCZ0NUiGbdNaNjGM5LtvqwBytTmNEOf0+I5skxfsniqdOyyfEvtLAeXIQ60UvsziWX4fswi5TIF7zYVWKdevJrT7XJE52zdjNlSCrN4Vse/6GakXBwQtNrnU9bh41irV2oG9A/fkYzwAPCMUmngAYrrWSifvv0ClVDvC/ygppfKoXbbyixDmGywW0tSCFRF6Rd7AhgAxazCo7mKi+3Ryw8IDR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3o6.cpceU6 s5qedZ5vEKBaFX.wrnZm261Y2LeB62KIUMAL0AUl6etwa9yEhSZlJ14IXPcgl26V4CTOjpyJ1mqH 0PQxQwnJ.cEfooJ.FQdVbvq_KzFhQdHEor0AQwoU_lZgbC5bVlY2R9PLLc152f6j06HDxXV.CCka d7r0xgzAWlT5AGRtOnomhREBtrdHu44bVTZdBKPU.VX5M4sYFSrKX7rWLW_9.60A- X-Sonic-MF: X-Sonic-ID: 0622abb7-efdd-40e4-a78e-1876d7174efc Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Tue, 26 Sep 2023 00:50:42 +0000 Received: by hermes--production-sg3-55c667b499-wx5qv (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 91ca706f99ae7943252133a8e45a4e14; Tue, 26 Sep 2023 00:50:34 +0000 (UTC) From: Po Lu In-Reply-To: <20230925.204020.1677927434335496083.enometh@meer.net> (Madhu's message of "Mon, 25 Sep 2023 20:40:20 +0530 (IST)") References: <20230925.204020.1677927434335496083.enometh@meer.net> Date: Tue, 26 Sep 2023 08:50:28 +0800 Message-ID: <87jzsdoizv.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.21797 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1775 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Madhu writes: > * commit a496509cedb17109d0e6297a74e2ff8ed526333c > |Commit: Po Lu > |CommitDate: Thu Jan 19 22:19:06 2023 +0800 > > Introduced a change to lisp/button.el:(push-button) which causes the > following recipe to fail. Consider a buffer with the following > contents: > > ``` > ;;text-button > > (defvar-keymap my-button-map :parent button-map "" 'push-button) > (setq $but (make-text-button 1 10 > 'action #'(lambda(b) (message "push-button %S" b)) > 'keymap my-button-map)) > ``` > > evaluating the buffer sets up a text button in the first line. In a gui > emacs Hitting RET on the button fails with an error: > "push-button: Wrong type argument: listp, return". > > The following patch fixes it for me but maybe there is some other issue? > >>>From e69be9cf0af72c5fcda8cda05b50a556741009b2 Mon Sep 17 00:00:00 2001 > From: Madhu > Date: Mon, 25 Sep 2023 20:20:05 +0530 > Subject: [PATCH] lisp/button.el: (push-button): handle kbd > > --- > lisp/button.el | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lisp/button.el b/lisp/button.el > index b01595943fc..0e98ec722d9 100644 > --- a/lisp/button.el > +++ b/lisp/button.el > @@ -492,7 +492,7 @@ push-button > (if str-button > ;; mode-line, header-line, or display string event. > (button-activate str t) > - (if (eq (car pos) 'touchscreen-down) > + (if (and (listp pos) (eq (car pos) 'touchscreen-down)) > ;; If touch-screen-track tap returns nil, then the > ;; tap was cancelled. > (when (touch-screen-track-tap pos) Thanks, but I elected to fix this differently. Please test. From unknown Sun Jun 22 17:16:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66192: 30.0.50; lisp/buttons.el (push-button) fails to handle the action on gui emacs Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Sep 2023 00:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66192 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Madhu Cc: 66192@debbugs.gnu.org Received: via spool by 66192-submit@debbugs.gnu.org id=B66192.169568956924593 (code B ref 66192); Tue, 26 Sep 2023 00:53:02 +0000 Received: (at 66192) by debbugs.gnu.org; 26 Sep 2023 00:52:49 +0000 Received: from localhost ([127.0.0.1]:46926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkwJl-0006Ob-Ft for submit@debbugs.gnu.org; Mon, 25 Sep 2023 20:52:49 -0400 Received: from sonic308-10.consmr.mail.ne1.yahoo.com ([66.163.187.33]:33982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkwJi-0006OM-2Z for 66192@debbugs.gnu.org; Mon, 25 Sep 2023 20:52:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695689546; bh=lKmNpdP2PfaMkYKuIpCpLemLTkRnIwb3SWXsfYtUUGY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=sXkOGeL4j7kaOisX3SLbgeCTJQpg+bDB8zNu2mCAZERTDV1ybBjM5stNTC249XTJuCPpy/BhOaq2Yn0EV5bdPmTEeKhABEmdZSJQppjPWckhycZRGmhbZwI4Mk+YtDaiUNtM84Mv3+FKCdFryg2D8WFD+27JksFcgy4/Gt+E6v0gtcFC9ElbBoJ+winrb78MGWvm3N4lD1Bb0W9ABSc1wT+3qJzrf10hLE7HrVTcWhXGhjF03hM1HYaWi2K0Yp45Y9UqH9EcdFOH9/XsF9t/7GkmZhXOVDx66Z1YaQrlShTbk4b7d9HtYHq5jk8uArBE4Sgey6uSYKw1zTEUJu6F1A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695689546; bh=2fq6/4YIEGwvrDB5eKf5pumjh3RILSbzfVDFzSy3tA3=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=PPp+7RfH6/Aj5DwR+dNpx/ChHy8Bdl81rAD10i262oL1BGo0cB57dk8lA7CJiW3ixXfcPkGvF2BqyzOojVbtUaAsvxAzymJpgRqCWz+/fJ3zvHtNRZ2/WPMdrc/tiJUzcA3krfDZtuFzmvmQUGVIC+KQDhmf2D7jELDcGRuiOmtvC66ZWnA7sBQ7jqdM7Tt2foi/IZ4I8htfGlx+1kjWntXYWnG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jPaxs.ohA1Zxsf0u3MzclSZgF.QoHrRQ.j GzC_jtYRMXfTimR4M_1iAVdIZsNFQP8CulaC3lgZmORED_t_RUvsqNUUmGnSmETAn7zF4pptOssO E_cPL8zNM71jV.gO3KdB0sbAriJTiwjZPVjxuYDhv23JGHrgJIPywGTItx3ZRauq.koM9VhQ.knf itqRo8E0acua8YPaMrgSWNiZyVwmQMzW1kd8ZUzpfJjCukV4UYwgifPgOZO8GzZeE.lVuGFeSkT6 PxYitJ.Q7x0R74Tb_MiRJf2si0wQAtcScbWDT1qu7qsW1MIM5Nvxsx4mSetiH.RC63Uhp X-Sonic-MF: X-Sonic-ID: 20b17c28-d700-421a-af40-0005fc6f761b Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Tue, 26 Sep 2023 00:52:26 +0000 Received: by hermes--production-sg3-55c667b499-p8t8q (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID e8cf9d4da0ca9771509b6a8ea22f1f5e; Tue, 26 Sep 2023 00:52:22 +0000 (UTC) From: Po Lu In-Reply-To: <20230925.204020.1677927434335496083.enometh@meer.net> (Madhu's message of "Mon, 25 Sep 2023 20:40:20 +0530 (IST)") References: <20230925.204020.1677927434335496083.enometh@meer.net> Date: Tue, 26 Sep 2023 08:52:16 +0800 Message-ID: <87fs31oiwv.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.21797 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 115 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Please disregard my previous response. Your Emacs appears to be out of date, given that this was fixed in August. From unknown Sun Jun 22 17:16:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#66192: 30.0.50; lisp/buttons.el (push-button) fails to handle the action on gui emacs Resent-From: Madhu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Sep 2023 01:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66192 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: luangruo@yahoo.com Cc: 66192@debbugs.gnu.org Received: via spool by 66192-submit@debbugs.gnu.org id=B66192.169569219828907 (code B ref 66192); Tue, 26 Sep 2023 01:37:01 +0000 Received: (at 66192) by debbugs.gnu.org; 26 Sep 2023 01:36:38 +0000 Received: from localhost ([127.0.0.1]:46941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkx07-0007W9-KU for submit@debbugs.gnu.org; Mon, 25 Sep 2023 21:36:38 -0400 Received: from smtp0.ctinetworks.com ([205.166.61.207]:40876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qkwzr-0007VX-P5 for 66192@debbugs.gnu.org; Mon, 25 Sep 2023 21:36:34 -0400 Received: from localhost (unknown [117.254.36.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: enometh@meer.net) by smtp0.ctinetworks.com (Postfix) with ESMTPSA id 770F5306F0B3; Mon, 25 Sep 2023 21:35:56 -0400 (EDT) Date: Tue, 26 Sep 2023 07:05:41 +0530 (IST) Message-Id: <20230926.070541.631509878279205863.enometh@meer.net> From: Madhu In-Reply-To: <87fs31oiwv.fsf@yahoo.com> References: <20230925.204020.1677927434335496083.enometh@meer.net> <87fs31oiwv.fsf@yahoo.com> X-Mailer: Mew version 6.9 on Emacs 30.0.50 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ctinetworks-Information: Please contact the ISP for more information X-ctinetworks-MailScanner-ID: 770F5306F0B3.A5024 X-ctinetworks-VirusCheck: Found to be clean X-ctinetworks-SpamCheck: X-ctinetworks-Watermark: 1696556161.4425@JE5Tt+MRUPkuWlAKV16dxQ X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) Yes it's fixed, please close. I did do go through the motions of doing a "git fetch" and "git log origin/master -- lisp/button.el" to see if it had been fixed before posting the report, but bungled it up. From unknown Sun Jun 22 17:16:31 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Madhu Subject: bug#66192: closed (Re: bug#66192: 30.0.50; lisp/buttons.el (push-button) fails to handle the action on gui emacs) Message-ID: References: <20230925.204020.1677927434335496083.enometh@meer.net> X-Gnu-PR-Message: they-closed 66192 X-Gnu-PR-Package: emacs Reply-To: 66192@debbugs.gnu.org Date: Tue, 26 Sep 2023 11:39:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1695728342-27670-1" This is a multi-part message in MIME format... ------------=_1695728342-27670-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #66192: 30.0.50; lisp/buttons.el (push-button) fails to handle the = action on gui emacs which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 66192@debbugs.gnu.org. --=20 66192: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D66192 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1695728342-27670-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 66192-done) by debbugs.gnu.org; 26 Sep 2023 11:38:26 +0000 Received: from localhost ([127.0.0.1]:47480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ql6OY-0007BJ-Dv for submit@debbugs.gnu.org; Tue, 26 Sep 2023 07:38:26 -0400 Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]:57792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ql6OW-0007B4-JK for 66192-done@debbugs.gnu.org; Tue, 26 Sep 2023 07:38:25 -0400 Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2bfea381255so145465421fa.3 for <66192-done@debbugs.gnu.org>; Tue, 26 Sep 2023 04:38:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695728285; x=1696333085; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=uDAblGKlTbUbZdgGdo0fj1UoZoe1mcjucPCSk6uuOhc=; b=eXlKli4v50yyCSKHEcWpvvfYy4DBKWaciYGk5w6o5WzeDQ19Ygke968BmQNF0FHcSM 7nBNLWlh+Il+1dLtaNTEbkMGGHeaZlXFQ92rkuPJ75RmDhSZXHulbUGP6bhPOchhUQ92 Us66hIyVVGSkEDFPVTIpOq+bWrXd1kwlW4STz4xdJ47cpZmyxz/E6snHktvlXtk+sjtA Lk6Bh6ysP1sos6hRgi2+ECdgP2/SGqFyHrET2XTyy0da/CC6nv1vxD/Y9UxLgNl/YzLV lAFRLRUXQFmW+YlbCBTNM5OIyAoFXUPU+3yygYjkQaus0Bi3MsiT8BFv0jTz+jVqm4Nc /hHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695728285; x=1696333085; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uDAblGKlTbUbZdgGdo0fj1UoZoe1mcjucPCSk6uuOhc=; b=ERi2354i+juF2pskCFm2Ew68jSM6QIE5Ls5S2mig0f5y1q6v8Ot55Y6j3lUsBTovc1 syufdjpb/YX8XRCXPgpljLs8Vxshp9YPoiAErfTVd1pvtfbZj3PGLYLpJR/lXYzrBGf9 BeBDw9Gb0xEIpOwbtnCHtKUWe7sy4YDuWGNOOPoxWIT2GINVUekp6GZctIRtbme9pMlT zXoUy6r4Xz/pzC71+DwGjT7OTpuI3dZubN1l1VPNxcWnWPs0qbZPyR8wT6Fp4J0zaLbb e7tRzS8Dkk0jnZINKuAl64Fbv5c72C8H5xopmdEnh+wxWLT0XAtevvHDdSOZgq9iICUb woNA== X-Gm-Message-State: AOJu0YxNEiRWJrHDxPe81c9eOcxgU7CRDZw9QFTqJlBjTtfaXWl/a/k2 SF3bSH23TRMWmbkyDVVRX9lbSNxCV5i86qinGAk= X-Google-Smtp-Source: AGHT+IHlbdrGt9Qj41kwJnzFtm1H4Jnf76iGLaMVD3kkLu90HHlzUKBRQii3lK5wxPkcrpK9qpSKLwVvwGqg5w//9wQ= X-Received: by 2002:a2e:9c50:0:b0:2c0:2a6e:7869 with SMTP id t16-20020a2e9c50000000b002c02a6e7869mr7429888ljj.44.1695728285244; Tue, 26 Sep 2023 04:38:05 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 26 Sep 2023 04:38:04 -0700 From: Stefan Kangas In-Reply-To: <20230926.070541.631509878279205863.enometh@meer.net> References: <20230925.204020.1677927434335496083.enometh@meer.net> <87fs31oiwv.fsf@yahoo.com> <20230926.070541.631509878279205863.enometh@meer.net> MIME-Version: 1.0 Date: Tue, 26 Sep 2023 04:38:04 -0700 Message-ID: Subject: Re: bug#66192: 30.0.50; lisp/buttons.el (push-button) fails to handle the action on gui emacs To: Madhu , luangruo@yahoo.com Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66192-done Cc: 66192-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Madhu writes: > Yes it's fixed, please close. Done. ------------=_1695728342-27670-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 Sep 2023 15:11:15 +0000 Received: from localhost ([127.0.0.1]:46435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qknEx-000743-01 for submit@debbugs.gnu.org; Mon, 25 Sep 2023 11:11:15 -0400 Received: from lists.gnu.org ([2001:470:142::17]:41402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qknEt-00073j-FA for submit@debbugs.gnu.org; Mon, 25 Sep 2023 11:11:13 -0400 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 1qknEZ-0008Vp-My for bug-gnu-emacs@gnu.org; Mon, 25 Sep 2023 11:10:51 -0400 Received: from smtp0.ctinetworks.com ([205.166.61.207]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qknEY-0005NZ-3z for bug-gnu-emacs@gnu.org; Mon, 25 Sep 2023 11:10:51 -0400 Received: from localhost (unknown [117.254.36.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: enometh@meer.net) by smtp0.ctinetworks.com (Postfix) with ESMTPSA id 90AB8306F0B3 for ; Mon, 25 Sep 2023 11:10:43 -0400 (EDT) Date: Mon, 25 Sep 2023 20:40:20 +0530 (IST) Message-Id: <20230925.204020.1677927434335496083.enometh@meer.net> To: bug-gnu-emacs@gnu.org Subject: 30.0.50; lisp/buttons.el (push-button) fails to handle the action on gui emacs From: Madhu X-Mailer: Mew version 6.9 on Emacs 30.0.50 Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Mon_Sep_25_20_40_20_2023_168)--" Content-Transfer-Encoding: 7bit X-ctinetworks-Information: Please contact the ISP for more information X-ctinetworks-MailScanner-ID: 90AB8306F0B3.A76F3 X-ctinetworks-VirusCheck: Found to be clean X-ctinetworks-SpamCheck: X-ctinetworks-Watermark: 1696518646.27448@OvXlujjgb5JVXVjgtgWPxQ Received-SPF: pass client-ip=205.166.61.207; envelope-from=enometh@meer.net; helo=smtp0.ctinetworks.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * commit a496509cedb17109d0e6297a74e2ff8ed526333c |Commit: Po Lu |CommitDate: Thu Jan 19 22:19:06 2023 +0800 Introduced a change to lisp/button.el:(push-button) which causes the following recipe to fail. Consider a buffer with the following contents: Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=enometh%40meer.net; ip=2001%3A470%3A142%3A%3A17; r=debbugs.gnu.org] 1.5 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [117.254.36.73 listed in dnsbl.sorbs.net] X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * commit a496509cedb17109d0e6297a74e2ff8ed526333c |Commit: Po Lu |CommitDate: Thu Jan 19 22:19:06 2023 +0800 Introduced a change to lisp/button.el:(push-button) which causes the following recipe to fail. Consider a buffer with the following contents: Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.5 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [117.254.36.73 listed in dnsbl.sorbs.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=enometh%40meer.net;ip=2001%3A470%3A142%3A%3A17;r=debbugs.gnu.org] -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager ----Next_Part(Mon_Sep_25_20_40_20_2023_168)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit * commit a496509cedb17109d0e6297a74e2ff8ed526333c |Commit: Po Lu |CommitDate: Thu Jan 19 22:19:06 2023 +0800 Introduced a change to lisp/button.el:(push-button) which causes the following recipe to fail. Consider a buffer with the following contents: ``` ;;text-button (defvar-keymap my-button-map :parent button-map "" 'push-button) (setq $but (make-text-button 1 10 'action #'(lambda(b) (message "push-button %S" b)) 'keymap my-button-map)) ``` evaluating the buffer sets up a text button in the first line. In a gui emacs Hitting RET on the button fails with an error: "push-button: Wrong type argument: listp, return". The following patch fixes it for me but maybe there is some other issue? ----Next_Part(Mon_Sep_25_20_40_20_2023_168)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="0001-lisp-button.el-push-button-handle-kbd-return.patch" >From e69be9cf0af72c5fcda8cda05b50a556741009b2 Mon Sep 17 00:00:00 2001 From: Madhu Date: Mon, 25 Sep 2023 20:20:05 +0530 Subject: [PATCH] lisp/button.el: (push-button): handle kbd --- lisp/button.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/button.el b/lisp/button.el index b01595943fc..0e98ec722d9 100644 --- a/lisp/button.el +++ b/lisp/button.el @@ -492,7 +492,7 @@ push-button (if str-button ;; mode-line, header-line, or display string event. (button-activate str t) - (if (eq (car pos) 'touchscreen-down) + (if (and (listp pos) (eq (car pos) 'touchscreen-down)) ;; If touch-screen-track tap returns nil, then the ;; tap was cancelled. (when (touch-screen-track-tap pos) -- 2.39.2.101.g768bb238c4 ----Next_Part(Mon_Sep_25_20_40_20_2023_168)---- ------------=_1695728342-27670-1--