GNU bug report logs - #34481
27.0.50; cl-flet, cl-labels and lambda expressions

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: Michael Heerdegen <michael_heerdegen@HIDDEN>; dated Fri, 15 Feb 2019 02:10:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 34481) by debbugs.gnu.org; 7 Nov 2019 13:45:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 07 08:45:03 2019
Received: from localhost ([127.0.0.1]:41788 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iSi5v-0001ba-4M
	for submit <at> debbugs.gnu.org; Thu, 07 Nov 2019 08:45:03 -0500
Received: from host.gofardesign.uk ([208.79.239.190]:47255)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefan@HIDDEN>) id 1iSi5s-0001am-Ts
 for 34481 <at> debbugs.gnu.org; Thu, 07 Nov 2019 08:45:01 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; 
 s=default;
 h=Content-Type:MIME-Version:Message-ID:Date:References:
 In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=xQP+3dIIScz7SJASIHuhCJBhzVaHYGb/HcHwein6K1M=; b=IK2TXAZcBAELdM8Swpqgu5fmfx
 El2M7Z9uf7vYKHunhohG1bysHsX4KGblQxAcj1lGhH/O2/GX/iCMsBnUNvea6/I+a8dc5Yb7kiwzU
 oEI3XkZJk3reVhgm8NFUhfhx59+70QVxm/qMphJ289CRVuoeXBAL5o46PpBKG2v20nwA=;
Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:36862
 helo=localhost)
 by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
 (Exim 4.92) (envelope-from <stefan@HIDDEN>)
 id 1iSi5k-00010g-Cg; Thu, 07 Nov 2019 07:44:53 -0600
