From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59786: Allowing arbitrary expressions in cl-labels Date: Tue, 29 Oct 2024 13:28:01 +0100 Message-ID: <874j4vw0tq.fsf@web.de> References: <87r0vybl6f.fsf@web.de> Reply-To: Michael Heerdegen Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3479"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: monnier@iro.umontreal.ca To: 59786@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 29 13:28:19 2024 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 1t5lKd-0000hc-C5 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Oct 2024 13:28:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5lKQ-0000fw-OR; Tue, 29 Oct 2024 08:28:07 -0400 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 1t5lKN-0000Ss-T1 for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2024 08:28:04 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t5lKN-0000eU-Ho for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2024 08:28:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=RAmyBJW8vHfn6fyc/U63F6nvf3YrZKzlAjlV8J6o67U=; b=fFIknnWkzpqsjUYxXFHIUmP9GOR/6DSCr+a4MrAy9HWFakBmQufLuQ1ek6QVn2II5Fvn+JfqCUjPcRp54cBQBRRoxoa09iPuuMM39cBAixVJU7Ka9DszBbH2H6dHUCNXduKDMKvMg/rNRv9GSjNBRDqEgT790v/MYdE2hcPZmWsnCnqcxECHqaix4kRsbfsf2lWMOHcOTJXuxLyy1kLG+ZyIN5em/GR1YRRdF2oN9Mnw11vfjRGEglQ2U9a1vLTjS5PJKGEMlGhkJZOymZ885K0zbKz5bxcO5mE7oRnffl7GJGtktywAGz/G2DBoxBDjs9RAizDm8NtmsWlE5W4rRQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t5lKM-0002lB-6P for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2024 08:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Oct 2024 12:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59786 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: 59786@debbugs.gnu.org, Stefan Monnier Original-Received: via spool by submit@debbugs.gnu.org id=B.173020484110602 (code B ref -1); Tue, 29 Oct 2024 12:28:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Oct 2024 12:27:21 +0000 Original-Received: from localhost ([127.0.0.1]:56304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5lJg-0002kw-O6 for submit@debbugs.gnu.org; Tue, 29 Oct 2024 08:27:20 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:55244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5lJe-0002kq-4p for submit@debbugs.gnu.org; Tue, 29 Oct 2024 08:27:18 -0400 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 1t5lJd-0006Dz-NY for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2024 08:27:17 -0400 Original-Received: from mout.web.de ([212.227.17.12]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t5lJb-0000Vz-J5 for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2024 08:27:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1730204822; x=1730809622; i=michael_heerdegen@web.de; bh=RAmyBJW8vHfn6fyc/U63F6nvf3YrZKzlAjlV8J6o67U=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=nTfahLiKaKIbOVVLD5v0M8xqSQxEDF2xvBeF/gjKMmwh08p2dUpo74A74vtaoQys 8kit/NuvqtoBEL1ClispTdHwXCzmFSmaL4PcOQs26KatmYW4G2SuSddfRC5atBzmj HOAg4N32i7oQKd1rEEigrTBJwluobv4HT+CbXbypgPMldIslTF+zFs7RdDFss4e+J 5TxCwspm4p4RGSl0UTw/XBhqq9JGQJibSK1rq7lM2IPSBQG1Vd0jkXbZprkazZEtV BL+czvgFw8GkwfatWfwqh5DWAy6If2imqyqoHFmRvdGW5qLA6KyYVPiKarGq0URiv U3P4OGdQuVlC/+3fLg== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from drachen.dragon ([92.75.138.198]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1Mf3qK-1tlxsq0mvC-00mNZh; Tue, 29 Oct 2024 13:27:02 +0100 In-Reply-To: (Stefan Monnier via's message of "Sun, 27 Oct 2024 23:07:45 -0400") X-Provags-ID: V03:K1:nA8fym5XJW3v6Z1VXdi5EuFu6l4yVubrI+uiCP2LUcb2TteNBPT RjUsEPSiC4eDcAFD9rDagtahGirTzhhzNnCRCG8vQl9CoIFMD1OIXEfBGM2sPTpSGaa+PFw wVaNRwAjqBp1f6LuRm4ZpPzuMu/zy7IvBGGbAIlK6U4Vxcl3AizDKFyC2xlVTkzPsNfvTY0 AAUCgx49eEnnKtNJ0SNTw== UI-OutboundReport: notjunk:1;M01:P0:IBnhQKnTRHI=;M6Y8O3CRCMeraHSZ/73VRq43DKX Yk8vG0DtEKZjsgc9xwaC+zYB+oVW6lot1UUKgUeSozQi2eCaGv5nZ5mBkGDYVZwSkvZW1D2wd jXQblrrNG6dr9kpL908o4faFAV3eXg3X1myraOQIMnxQwc2DPameat/827TG1f19MvrEJZ/oK Z9lUVxNGiaHh8z3+qIDL83vOZxJip3WPgvz3u5tgYlnK3Qj5DRYhMPryC1D77WqFwD8G53WJq oDkzBvFRbC0Jbjf/albMtmFfD0980ZbxNtdWOz9tiyKK4adJ6euBYZ/7RYkNjQRTfDUXw0xVu KMBuLsEsgW7IpHO6XOHlF3L3jIiiuz3Kb9Mo/RIdcMBc2aY5X3Zt8IXdYUpfwZvWsr1POR1l2 4LTYzojQuaSm5t4nzwSn/weGkhkCECnppnH0dJAPYTRQ5MqfVg/ox10DCy0uNh+v+HQQi3CRV gLOeb4fj7mj3pETgWoDpTX2l8klT4BSqv04ao1L9ZF6KhdJYOfpiiRbN0kGvjtXuiHY0XapMh XvRH99drjw0h9Cn4y9NnFEel1M8nhjfbW/VCGOF0lj+5Wopfyq/jRy9seyUmqYMCqgH1MLOl7 H/lB4/A/SQ5hO1Tuu9U/s1s6Eokiu6+uI8UjAtatMZ98+Bw8Ex8FLTsH965FB/2c3nnHwURCX OCleKX+dbVTm8ZqhCyg/ZX31Jk9TrmOGg7386F8s2ZbpmNk7E2y8ksNEmVVsk7LyyFAVZJc8A OdH3wMpj9bZ+N2AbvJUqG+hOXd6Hq3nUS7Abj4jxFFCR1pEsdv6kRMgqcsTW1tWlIR3loMo+ Received-SPF: pass client-ip=212.227.17.12; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:294480 Archived-At: Hi Stefan, > -forms of the function body. FUNC is defined in any BODY, as well > +forms of the function body. FUNC is defined in any BODY or EXP, as well ^^^^^^ This is unfortunately not correct, e.g. (cl-labels ((even (if (odd 5) (lambda (x) (if (= x 0) t (odd (1- x)))) #'ignore)) (odd (lambda (x) (if (= x 0) nil (even (1- x)))))) (list (even 42) (odd 42))) ~~> funcall: Symbol's function definition is void: nil Only preceding definitions can be used in the EXP. Dunno how useful it is at all that the EXPs can use any of the defined functions. Michael.