GNU bug report logs - #77348
30.1; cl-labels

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Devon Sean McCullough <Emacs-hacker2023@HIDDEN>; dated Fri, 28 Mar 2025 23:11:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 77348 <at> debbugs.gnu.org:


Received: (at 77348) by debbugs.gnu.org; 31 Mar 2025 13:20:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 31 09:20:27 2025
Received: from localhost ([127.0.0.1]:40367 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tzF3x-0006ut-Mq
	for submit <at> debbugs.gnu.org; Mon, 31 Mar 2025 09:20:27 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:46116)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <monnier@HIDDEN>)
 id 1tzF3g-0006mL-UO
 for 77348 <at> debbugs.gnu.org; Mon, 31 Mar 2025 09:20:10 -0400
Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 84F6A10004C;
 Mon, 31 Mar 2025 09:19:57 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1743427196;
 bh=TOfmjuCmLtSJx43Aa/soPo4UwtKtu/f4Bv8kQsfDFrQ=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=jRcfX4htCcGEcQ/5kaX4WyREYjaL8fL1e/XjjdNeK9xU3rZn973Xne+a/5Rfs0BMo
 3ZZSW5p5tYBitaKe/wSNvqOVrl3KutrykCjhqDB0Inv+9C73He+qr3Fb4MtHzJKVnl
 wFgeEx+KS5234o9uxaUYIKGWIevaQkxTVq3srjqEHMrUCeuwCaSp+Dc3Dibhprkv65
 zG5XwBSpsi3Hq7g9TUfyTYM/7HWmCzStvCiHuy9qxnu2psSIm35sgiD7tLgMjKwXto
 zsvcOVTFzs3idk/DV/pOrU4WGd2rMdWasNHeKT2IpXxDTqrrcSQBArMppm+X8cy4Dw
 6KEZC/GIjlz6Q==
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id DEE2A100034;
 Mon, 31 Mar 2025 09:19:56 -0400 (EDT)
Received: from pastel (unknown [104.247.242.5])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id AE6CD120372;
 Mon, 31 Mar 2025 09:19:56 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Subject: Re: bug#77348: 30.1; cl-labels
In-Reply-To: <871pue83dm.fsf@HIDDEN>
Message-ID: <jwvjz859w31.fsf-monnier+emacs@HIDDEN>
References: <48962da1949d69d21b61d34a1809ba91@HIDDEN>
 <87v7rrqhmu.fsf@HIDDEN> <jwviknrdtco.fsf-monnier+emacs@HIDDEN>
 <871pue83dm.fsf@HIDDEN>
Date: Mon, 31 Mar 2025 09:19:54 -0400
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL -0.374 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 77348
Cc: Devon Sean McCullough <Emacs-hacker2023@HIDDEN>, 77348 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