From: Stefan Kangas <stefan@HIDDEN>
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Subject: Re: bug#34481: 27.0.50; cl-flet, cl-labels and lambda expressions
In-Reply-To: <87wod3blkk.fsf@HIDDEN> (Michael Heerdegen's message of "Thu, 17
 Oct 2019 14:31:07 +0200")
References: <CADwFkmkpyXk4Pqprcbc4sFc0M3vKeF7SwvPmr+mnq-f3Fkq3ow@HIDDEN>
 <87r23br73x.fsf@HIDDEN>
 <CADwFkmmvpZnjVpVqgYcoxpd789vCoVz1c5F7qe3VCO4KAZ2QEw@HIDDEN>
 <87wod3blkk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
Date: Thu, 07 Nov 2019 14:44:50 +0100
Message-ID: <87imnvztpp.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-OutGoing-Spam-Status: No, score=-1.0
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - host.gofardesign.uk
X-AntiAbuse: Original Domain - debbugs.gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - marxist.se
X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id:
 stefan@HIDDEN
X-Authenticated-Sender: host.gofardesign.uk: stefan@HIDDEN
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 34481
Cc: 34481 <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.0 (-)

Michael Heerdegen <michael_heerdegen@HIDDEN> writes:

>> Sounds good to me.  No one seems to object, so I'd suggest you go
>> ahead and push it to master.
>
> Ok, will do tonight.

Thank you for doing that.

> BTW, do you have an opinion about allowing (SYMBOL LAMBDA-EXPR) binding
> syntax for cl-labels and cl-macrolet?  The reason why I want this is (1)
> I often try to use this syntax and it doesn't work, and (2) it indents
> more nicely.  Or do you even have a nice idea of how to fix the
> indentation problem?

I don't think I can give an informed opinion about that, sorry.
Perhaps you could ask Stefan Monnier.

Best regards,
Stefan Kangas




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

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


Received: (at 34481) by debbugs.gnu.org; 17 Oct 2019 18:20:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 17 14:20:49 2019
Received: from localhost ([127.0.0.1]:48914 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iLAOG-0004C5-US
	for submit <at> debbugs.gnu.org; Thu, 17 Oct 2019 14:20:49 -0400
Received: from mout.web.de ([212.227.15.14]:47205)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1iLAOD-0004Bq-C9
 for 34481 <at> debbugs.gnu.org; Thu, 17 Oct 2019 14:20:46 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1571336433;
 bh=C5AnC1sEf9iMBrEdteJuGceDP8bZ0VucYPSBBltpXjU=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=fY+vN5NI5Pqo3564RYWNK0nIy3LsQVMC7YMNE2CEfY7VKqgYLU+N6PEphjzm4wQxq
 sQ/NTpUwXGUadCWU4JMK4J89R7dCeBiY16Wv585Xq0fuKymYqM411o1ML7uOvmm6JF
 464MW0ZdiQj3bBbQPCGLhH0LbbavYrszzeTTG/Cw=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([94.218.222.9]) by smtp.web.de (mrweb003
 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MdLsp-1idf6o2gyZ-00IYal; Thu, 17
 Oct 2019 20:20:33 +0200
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
Subject: Re: bug#34481: 27.0.50; cl-flet, cl-labels and lambda expressions
References: <CADwFkmkpyXk4Pqprcbc4sFc0M3vKeF7SwvPmr+mnq-f3Fkq3ow@HIDDEN>
 <87r23br73x.fsf@HIDDEN>
 <CADwFkmmvpZnjVpVqgYcoxpd789vCoVz1c5F7qe3VCO4KAZ2QEw@HIDDEN>
 <87wod3blkk.fsf@HIDDEN>
Date: Thu, 17 Oct 2019 20:20:38 +0200
In-Reply-To: <87wod3blkk.fsf@HIDDEN> (Michael Heerdegen's message of "Thu, 17
 Oct 2019 14:31:07 +0200")
Message-ID: <87wod35j49.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type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VbRjSd5rqVyv/mWMz935mnf9yhAIpKSeY1fadQOU8HEIPygRtzJ6r6RdPYAuV6ZjpXXhJvI
 2SF4zYHn5ZOyB+6qiLU4WEwq8m2W5j/60GqeZHqRgx+91VkRjviiKpguvDOh5vtJPCJyj1MQV
 rFv2KE23/6U74JRfCvhn1EA0BJhdWfPbhD4kW5eVIIx/ni6wKh1VZNb5nOnP7crzVhM21JuTj
 i71HmPOZ47JXmRqnMclLPYRFdx8EZ0fw4cufx//CENeloQrj/R9giEONyE79D7TG8JhZ6eBAo
 6/CuY8IxG/KDmG8YncqtA2aDSH68g9MSjNFOi54QHp5LRAvoc65bX+38W5+zNcPXOT8oo9uHk
 0aqgZPlnhq10T97XILf7+GUpvAPe40/QIXER9jOug4k2KixLDHj2+E1a/lztPOK0EGXDBXSz/
 94PLp8TYnVvxMcoxCtm09Xh0qE3ObiE7RitKdX9HPK2iIFT2XkWiOwzudqrYmm2X1fze8xoIT
 n49wy9Iu5XD/jOkDZRWVdIJUIAazqJryJy1RXzAM0u+/i3wQQv3dg4i513Zc=
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 34481
Cc: 34481 <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.0 (-)

Michael Heerdegen <michael_heerdegen@HIDDEN> writes:

> > Sounds good to me.  No one seems to object, so I'd suggest you go
> > ahead and push it to master.
>
> Ok, will do tonight.

That part is done now.

Michael.




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

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


Received: (at 34481) by debbugs.gnu.org; 17 Oct 2019 12:31:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 17 08:31:10 2019
Received: from localhost ([127.0.0.1]:47323 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iL4vu-0002wq-7H
	for submit <at> debbugs.gnu.org; Thu, 17 Oct 2019 08:31:10 -0400
Received: from mout.web.de ([212.227.17.12]:33353)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1iL4vs-0002wd-Js
 for 34481 <at> debbugs.gnu.org; Thu, 17 Oct 2019 08:31:09 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1571315461;
 bh=yGTm147whI2XHb0oeHRD9pqCbCK+PxyhqrKDo+G0zOc=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=OQjDcQ9tQca1vWmn/lPL53fizRk5PRzLkVVyky0Y3ssI8wI5GiB4bXVoW81c3XM+s
 /o52v+IAsoGA9eTsMC4LClpZf/Ylv10UGupu763pIpZKqDeT1kHPnnvMcg//CMVRol
 +ACT9C5Pf3GAcGYqYzKuxjn01f4SfGtUvME18eIw=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([94.218.222.9]) by smtp.web.de (mrweb103
 [213.165.67.124]) with ESMTPSA (Nemesis) id 0LmLgE-1hmZC31Ufa-00Zz52; Thu, 17
 Oct 2019 14:31:01 +0200
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
Subject: Re: bug#34481: 27.0.50; cl-flet, cl-labels and lambda expressions
References: <CADwFkmkpyXk4Pqprcbc4sFc0M3vKeF7SwvPmr+mnq-f3Fkq3ow@HIDDEN>
 <87r23br73x.fsf@HIDDEN>
 <CADwFkmmvpZnjVpVqgYcoxpd789vCoVz1c5F7qe3VCO4KAZ2QEw@HIDDEN>
Date: Thu, 17 Oct 2019 14:31:07 +0200
In-Reply-To: <CADwFkmmvpZnjVpVqgYcoxpd789vCoVz1c5F7qe3VCO4KAZ2QEw@HIDDEN>
 (Stefan Kangas's message of "Thu, 17 Oct 2019 12:45:58 +0200")
Message-ID: <87wod3blkk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:HPJtmVChv0w970XHKkpf0IR1r1NXeo4kwbgH12BHcbvBF+VxyW1
 hu2lQcgjfzCQjiKBMWOy9r/FPQdEuB0wGFQSYj4qlty6ZzFjPMwTyAjGUVIJ9+Z2GO2eRCd
 4iyQ69OBAi46aZokzvl7vU3CGTOcohgPD1hUdz9udXUiRoMb3XU8DoknxYmYzZuz2Wg7hxg
 j95LBimp+a/LaCgG98ZsA==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:MwLQg7CEvoc=:tgfU2WkwrqKW3OJh2kiPB7
 cNbDijGl5XO4AB372c3Zn61GH6EXsYrSbUIpGdFBmpq42S4MkPc/BjpxV3R8vR6C+88dJlIsf
 lIk2/JegPl89hpkF41+ctotVeGqtTGEOh/nQJ6AzXLIssIwD33RnLuXTGnSoSpVpfqWTwSed4
 USfMMtOV6T9pSmo8om+83DJjWhvb533eb8WiK1T+nLvfOkmL5IsDLNlrmkQLMI79gnR8eApu+
 sL4bSBNACRJz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j5pROp6sjtonSsU2OhW3YWTcA=
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 34481
Cc: 34481 <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 Kangas <stefan@HIDDEN> writes:

> > I don't think it could make it worse.  I also think now that it should
> > be correct.  AFAIU `def-form' doesn't need to be used but I think I
> > should use `function-form' instead of `form' so that quoted lambdas are
> > supported as well.
>
> Sounds good to me.  No one seems to object, so I'd suggest you go
> ahead and push it to master.

Ok, will do tonight.

BTW, do you have an opinion about allowing (SYMBOL LAMBDA-EXPR) binding
syntax for cl-labels and cl-macrolet?  The reason why I want this is (1)
I often try to use this syntax and it doesn't work, and (2) it indents
more nicely.  Or do you even have a nice idea of how to fix the
indentation problem?

Michael.




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

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


Received: (at 34481) by debbugs.gnu.org; 17 Oct 2019 10:46:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 17 06:46:20 2019
Received: from localhost ([127.0.0.1]:47210 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iL3IR-0006kQ-Sb
	for submit <at> debbugs.gnu.org; Thu, 17 Oct 2019 06:46:20 -0400
Received: from mail-pl1-f180.google.com ([209.85.214.180]:37144)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1iL3IN-0006k7-Sv
 for 34481 <at> debbugs.gnu.org; Thu, 17 Oct 2019 06:46:18 -0400
Received: by mail-pl1-f180.google.com with SMTP id u20so947586plq.4
 for <34481 <at> debbugs.gnu.org>; Thu, 17 Oct 2019 03:46:15 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=/+ibHOw6lO95zoQpKUOEOGTp30luJAPIAmQUvlsop84=;
 b=NUfP/3NKH894amY3O1QrrMQEPSP/7QFYyIK32WnKHzXQvniwIxbj1VaWLQgZzA3u0K
 zGTaLX9pgFQfg1zScC+rj4lByqEAPzzt70XCUFY8TatCV7UEs5VweaTwn5UXWLiD7UrJ
 GTc6Z4I1tOjXqC/NxEDs09G1OY4My3C0Rb3G70dLXV6JTw4e8k+nL+fT4zcHlTidvDyq
 2JXJYoZ3lmv3kZ/ruVQKD5ZCfN9NdsTRSLk5BjJ0ubJ9qPave1DWhFT2vT23UK6eYB7x
 7aypyaAHZsAI0P8sVOxiD6F3rIfVeNaxORXS+NcLS/Zr/NdxJYPvvLm+088VMXGX0LfW
 N3dg==
X-Gm-Message-State: APjAAAUUW/SsK9f9QeHs0LihxRtubgF7nnB+hI8q1At9wFpTdlKiZWhz
 fNN/keaRbSP5iKrP6pNcYrVllYOF83npCTM61AQ=
X-Google-Smtp-Source: APXvYqzzmEno1tH7So4ByW+Uf1B2UpLl91vXVkO7Z/omg5CpW68aJjfLvW2Setw6Lz6Bzxop5RCPRnBF8PSH4iQ4Iv8=
X-Received: by 2002:a17:902:d888:: with SMTP id
 b8mr3372017plz.259.1571309170058; 
 Thu, 17 Oct 2019 03:46:10 -0700 (PDT)
MIME-Version: 1.0
References: <CADwFkmkpyXk4Pqprcbc4sFc0M3vKeF7SwvPmr+mnq-f3Fkq3ow@HIDDEN>
 <87r23br73x.fsf@HIDDEN>
In-Reply-To: <87r23br73x.fsf@HIDDEN>
From: Stefan Kangas <stefan@HIDDEN>
Date: Thu, 17 Oct 2019 12:45:58 +0200
Message-ID: <CADwFkmmvpZnjVpVqgYcoxpd789vCoVz1c5F7qe3VCO4KAZ2QEw@HIDDEN>
Subject: Re: bug#34481: 27.0.50; cl-flet, cl-labels and lambda expressions
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 34481
Cc: 34481 <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: -0.7 (/)

Michael Heerdegen <michael_heerdegen@HIDDEN> writes:

> I don't think it could make it worse.  I also think now that it should
> be correct.  AFAIU `def-form' doesn't need to be used but I think I
> should use `function-form' instead of `form' so that quoted lambdas are
> supported as well.

Sounds good to me.  No one seems to object, so I'd suggest you go
ahead and push it to master.

Best regards,
Stefan Kangas




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

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


Received: (at 34481) by debbugs.gnu.org; 17 Oct 2019 10:36:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 17 06:36:54 2019
Received: from localhost ([127.0.0.1]:47202 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iL39K-0006V9-Hh
	for submit <at> debbugs.gnu.org; Thu, 17 Oct 2019 06:36:54 -0400
Received: from mout.web.de ([212.227.17.12]:57203)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1iL39J-0006Ur-5O
 for 34481 <at> debbugs.gnu.org; Thu, 17 Oct 2019 06:36:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1571308603;
 bh=36WN5w4l7+IVjgpRsoSgDgJwCH2bN0uvSaAtnDzsQ+U=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To;
 b=IS+RskuFXOTiYmiXRJU/graMgW8W3aL5uUgYXBfvfMl80I83k/UAvMbtrMZ+iIlNN
 9RmVLOavcqVA6Z/La5D3I2Jj4gT048095UOTKUeO0k4HMve/s7ll++RxmJAur6Ot1k
 HkUw3D0at9Zh5eDLCQQtwClnA9mnImQ4Ywa77ymU=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([94.218.222.9]) by smtp.web.de (mrweb103
 [213.165.67.124]) with ESMTPSA (Nemesis) id 0LZedc-1hc84V1WPc-00lYUA; Thu, 17
 Oct 2019 12:36:43 +0200
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
Subject: Re: bug#34481: 27.0.50; cl-flet, cl-labels and lambda expressions
References: <CADwFkmkpyXk4Pqprcbc4sFc0M3vKeF7SwvPmr+mnq-f3Fkq3ow@HIDDEN>
Date: Thu, 17 Oct 2019 12:36:50 +0200
In-Reply-To: <CADwFkmkpyXk4Pqprcbc4sFc0M3vKeF7SwvPmr+mnq-f3Fkq3ow@HIDDEN>
 (Stefan Kangas's message of "Fri, 4 Oct 2019 00:28:26 +0200")
Message-ID: <87r23br73x.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:zQds6CUnlJO8aqYSuDDtWFPxUgWjj8lfyKuwp9TDWElmZym1ITF
 KmTd3i9+YsVYpeiF3R5DJq09GKt+8sXEuZYVSGxpo4HyWbxWO37zIoFv19gxlJyFQop+frf
 ZuzTR5N1btIM5xD9UmQj14oW+jalfcF3NAyhnxLoc6Yfd1lNMIkmdGMDnUvVuWikJu+ixjQ
 6ST8VTsJbVBheUsZpsQtw==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:3WA17QzO/dg=:6KALV7OcgjafhFNkCczG6y
 YjTZY6S4lqKj84yF/2g+ffJQxdVurPTbhLSTSC+vj3X4lKM4uv0vhe0/Qw8Qt5zTdqrnUOxup
 xz6PJnRbe6w7Pmr+B/l9kYVSuI54Z7DPWvMrhT83R72fqJmuViTlny6g7HLxoJVDU26kuHfAz
 pmsWyeJswUZp+sEOF2uG4jBKUTlxk0gw2UrDrf+y526ftpt+RluRfKjZfGffrO6GIDY7DEPUf
 zwWo3NjZjlg18HT5f4CIpizGOVNpCA/Ky6ycUaSotgxN2+yiqGt61tADliqXInDb5eWsmvaLS
 Y2kDREsgaEYfAqy7KysDMr6N+1P6Wmf1ea1d7HLTpC3OkTx4/4Jc2pQK7trZ0yV8gSK9C6a6X
 Lfkj3S+PKwoq1A8scldhdFyoECTqs/vFTKGA7gf7Yrn1pFXcD3d8GtAa7gx7lbe44bxsvhU79
 0pmFZZhm6GhS2nH45stXeKHjOuwS+rmQfEsvmud7ZKs98rmHMFqvqEuWau9b05o25LEZiiYD5
 R6IOh5730zuYGFhs9YUw93HgF6cIiuoH5fYqiT5FpZFWB/wxmvoSegQ0opuXRDkwxpGMKUK4b
 PAZEgjbaWSES8U+Yjc6P4zpa010Ddoj3N5wfpU7eirt3TwuZmc2U9NKpONSC9sgHNJUdZjmAB
 ZrABhdwFKWLJ0d3e7+eINRShVdSVG68+TpZVCwB7ajaEiuCU51c3bFNwMHgQRLRycjiCG/MHQ
 VPkX/Pa5Myr7D1eo+223PBFoqgVCUgh8EVz6rnf2NbxSTN7CTt++dyhfy6/L1zidR644FknQp
 +6Z144p3+JzZV6xEI1txgVE63X+PahX3IFpG8AAP/wtsGII/gflgENtOV8CaOF8CTcTV1G852
 CYIqCbdgO7W2RX4yEJer3wnS52QG4DRIIoRp62eRPJQpxAVs0R9Z0uAKGLRpaJfczG9nTa0qG
 nkQ/fYxlwTT3cXrjlUByGM8maML0cYKkFTwW++YYCxwxcH+5Wq/gRXWKJQupRKc+Kw2NSnWvB
 EjyM4DzFR8d+ecThrSvBR7TpCv9eVtubJbL4we6/6QUftbmJ9frgzbEubiSoYEU1ROq7jq6MK
 3G8lKZN0J7nZXOexCL+wHMCLdymZ0Rbt+kb+UjUhfylZrygWtgdiuhG4+c1Fwdwwg+lk34QWi
 6mX4U6GNV1BfVDbBy4MK6JdeaNxBUHQrvV0LVjTdL4PUF8v80R56fyM4lT5B4scsKje6KN8Xj
 KjshJTLBnkObrEcRCzYuTqFZli3EQFIW+mB580lGGM1RH2+TSoWIRBYDxdws=
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 34481
Cc: 34481 <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 Kangas <stefan@HIDDEN> writes:

> Michael Heerdegen <michael_heerdegen@HIDDEN> writes:
>
> >> 1.  `cl-flet's edebug spec only works with one allowed syntax, when all
> >> bindings look like (FUNC ARGLIST BODY...).  The second possible syntax
> >> (FUNC EXP) makes edebug barf, no edebugging possible :-(

> The below patch fixes the problem for me at least.  If no one objects,
> perhaps we could install it?  Or could it make matters worse?

I don't think it could make it worse.  I also think now that it should
be correct.  AFAIU `def-form' doesn't need to be used but I think I
should use `function-form' instead of `form' so that quoted lambdas are
supported as well.


Michael.




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

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


Received: (at 34481) by debbugs.gnu.org; 3 Oct 2019 22:28:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 03 18:28:46 2019
Received: from localhost ([127.0.0.1]:41406 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iG9aY-0003Am-Fa
	for submit <at> debbugs.gnu.org; Thu, 03 Oct 2019 18:28:46 -0400
Received: from mail-pf1-f169.google.com ([209.85.210.169]:36255)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1iG9aW-0003AW-05
 for 34481 <at> debbugs.gnu.org; Thu, 03 Oct 2019 18:28:44 -0400
Received: by mail-pf1-f169.google.com with SMTP id y22so2648036pfr.3
 for <34481 <at> debbugs.gnu.org>; Thu, 03 Oct 2019 15:28:43 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc;
 bh=o4ZaBLE7u27XPHK7KnDYTwVpx645kaY4TjFX7m7cvj8=;
 b=JXQzF0S2owqWCPaXsP8UlObEODq/JmNJNSYeOGXZKMawNrXytMX0PK8dzAU3SZsfZV
 K5huAslIL9DdMfVhMe8MwQQJTF6w7VcAu5EDxBMT/b+bZfzCpmiz307l7bi7N/QRb01N
 Wb7TAqM4vEwx0efCrkkuuh2o2vdfVHuFfcqw2YJ3p9qZ/R6X4sX6DdTu7cI6oiuIgc96
 lvh3tYILrF1bkwfXjTGGOsOVRrYeRttXxJUpzpMgPMQM00kfCFvIz5sq730dKninH3rf
 cQv1AADIPyV44utD19yUO7GokHgdw4fCtlhO4/A04OlDubrdD5JA7JH3N2HvJo3pZJ/z
 G08g==
X-Gm-Message-State: APjAAAW7EoTlO83uxtF7RTrjWL6UUpsrmY+v95n5YOF6PQbDUGw32sGu
 x8E3FY/D/78izcld3/TKOgzDopEVZrr5LZoeLxs=
X-Google-Smtp-Source: APXvYqxeEGW2M6VW0IAFMUoJRDzBxFmVODs7TNvuw8cho5uEAou5IYr+qZMGGd1cSHVa9EKTS8Gysam0VTKJOYNqLxQ=
X-Received: by 2002:a62:e917:: with SMTP id j23mr13507568pfh.50.1570141718079; 
 Thu, 03 Oct 2019 15:28:38 -0700 (PDT)
MIME-Version: 1.0
From: Stefan Kangas <stefan@HIDDEN>
Date: Fri, 4 Oct 2019 00:28:26 +0200
Message-ID: <CADwFkmkpyXk4Pqprcbc4sFc0M3vKeF7SwvPmr+mnq-f3Fkq3ow@HIDDEN>
Subject: Re: bug#34481: 27.0.50; cl-flet, cl-labels and lambda expressions
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 34481
Cc: 34481 <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: -0.7 (/)

Michael Heerdegen <michael_heerdegen@HIDDEN> writes:

>> 1.  `cl-flet's edebug spec only works with one allowed syntax, when all
>> bindings look like (FUNC ARGLIST BODY...).  The second possible syntax
>> (FUNC EXP) makes edebug barf, no edebugging possible :-(

I also ran into this today.

> Who knows if this is correct?

The below patch fixes the problem for me at least.  If no one objects,
perhaps we could install it?  Or could it make matters worse?

> From 3859414d19bc9de1593af7276decafe9b34ee628 Mon Sep 17 00:00:00 2001
> From: Michael Heerdegen <michael_heerdegen@HIDDEN>
> Date: Tue, 19 Feb 2019 01:12:07 +0100
> Subject: [PATCH] Extend debug spec of cl-flet
>
> * lisp/emacs-lisp/cl-macs.el (cl-flet): Extend debug spec to cover
> definitions of the form (FUNC EXP).
> ---
>  lisp/emacs-lisp/cl-macs.el | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
> index 5faa055f99..9f79b1a7cf 100644
> --- a/lisp/emacs-lisp/cl-macs.el
> +++ b/lisp/emacs-lisp/cl-macs.el
> @@ -2044,7 +2044,9 @@ cl-flet
>  info node `(cl) Function Bindings' for details.
>
>  \(fn ((FUNC ARGLIST BODY...) ...) FORM...)"
> -  (declare (indent 1) (debug ((&rest (cl-defun)) cl-declarations body)))
> +  (declare (indent 1)
> +           (debug ((&rest [&or (&define name form) (cl-defun)])
> +                   cl-declarations body)))
>    (let ((binds ()) (newenv macroexpand-all-environment))
>      (dolist (binding bindings)
>        (let ((var (make-symbol (format "--cl-%s--" (car binding))))
> --
> 2.20.1
>
>
> I wasn't sure if I need to use "def-form" instead of "form" (I guess
> not) or if some "nil" or "gate" magic is needed in addition.

I don't know either, unfortunately.  I have only tested and verified
it fixed the problem for me.

Best regards,
Stefan Kangas




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

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


Received: (at 34481) by debbugs.gnu.org; 19 Feb 2019 02:36:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 18 21:36:18 2019
Received: from localhost ([127.0.0.1]:53495 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gvvGb-0003yT-V8
	for submit <at> debbugs.gnu.org; Mon, 18 Feb 2019 21:36:18 -0500
Received: from mout.web.de ([212.227.15.4]:41715)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1gvvGZ-0003y6-A5
 for 34481 <at> debbugs.gnu.org; Mon, 18 Feb 2019 21:36:16 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1550543769;
 bh=vXmIFwGEpPrmt9Mhe8piwYxb33LoN0VokgKyntYNr2g=;
 h=X-UI-Sender-Class:From:To:Subject:References:Date:In-Reply-To;
 b=Q1nXHvo61FXaGqw/DkcS7LxD7j7qnKxgCwlpDwV0W8pmyVDMhQZ0UVYjsAaUFbOWK
 3WCOFJCtIJ0snHE0gZtpaoaWq5LYs5eikjTHYKMuISVUZyVxZspxKeA/gMruBDK99j
 bw+PdKnO/iyT5oL6IMclxOlbxhyo6PVsqAlgo1ZY=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([88.67.111.211]) by smtp.web.de (mrweb001
 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MAdb9-1gk3Ix3Qmx-00Bpk8; Tue, 19
 Feb 2019 03:36:08 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: 34481 <at> debbugs.gnu.org
Subject: Re: bug#34481: 27.0.50; cl-flet, cl-labels and lambda expressions
References: <87r2c9iz02.fsf@HIDDEN> <87imxgegin.fsf@HIDDEN>
Date: Tue, 19 Feb 2019 03:36:07 +0100
In-Reply-To: <87imxgegin.fsf@HIDDEN> (Michael Heerdegen's message of "Tue, 19
 Feb 2019 02:03:28 +0100")
Message-ID: <87lg2cjyi0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:yi0l/UxGVfxSeeyLE+MvyYynAkHh++UHPIdkHq0TdBrk6dmfx/o
 TGezAn1llcIGV5mni7gDoXsq/lygosfnWdX/W64unBZ/+KrBKb8sJxehCNU9dHFdLOytcU0
 uEc6D+usfjQwwKBCtwE4FWkw3Zs4wKqXwfyOAcgequiDpwNCUewR3muTRe+jsA+v4bz+PqK
 VGW24FhD5Zpat9LCwcjqg==
X-Spam-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am-Score: -0.7 (/)
X-Debbugs-Envelope-To: 34481
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 (-)

Michael Heerdegen <michael_heerdegen@HIDDEN> writes:

> Another reason why I got used to prefer lambda expressions, also for
> cl-flet, is because elisp-mode indents the (FUNC ARGLIST BODY...) case
> so badly:
>
> (cl-labels ((f (x y z)
>                (* x y z))))

I wonder if (function-get 'cl-labels 'lisp-indent-function) should
better be bound to a suitable method function (which is allowed, but
seems not yet used anywhere).

Michael.




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

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


Received: (at 34481) by debbugs.gnu.org; 19 Feb 2019 01:03:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 18 20:03:42 2019
Received: from localhost ([127.0.0.1]:53476 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gvtp0-000071-8v
	for submit <at> debbugs.gnu.org; Mon, 18 Feb 2019 20:03:42 -0500
Received: from mout.web.de ([212.227.15.3]:51645)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1gvtox-00006f-JC
 for 34481 <at> debbugs.gnu.org; Mon, 18 Feb 2019 20:03:41 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1550538211;
 bh=FZY61+Nhf6pTgN7x1FwLy7l/gQkmXJdsylBhCY2Juwg=;
 h=X-UI-Sender-Class:From:To:Subject:References:Date:In-Reply-To;
 b=TmRV7gj5snfm9CdJdRRwLhzXI8/S8Nj048JQaKB+EIChiUwvlpDNQAe3/LbB//lh/
 3uUf5jfbjYybOlIvJaEXOh01JEVaubl2JVzVpInRuyBvkoHn/6j4WPuSPY9X61WykB
 nj1O3QYfLMbML4Mn8GQhe4yeYRQCd+0e5dMb0KYU=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([88.67.111.211]) by smtp.web.de (mrweb004
 [213.165.67.108]) with ESMTPSA (Nemesis) id 0Mh7qL-1giL100iZd-00MNaW; Tue, 19
 Feb 2019 02:03:31 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: 34481 <at> debbugs.gnu.org
Subject: Re: bug#34481: 27.0.50; cl-flet, cl-labels and lambda expressions
References: <87r2c9iz02.fsf@HIDDEN>
Date: Tue, 19 Feb 2019 02:03:28 +0100
In-Reply-To: <87r2c9iz02.fsf@HIDDEN> (Michael Heerdegen's message of "Fri, 15
 Feb 2019 03:09:17 +0100")
Message-ID: <87imxgegin.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:cPZ2+zJxLFPveGmdwbypDYjHqD/mgJj1NOsCvp0czao9FoYq/z3
 /QHAQiAopjWWvisM7LhRpgpaJEXtzRIqnviNVPNailxa/dCxnpvYbshV+0JUfc9rB9tGZbO
 cS84HSsIZHZPCTEJGg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btgPYjZ1AjajzO4knt63NI6gDwVlZeopZd+K8q5IMjWB3dcx+/HfUlsy
 /S6oB0LXjDw==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 34481
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 (-)

Michael Heerdegen <michael_heerdegen@HIDDEN> writes:

> 2.  `cl-labels' doesn't allow expressions evaluating to functions.  But
> I think we could allow lambda expressions.  Seems this would not even be
> hard to do: the macro constructs a lambda expression anyway (if we do
> this, we should take care of the edebug spec as well).  Oh - why I want
> this?  Just a matter of taste, I just prefer a lambda expression to the
> (FUNC ARGLIST BODY...) syntax.

Another reason why I got used to prefer lambda expressions, also for
cl-flet, is because elisp-mode indents the (FUNC ARGLIST BODY...) case
so badly:

(cl-labels ((f (x y z)
               (* x y z))))
vs.

(cl-labels ((f (lambda (x y z)
                 (* x y z)))))


Michael.




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

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


Received: (at 34481) by debbugs.gnu.org; 19 Feb 2019 00:22:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 18 19:22:34 2019
Received: from localhost ([127.0.0.1]:53459 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gvtBC-0006r8-Nu
	for submit <at> debbugs.gnu.org; Mon, 18 Feb 2019 19:22:34 -0500
Received: from mout.web.de ([212.227.15.3]:52689)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1gvtBA-0006qq-VJ
 for 34481 <at> debbugs.gnu.org; Mon, 18 Feb 2019 19:22:33 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1550535746;
 bh=Ew8aM9TDE9vqjpgcLgzDW1qj+HJM3oVQNF4roQ0Jvb4=;
 h=X-UI-Sender-Class:From:To:Subject:References:Date:In-Reply-To;
 b=Kx+9l5CFzLEiDgKXDZGeJtPcrE1BZjTFn41Ea4e03KmOtgxLQenjVv1h3Z5nR3v0P
 G1rsgNfCJJaJ7pWoCsYulwQjbCqHby0jzwZoVv7KW7dgzw6EUIq8EUXPlLyuHlACWO
 R/mLFV8LPesk6tlTpBq9lR+fhb4kl+JfDLxwR+7c=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([88.67.111.211]) by smtp.web.de (mrweb002
 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MDgTO-1gpseC1vUU-00HBGC; Tue, 19
 Feb 2019 01:22:26 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: 34481 <at> debbugs.gnu.org
Subject: Re: bug#34481: 27.0.50; cl-flet, cl-labels and lambda expressions
References: <87r2c9iz02.fsf@HIDDEN>
Date: Tue, 19 Feb 2019 01:22:25 +0100
In-Reply-To: <87r2c9iz02.fsf@HIDDEN> (Michael Heerdegen's message of "Fri, 15
 Feb 2019 03:09:17 +0100")
Message-ID: <87ftskeif2.fsf@HIDDEN>
User-Agent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1yyTeD
 M2oF2bDQZ9m663gPKZdJfSdSh3tpqrQ/aWJM4nZacRPLO8ZNg14/F+Co3+fyp0bYCheFAXfD/
 Nk26J3Fx9kz1eEDUodeDD86nWDPfYl3Nk6AWd3x+/Qllb2KvvSJ4/JFQ2idow3qF892Oj5nku
 1sas4c4EiZdhyy8vmNrH5reYuPqIFS11JGrXSCuvInBRp5AdFHohbnKmBZ/gWhEpbKG/mMDDA
 tNqdGrUioO5+XGKPNKuvimjQ/RqjUoRZ0+STGRWzEVFeG22IyohyU7fl5M1/zPu/ohIpkgt3I
 1udBlVMAyOg==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 34481
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 (-)

--=-=-=
Content-Type: text/plain

Michael Heerdegen <michael_heerdegen@HIDDEN> writes:

> Hi,
>
> two related little issues:
>
> 1.  `cl-flet's edebug spec only works with one allowed syntax, when all
> bindings look like (FUNC ARGLIST BODY...).  The second possible syntax
> (FUNC EXP) makes edebug barf, no edebugging possible :-(

Who knows if this is correct?


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline;
 filename=0001-Extend-debug-spec-of-cl-flet.patch
Content-Transfer-Encoding: quoted-printable

=46rom 3859414d19bc9de1593af7276decafe9b34ee628 Mon Sep 17 00:00:00 2001
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
Date: Tue, 19 Feb 2019 01:12:07 +0100
Subject: [PATCH] Extend debug spec of cl-flet

* lisp/emacs-lisp/cl-macs.el (cl-flet): Extend debug spec to cover
definitions of the form (FUNC EXP).
=2D--
 lisp/emacs-lisp/cl-macs.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index 5faa055f99..9f79b1a7cf 100644
=2D-- a/lisp/emacs-lisp/cl-macs.el
+++ b/lisp/emacs-lisp/cl-macs.el
@@ -2044,7 +2044,9 @@ cl-flet
 info node `(cl) Function Bindings' for details.

 \(fn ((FUNC ARGLIST BODY...) ...) FORM...)"
-  (declare (indent 1) (debug ((&rest (cl-defun)) cl-declarations body)))
+  (declare (indent 1)
+           (debug ((&rest [&or (&define name form) (cl-defun)])
+                   cl-declarations body)))
   (let ((binds ()) (newenv macroexpand-all-environment))
     (dolist (binding bindings)
       (let ((var (make-symbol (format "--cl-%s--" (car binding))))
=2D-
2.20.1


--=-=-=
Content-Type: text/plain


I wasn't sure if I need to use "def-form" instead of "form" (I guess
not) or if some "nil" or "gate" magic is needed in addition.

And to which branch should I install it if it happens to be correct?


Thanks,

Michael.

--=-=-=--




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

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


Received: (at submit) by debbugs.gnu.org; 15 Feb 2019 02:10:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 14 21:10:00 2019
Received: from localhost ([127.0.0.1]:48488 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1guSwx-00043y-NP
	for submit <at> debbugs.gnu.org; Thu, 14 Feb 2019 21:09:59 -0500
Received: from eggs.gnu.org ([209.51.188.92]:37177)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1guSwu-00043h-OK
 for submit <at> debbugs.gnu.org; Thu, 14 Feb 2019 21:09:57 -0500
Received: from lists.gnu.org ([209.51.188.17]:58028)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <michael_heerdegen@HIDDEN>)
 id 1guSwk-0001fE-Lp
 for submit <at> debbugs.gnu.org; Thu, 14 Feb 2019 21:09:49 -0500
Received: from eggs.gnu.org ([209.51.188.92]:51551)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1guSwj-0001lJ-PU
 for bug-gnu-emacs@HIDDEN; Thu, 14 Feb 2019 21:09:46 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_40,FREEMAIL_FROM,
 RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <michael_heerdegen@HIDDEN>) id 1guSwZ-0000iA-4B
 for bug-gnu-emacs@HIDDEN; Thu, 14 Feb 2019 21:09:38 -0500
Received: from mout.web.de ([212.227.17.12]:47065)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <michael_heerdegen@HIDDEN>)
 id 1guSwP-0008WF-5i
 for bug-gnu-emacs@HIDDEN; Thu, 14 Feb 2019 21:09:29 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
 s=dbaedf251592; t=1550196558;
 bh=fRrCJJ+qrMW0IirsB9vBaYWyDQDeQbkWQiw6AW/AHyU=;
 h=X-UI-Sender-Class:From:To:Subject:Date;
 b=mvI8fc/PI+4KNV/QFM2BxlEm7Xo74eMeXMH+dVGRDb975JtJSm53xBz3lhmzpvsxT
 vId5+oJ0ymV322LCBdGJkfnzNtWWvaUhYuuocY4ZLVlOgiqW7bNDJbk6XtvjEkz23H
 VJXym/xiayV3twYjuhe2RrG9IqtXHsrKL7yOFR8Q=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from drachen.dragon ([88.67.111.211]) by smtp.web.de (mrweb103
 [213.165.67.124]) with ESMTPSA (Nemesis) id 0M5g0a-1hIqRy2JZY-00xbXT for
 <bug-gnu-emacs@HIDDEN>; Fri, 15 Feb 2019 03:09:18 +0100
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.0.50; cl-flet, cl-labels and lambda expressions
Date: Fri, 15 Feb 2019 03:09:17 +0100
Message-ID: <87r2c9iz02.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:KA9nMNylqoecMfIGnmS+ecqM5nr/2ZuXLh8oD46el2XMpXZFVa4
 vp/n/iNdwyFSfOTzMt8iPlk2nv3gR63RkOKQVqwa9XBY4Kf6F+QDg0vYfhnbPx76Kcg5GWH
 sHRey/WCah1iVfC5yCmp0hJ/SOc4maa3owWzSu1CzzJqqN9ffosDWZRDWVN6n6nP2aas4GY
 HqP5dsZWd+R0ZYV7+VqPw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:l5I1x6B2XHM=:yhhonkIL7NwJY8NiMrjjne
 qYG/vcdJGgC48BGrl4Nn7H+Tr1a7t+xwGLZHgIWjxD7tmRQJX75egbLxdcqA715JDRwl1qVjK
 qGv7EZ3Jtoc4HvAgQAJEpOIeTGb8wa25lf4+zxghG+VorNinN2yZNfbT1R+WCRa8N5o1RFO7Z
 a4pQqp/b50kQzhGPT7fN8wa0jSYaWsfXWYRhwdsYJq3cB82HCLd2Q6KRtAuym2Jn4xv6oqkn0
 8wIlKOSXlUGTS+7afN/Dd8Hk8hLkkWU7hQ63X3LrBdzx9S8qCuGIOEy8rXIcER+gJeUlYL977
 whI8u90EBmDWWdFaUBrPyCSZqegxBvLW+nzskfRlJ5HFz0UbNQFQ0VbJ+FyNK97SHFTxdu8yT
 3Pl3ZRDC+x04g8UV8qZXsYR7I5Lfcd0v6JyonALQyfG6CTlq3F8bExk7J/hsj+aLKsrqgPiIr
 7gDphqKDF4svUERXH4SoCf2xh6TDQPXQm0QyzlCbb5v5IgetC8HtiYyGRT3zD0x9uPoUYwc2h
 +fYa7jN83+WZGMFcR5bMgQkcIIJgpJJ5r7xkWdk7QTQTQasTQvsXyKdmFWmdZT9HON6tpgX6s
 pw9LaagOsjvooqa4euyknJX/C/RVGkUZsfp3fNxPNDw6tNrOD3wtYeLYBmeVfoem9khRS+A5g
 1uhsqoSNdezOSon5E3szFHCcnsjLqgjWUf7r8cca4GZHjqG3/Wfbglbt+LkpGGftZpl1uGE3M
 JT0UlMTpJ/CXxZd1HmR0a1CoAPT+zr76aft9W4r5QhSDDyR2VrgELTaw0vHyDJCBCJflZ8mIy
 kcwGjRkUPTg5szbGyRIdom6F28J0kp5Cwue6DAQ1tPa7L8l74wOssDii5JdytJ6VbkoK6kTji
 ZZu3tRMdrKYcIJsM45W6GugEeL3NQtJTsZ5LSksXCRxamgqcuyaHg3RRrYSjP8BgzdrpFRGX7
 LCceHwUpeow==
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 212.227.17.12
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: 0.9 (/)
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: -0.1 (/)


Hi,

two related little issues:

1.  `cl-flet's edebug spec only works with one allowed syntax, when all
bindings look like (FUNC ARGLIST BODY...).  The second possible syntax
(FUNC EXP) makes edebug barf, no edebugging possible :-(

2.  `cl-labels' doesn't allow expressions evaluating to functions.  But
I think we could allow lambda expressions.  Seems this would not even be
hard to do: the macro constructs a lambda expression anyway (if we do
this, we should take care of the edebug spec as well).  Oh - why I want
this?  Just a matter of taste, I just prefer a lambda expression to the
(FUNC ARGLIST BODY...) syntax.  And I think a (FUNC (lambda ...))
syntax would still be in line with the semantics.

What do you think?


Regards,

Michael.




Acknowledgement sent to Michael Heerdegen <michael_heerdegen@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#34481; 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, 25 Nov 2019 12:00:02 UTC

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