From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#34481: 27.0.50; cl-flet, cl-labels and lambda expressions Date: Fri, 15 Feb 2019 03:09:17 +0100 Message-ID: <87r2c9iz02.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="81959"; mail-complaints-to="usenet@blaine.gmane.org" To: 34481@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 15 03:10:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1guSx8-000LCG-Dz for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Feb 2019 03:10:10 +0100 Original-Received: from localhost ([127.0.0.1]:58187 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guSx7-0001nr-1p for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Feb 2019 21:10:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guSx1-0001nl-09 for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2019 21:10:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guSx0-0002Qc-9I for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2019 21:10:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49207) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1guSx0-0002QK-5N for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2019 21:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1guSwz-00044K-U1 for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2019 21:10:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Feb 2019 02:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34481 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.155019660015626 (code B ref -1); Fri, 15 Feb 2019 02:10:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Feb 2019 02:10:00 +0000 Original-Received: from localhost ([127.0.0.1]:48488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guSwx-00043y-NP for submit@debbugs.gnu.org; Thu, 14 Feb 2019 21:09:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guSwu-00043h-OK for submit@debbugs.gnu.org; Thu, 14 Feb 2019 21:09:57 -0500 Original-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 ) id 1guSwk-0001fE-Lp for submit@debbugs.gnu.org; Thu, 14 Feb 2019 21:09:49 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guSwj-0001lJ-PU for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2019 21:09:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guSwZ-0000iA-4B for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2019 21:09:38 -0500 Original-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 ) id 1guSwP-0008WF-5i for bug-gnu-emacs@gnu.org; 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 Original-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 ; Fri, 15 Feb 2019 03:09:18 +0100 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+zr76aft9W4r5QhSDDyR2VrgELTaw0vHyDJCBCJflZ8mI X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:155429 Archived-At: 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.