>> > @Stefan: did you forget to mention the (FUNC EXP) binding definition
>> > case in the docstring of `cl-labels'?
>>
>> Indeed.  Somehow I updated the Texinfo doc but not the docstring.
>> I just fixed that in `emacs-30`, thanks.
>
> Thanks.  But something's odd here: I'm absolutely sure that you and I,
> we already talked about improving the docstring even further, and we
> already had a version with an improved last paragraph.  It said
> something like "FUNC is defined in any BODY, as well as FORM or the
> evaluation result of any EXP", something like that.  Remember?  It seems
> you lost that version and installed something old, or something written
> ad-hoc, instead.

It does ring a bell, indeed.  I'll have to try and dig it back up.


        Stefan





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77348; Package emacs. Full text available.

Message received at 77348 <at> debbugs.gnu.org:


Received: (at 77348) by debbugs.gnu.org; 31 Mar 2025 00:11:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 30 20:11:20 2025
Received: from localhost ([127.0.0.1]:38476 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tz2kK-0007bm-3a
	for submit <at> debbugs.gnu.org; Sun, 30 Mar 2025 20:11:20 -0400
Received: from mout.web.de ([212.227.15.4]:35793)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>)
 id 1tz2kG-0007aS-MA
 for 77348 <at> debbugs.gnu.org; Sun, 30 Mar 2025 20:11:17 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de;
 s=s29768273; t=1743379850; x=1743984650;
 i=michael_heerdegen@HIDDEN;
 bh=A4Ya8iccil7HmlGaesesmcqUrugW5LmPMBpyExJr8Nk=;
 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=lImhfuZbwbbiBdMog5fVRPgOzQeum5AiEFFjphx0DhO6g9RQk29vz0nbj7Hy7dMZ
 +fvMlBskq4lj84Kz2llamtmvum8P6pvqzsrFN9av96+D5GPbHeQEpHIJ59Heul91P
 eQtsZ7gxRIlQwLm4x18aUVEHJlbh+jughmhoylunVOKr9K/8LhnTIXfYXi4jJJPhH
 5dcNX0AzI2VMeC4/whfP37xoCLzxMM5NKxTLTr8bkHOVVak5iKG7c+dBQq+Rh5dNL
 BqETDoKOft0McRTdrzvpBTF+ySdcrIpz1g0YtF5KTeloCP+YCiHA4lsmhZfoAC6kk
 Q37D475y+9x5sycdZA==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from drachen.dragon ([88.66.201.230]) by smtp.web.de (mrweb006
 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MRF3I-1tmr0w2Rvg-00Pr3w; Mon, 31
 Mar 2025 02:10:50 +0200
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#77348: 30.1; cl-labels
In-Reply-To: <jwviknrdtco.fsf-monnier+emacs@HIDDEN>
References: <48962da1949d69d21b61d34a1809ba91@HIDDEN>
 <87v7rrqhmu.fsf@HIDDEN> <jwviknrdtco.fsf-monnier+emacs@HIDDEN>
Date: Mon, 31 Mar 2025 02:12:21 +0200
Message-ID: <871pue83dm.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:h1Iu32qIFMRtHHgRkjD1ICn+KaEdfEYCaQfOKkKKPitOd0/cEAd
 wV4/GubIpVSy2zhV3PWJszS7T9V86MSL6YQaSPOmeXf3S34dJ3DrT5XHvbG0zrBijZed1nm
 U///+78CIcKe0XENug+/2pMZak8FnepXupKzMjk+eCMKAMZvLgRtMT4bD/wxuGNjLYy4PUc
 nQDiO4KkgffRLcnFvxOzw==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:d3GRuj8fvjo=;yW+cmc6yDmxpFy1DTnyRxp3ROvu
 F0XSOGUpxHPC7L52HgakjB1b+kMGhlWW1I9yymXJT9z7TDukpisClsiiKmrLQnQDXeV5xCiiA
 McQneOOtuNChvOIkKGovYV+1E1x1KTyjkt9xyRfr3BFzjoSw4K98XwMOXqGJVTSC/4h7XEetH
 eigEqe6nYuvEKjCzUqEnYl1hQ/giJwExnd8T2WE5Pd87O/eIpjaPIP+Rt+iQFYWcFSC1OgdGf
 ES1ql+qfy885oGIIilfI8nJVw/kTmDlF3NXrZJwYIdwfNJLLb/MfaBy1CtKmV2XVTSazhA0VD
 if9CfSdC6UMI+xkuBjxRkZX5Y8hAb1mV/BUJ73UWzh+K9hcT2I7BM7ok6sBm/+0aehLdcfzD7
 SvFU+/cixmMlwaYEXW+VR9c9ShISs3r2Aodhy98q1Z1dhHkrmntkYE9sdNcekq+Rx/uswuPEt
 bg2FIYRKcdQJc4fcQRJ5OxghDdimJMWzGvmLU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
Cc: Devon Sean McCullough <Emacs-hacker2023@HIDDEN>, 77348 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Stefan Monnier <monnier@HIDDEN> writes:

> > @Stefan: did you forget to mention the (FUNC EXP) binding definition
> > case in the docstring of `cl-labels'?
>
> Indeed.  Somehow I updated the Texinfo doc but not the docstring.
> I just fixed that in `emacs-30`, thanks.

Thanks.  But something's odd here: I'm absolutely sure that you and I,
we already talked about improving the docstring even further, and we
already had a version with an improved last paragraph.  It said
something like "FUNC is defined in any BODY, as well as FORM or the
evaluation result of any EXP", something like that.  Remember?  It seems
you lost that version and installed something old, or something written
ad-hoc, instead.


Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77348; Package emacs. Full text available.

Message received at 77348 <at> debbugs.gnu.org:


Received: (at 77348) by debbugs.gnu.org; 30 Mar 2025 04:45:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 30 00:45:50 2025
Received: from localhost ([127.0.0.1]:33987 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tykYQ-0001DJ-8B
	for submit <at> debbugs.gnu.org; Sun, 30 Mar 2025 00:45:50 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:1445)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <monnier@HIDDEN>)
 id 1tykYN-0001D3-TU
 for 77348 <at> debbugs.gnu.org; Sun, 30 Mar 2025 00:45:48 -0400
Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 26A7F100045;
 Sun, 30 Mar 2025 00:45:42 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1743309941;
 bh=W0D1bIorGTPzK3g1kgLt2PrwYe452b2Jc1XwlpXa7ng=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=iRFtd8g8w6vhNmtF322fsblcM9jOxjUHwR8Bfpa5gsFzFYVqXA4y0BHxER4J7Wbtd
 JuQZgLVMx1FL8mnAYGJaeRZXLvYb745kYXRVjbp0cVBPJD/zP4SN2OreukknXPU/ac
 rJIRWhs+UNmLg8b3V2/xD/j9dUw+gzhNaQJHoagiftEZKkCEIzwoazxd1ag7QVvFgm
 JGDWaayUoliFs2LaEFYI3nMC1y1EwS2wlc5pMY6MR93f6gnF7k5hgsIjxZ/sB5/HPr
 pam8Mjfjl9ZF+fc9dDKkW4hkElmog0cZxDRuVH/JfJovrx0UJ5pAjnvo519VlBvgHQ
 Doi0bEqOVS1Zg==
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 2DFB7100034;
 Sun, 30 Mar 2025 00:45:41 -0400 (EDT)
Received: from pastel (unknown [104.247.242.5])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 017F812041A;
 Sun, 30 Mar 2025 00:45:40 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Subject: Re: bug#77348: 30.1; cl-labels
In-Reply-To: <87v7rrqhmu.fsf@HIDDEN>
Message-ID: <jwviknrdtco.fsf-monnier+emacs@HIDDEN>
References: <48962da1949d69d21b61d34a1809ba91@HIDDEN> <87v7rrqhmu.fsf@HIDDEN>
Date: Sun, 30 Mar 2025 00:45:40 -0400
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL -0.376 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 77348
Cc: Devon Sean McCullough <Emacs-hacker2023@HIDDEN>, 77348 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

>> Instrument the following forms for edebug,
>> e.g., by C-u M-x eval-defun RET
>> with point on the form.
>>
>> (cl-labels ((foo (bar))))
>> ;; (error "Eager macro-expansion failure: (error \"Invalid argument
>>    name: 1\")")
>>
>> ;; should work same as
>> (cl-labels ((foo (bar) nil)))
>> ;; nil after manually stepping

In recent Emacs, the above two forms aren't equivalent any more:

    (cl-labels ((foo (bar))))

now defines `foo` as the function returned by calling `bar`.

> @Stefan: did you forget to mention the (FUNC EXP) binding definition
> case in the docstring of `cl-labels'?

Indeed.  Somehow I updated the Texinfo doc but not the docstring.
I just fixed that in `emacs-30`, thanks.


        Stefan





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77348; Package emacs. Full text available.

Message received at 77348 <at> debbugs.gnu.org:


Received: (at 77348) by debbugs.gnu.org; 30 Mar 2025 04:13:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 30 00:13:40 2025
Received: from localhost ([127.0.0.1]:33932 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tyk3I-0007wi-42
	for submit <at> debbugs.gnu.org; Sun, 30 Mar 2025 00:13:40 -0400
Received: from mout.web.de ([212.227.17.11]:38237)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>)
 id 1tyk3F-0007wL-AZ
 for 77348 <at> debbugs.gnu.org; Sun, 30 Mar 2025 00:13:38 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de;
 s=s29768273; t=1743307999; x=1743912799;
 i=michael_heerdegen@HIDDEN;
 bh=d+IsdA8LUWW1RsXPtSA6FrjnCBIJJ+QjeSEcUG9nUTk=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date:
 Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc:
 content-transfer-encoding:content-type:date:from:message-id:
 mime-version:reply-to:subject:to;
 b=wNz+7qOs2Y9EVRQCPgs+ZzV0ZE6wCuzB4t4do0lstz/A1PjlNE8QF58fkpKWnS3T
 h6fNMyonw7zdPGiU7VHpA03RAnVcVbSiaIM0lCIkRcKc3H6HWVfGQLF9RQOnSSHTU
 xjN/59GLc1MBcClRk1B1CPgrfGVW9ptvmkW5ssCHy0DDitgt4DxPHZKYwgP04+Ozh
 SmH9lTVAUS5fLojF+68yuNbwzAmzu5W3PuF4+XV4VU/770aqAuu9yBuEkYTPSU70I
 0VOnM+Kuw3FvzEsgkeUAXkIHnhgFPDFUbsFS+Lby7koOJ18H925XFwo7ieGFULfg3
 Txiy/L2VpnqhdUM3eg==
X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6
Received: from drachen.dragon ([88.66.201.136]) by smtp.web.de (mrweb106
 [213.165.67.124]) with ESMTPSA (Nemesis) id 1M8Bw1-1u3zEj3Iah-004zIY; Sun, 30
 Mar 2025 06:13:18 +0200
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: Devon Sean McCullough <Emacs-hacker2023@HIDDEN>
Subject: Re: bug#77348: 30.1; cl-labels
In-Reply-To: <48962da1949d69d21b61d34a1809ba91@HIDDEN>
References: <48962da1949d69d21b61d34a1809ba91@HIDDEN>
X-Debbugs-Cc: Stefan Monnier <monnier@HIDDEN>
Date: Sun, 30 Mar 2025 06:14:49 +0200
Message-ID: <87v7rrqhmu.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:8erXNPyWTGGUMzyLqj7nOY0dN/KaGWzOlxQ08lpK+MIOMzgbl8m
 CSqkm2JdgQ950l/mw9YTNRDNl2I9B2Sgq4hrT+bq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vmnxPi/IyuoFlPPlUqRNtuFr
 8o3azPBtpySsXqbbzVl1HCQwHLtGwXqWHn3IgRRwCHqPomlcStJndyEpDaP6MqU6//uzr4vzT
 mUjI0hS5vBZxmEwGl84eo+ubhsQQjpaj14nXVpencyAjmzugu4ukyTwJKte6FvRaMtaCAYJk7
 iixpeyJRUqiB/6Ln6+E+5S2OAc2YZdO3lkMurM/o+bL9BJS3UiwG0EpmjGHqr/SZoZZAwlaFd
 DRGncZInayJxSjNyiWJiPKovrF/6J9PD76O7V0gtaQ+YLlQRaFoMYzLEne5vPnccZK1KEm9pg
 IIZL7CKICaqswxacO8btSfBb3uSHSrrY+mISAPS4xFvDgcb+W0dqygj6i22nNcs/h6GtObolm
 O+6iYIle+5P8JuPjr6VM/jYy++vcLwDXIqlgquX/ydmbfB6E6AfXwHtDwe9repdRS3PRIEGDi
 d2g/oindXfSBDwtlPK8akfj4iGAizcuKHH9Eykb8VTU9xjaw0hmyTnIEf8YyxCKU4xNxuHJI4
 E0GFvsCDjYzH8xTB3PL7RcQFuUMpnDUkGNq4HxaXf99VRvXxDYeu2M0KTU1R8jTQtP0NZqpsi
 paPfmh/6geCMOSW1xLEOw3YHgoUY=
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 77348
Cc: 77348 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Hello Devon,

> Instrument the following forms for edebug,
> e.g., by C-u M-x eval-defun RET
> with point on the form.
>
> (cl-labels ((foo (bar))))
> ;; (error "Eager macro-expansion failure: (error \"Invalid argument
>    name: 1\")")
>
> ;; should work same as
> (cl-labels ((foo (bar) nil)))
> ;; nil after manually stepping

I see a different behavior in master, and I know the edebug spec of
`cl-labels' had been changed recently.  Are you maybe able to try the
master behavior?

@Stefan: did you forget to mention the (FUNC EXP) binding definition
case in the docstring of `cl-labels'?


> P.S.  Especially troubling is this variation which fails to manifest
> the bug:
>
> (cl-labels ((foo (function))))

You are aware that `function' is a special form?


Michael.




Information forwarded to monnier@HIDDEN, bug-gnu-emacs@HIDDEN:
bug#77348; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 28 Mar 2025 23:10:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 28 19:10:44 2025
Received: from localhost ([127.0.0.1]:55904 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tyIqa-000076-AU
	for submit <at> debbugs.gnu.org; Fri, 28 Mar 2025 19:10:44 -0400
Received: from lists.gnu.org ([2001:470:142::17]:44642)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <emacs-hacker2023@HIDDEN>)
 id 1tyIqY-00006t-1o
 for submit <at> debbugs.gnu.org; Fri, 28 Mar 2025 19:10:42 -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 <emacs-hacker2023@HIDDEN>)
 id 1tyIqS-0004iO-Iu
 for bug-gnu-emacs@HIDDEN; Fri, 28 Mar 2025 19:10:36 -0400
Received: from omta33.uswest2.a.cloudfilter.net ([35.89.44.32])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <emacs-hacker2023@HIDDEN>)
 id 1tyIqP-0005oB-Ra
 for bug-gnu-emacs@HIDDEN; Fri, 28 Mar 2025 19:10:36 -0400
Received: from eig-obgw-6007a.ext.cloudfilter.net ([10.0.30.247])
 by cmsmtp with ESMTPS
 id xnYDtqGbCWuHKyIqAtNQ61; Fri, 28 Mar 2025 23:10:18 +0000
Received: from leaf.websitewelcome.com ([192.185.82.99]) by cmsmtp with ESMTPS
 id yIq9tJ6Ib1bCfyIq9twDzj; Fri, 28 Mar 2025 23:10:17 +0000
X-Authority-Analysis: v=2.4 cv=GJ4OEPNK c=1 sm=1 tr=0 ts=67e72c59
 a=mow2sqwWDa2c9/UKe2ehnA==:117 a=pzqLAaPqCO+vnN2lX8u5KA==:17
 a=kj9zAlcOel0A:10 a=Vs1iUdzkB0EA:10 a=m4qX6TUbQQX67IMi-2IA:9
 a=CjuIK1q_8ugA:10 a=TgNxcI6wXp3fdKIHFX1K:22
Received: from leaf.websitewelcome.com ([192.185.82.99]:19416)
 by leaf.websitewelcome.com with esmtpa (Exim 4.98.1)
 (envelope-from <Emacs-hacker2023@HIDDEN>)
 id 1tyIq8-00000004Jyh-3eo1 for bug-gnu-emacs@HIDDEN;
 Fri, 28 Mar 2025 18:10:16 -0500
Received: from syn-035-149-207-005.res.spectrum.com ([35.149.207.5])
 by jovi.net
 with HTTP (HTTP/1.1 POST); Fri, 28 Mar 2025 18:10:16 -0500
MIME-Version: 1.0
Date: Fri, 28 Mar 2025 18:10:16 -0500
From: Devon Sean McCullough <Emacs-hacker2023@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.1; cl-labels
User-Agent: Roundcube Webmail/1.6.9
Message-ID: <48962da1949d69d21b61d34a1809ba91@HIDDEN>
X-Sender: Emacs-hacker2023@HIDDEN
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - leaf.websitewelcome.com
X-AntiAbuse: Original Domain - gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - jovi.net
X-BWhitelist: no
X-Source-IP: 192.185.82.99
X-Source-L: No
X-Exim-ID: 1tyIq8-00000004Jyh-3eo1
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Source-Sender: leaf.websitewelcome.com [192.185.82.99]:19416
X-Source-Auth: devon2011@HIDDEN
X-Email-Count: 1
X-Org: HG=hgreseller;ORG=hostgator;
X-Source-Cap: am92aW5ldDtkZXZvbjtsZWFmLndlYnNpdGV3ZWxjb21lLmNvbQ==
X-Local-Domain: yes
X-CMAE-Envelope: MS4xfCgQnNQYr77ffcI8r1b2aR0kRFKh1utOJxwgtVWk0A7L5hdOJ8MNI+SjNfLadNfpc0hiBK+Bp2BVqUy5lk/evZ0De7lHYX/3O/cKF95aaViVXLgSHBD5
 bRwFnVYdM+amCicK+0nciKRHqs7HaD15MCSDH3UU52N+TmqHBYIbL5aGzzWUa0JG1t4f6V0NxukzudknUw2n6Av58TCVd8hG0Zw=
Received-SPF: pass client-ip=35.89.44.32;
 envelope-from=emacs-hacker2023@HIDDEN; helo=omta33.uswest2.a.cloudfilter.net
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001,
 RCVD_IN_MSPIKE_H2=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-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Instrument the following forms for edebug,
e.g., by C-u M-x eval-defun RET
with point on the form.

(cl-labels ((foo (bar))))
;; (error "Eager macro-expansion failure: (error \"Invalid argument 
name: 1\")")

;; should work same as
(cl-labels ((foo (bar) nil)))
;; nil after manually stepping

		Peace
			--Devon

P.S.  Especially troubling is this variation which fails to manifest the 
bug:

(cl-labels ((foo (function))))
;; nil after manually stepping

In GNU Emacs 30.1 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60
  Version 10.14.6 (Build 18G9323)) of 2025-02-24 built on
  builder10-14.lan
Windowing system distributor 'Apple', version 10.3.1671
System Description:  Mac OS X 10.14.6

Configured using:
  'configure --with-ns '--enable-locallisppath=/Library/Application
  Support/Emacs/${version}/site-lisp:/Library/Application
  Support/Emacs/site-lisp' --with-modules 'CFLAGS=-DFD_SETSIZE=10000
  -DDARWIN_UNLIMITED_SELECT' --with-x-toolkit=no'

Configured features:
ACL GLIB GMP GNUTLS JPEG LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG
RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER ZLIB

Important settings:
   value of $LANG: en_US.UTF-8
   locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
   tooltip-mode: t
   global-eldoc-mode: t
   eldoc-mode: t
   show-paren-mode: t
   electric-indent-mode: t
   mouse-wheel-mode: t
   tool-bar-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   minibuffer-regexp-mode: t
   line-number-mode: t
   indent-tabs-mode: t
   transient-mark-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util text-property-search mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-fns radix-tree
cl-print byte-opt bytecomp byte-compile cl-seq cl-macs gv edebug debug
backtrace help-mode find-func time-date subr-x cl-loaddefs cl-lib rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads kqueue cocoa ns multi-tty
make-network-process emacs)

Memory information:
((conses 16 59975 9228) (symbols 48 7064 0) (strings 32 17818 1774)
  (string-bytes 1 468489) (vectors 16 13053)
  (vector-slots 8 143071 8790) (floats 8 27 33) (intervals 56 615 18)
  (buffers 992 12))




Acknowledgement sent to Devon Sean McCullough <Emacs-hacker2023@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#77348; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 31 Mar 2025 13:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.