From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#65344: 28.2; Unable to Edebug cl-flet form which uses argument destructuring Date: Fri, 18 Aug 2023 08:43:41 +0200 Message-ID: <8b7fc1c2-ae6c-b825-c772-38b18ddb67d6@gmail.com> References: <040fe8aa-7a15-762c-e710-eb85f997d329@gmail.com> <871qg1tghr.fsf@web.de> <012813c5-cfc3-7ba9-5e84-70d79c172e77@gmail.com> <87zg2oyjre.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3331"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Cc: brandon.irizarry@gmail.com, Eli Zaretskii , 65344@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 18 08:44:13 2023 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 1qWtDQ-0000ig-Rt for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Aug 2023 08:44:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWtDJ-00054a-Ca; Fri, 18 Aug 2023 02:44:05 -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 1qWtDG-00054L-So for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 02:44:02 -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 1qWtDF-0005lb-Gu for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 02:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qWtDF-0000th-Nu for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 02:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Aug 2023 06:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65344 X-GNU-PR-Package: emacs Original-Received: via spool by 65344-submit@debbugs.gnu.org id=B65344.16923410323424 (code B ref 65344); Fri, 18 Aug 2023 06:44:01 +0000 Original-Received: (at 65344) by debbugs.gnu.org; 18 Aug 2023 06:43:52 +0000 Original-Received: from localhost ([127.0.0.1]:46004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWtD6-0000tA-8f for submit@debbugs.gnu.org; Fri, 18 Aug 2023 02:43:52 -0400 Original-Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]:55564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWtD4-0000sv-1v for 65344@debbugs.gnu.org; Fri, 18 Aug 2023 02:43:51 -0400 Original-Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-523476e868dso668630a12.3 for <65344@debbugs.gnu.org>; Thu, 17 Aug 2023 23:43:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692341024; x=1692945824; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=TrxKW9DGrbgM2CoD/TXpQ9jfXyihwbKSQ1iZCNskgq0=; b=ZRhXDWLnrsaPOKLy1RpS2wSkTFmLR2fjpX1ZnYdRUKWENkQR0xyTzoiHdEs7SMeGW4 crDNXb4m3ueaYGfG02pojnkh1ZcgktUkAmsqgsYmCo1tRgg34U1IQL7+iZYHyXuHY+By Kk/CSG9iwsoHfJEcmky5+PRh39PJXGFq+NLGCyJfTEF2z8ubivDy5VEA6H9DHZczfKR9 L1c7Fqm11XXeVgYyVxhWeIrBTiaOci6gHEAUqGjL0Toc4rUJYfLbDtUHaQaHqY8mT8vk goa3mS8lQN9qnIjyt4V+ISR7DHr7X9Mb59NxNW2wYH6cGj5zKQysqvssKDOdWN08ligy gMFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692341024; x=1692945824; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TrxKW9DGrbgM2CoD/TXpQ9jfXyihwbKSQ1iZCNskgq0=; b=EKyVPl0aFDcXv7sSUeimXo1yg1JfOpTu+5cmyxVhz2xAMn8LYMTuyQh7pxa+j55/PW hB35MS699ka8C3Ed0pHBM+qhFnPjZ6WumJpnztvCDCXoaGUPpi/cMERIhAGf86Txqt+N h4gxHyAA/MtdM8bSLmOaOE6PxorBPabzCU4J2n7HN3QhSCZ8ueiUSw2/1/I3QYd51uIc 8+c8GBbyTrMrbMgB1tt09Yp20ozuvithYQF2LldM4qHw6q8JvgzN3s2ovm13GUAolyUn FLuFshQPpngBx5yIba7b6FGnrbuDopW4MIdWByGd/wjaoTK2ZbD9LJj0yDm/lUiYiFwQ PnlA== X-Gm-Message-State: AOJu0Yy0pMt/S5WZXuEInbCApeqS6UwMGHY9WABcA8oO4XfRpMyjQ9T+ /raUsaDoyx6mLwA+WyVM1nE= X-Google-Smtp-Source: AGHT+IGSFO/EOptlshTdmAmBTXvI+i3jDgw9Ku31fMlQavZd8pjv2IV053Qc3CEQxVwP0lJS9SHYTQ== X-Received: by 2002:aa7:c30d:0:b0:525:4420:c425 with SMTP id l13-20020aa7c30d000000b005254420c425mr1416481edq.12.1692341023830; Thu, 17 Aug 2023 23:43:43 -0700 (PDT) Original-Received: from [192.168.178.21] (pd9e3605e.dip0.t-ipconnect.de. [217.227.96.94]) by smtp.gmail.com with ESMTPSA id g11-20020a50ee0b000000b005232ddd0151sm716270eds.52.2023.08.17.23.43.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Aug 2023 23:43:43 -0700 (PDT) Content-Language: en-US In-Reply-To: <87zg2oyjre.fsf@web.de> 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:267730 Archived-At: On 18.08.23 07:58, Michael Heerdegen wrote: > Gerd Möllmann writes: > >> which I would naively expect to be suitable for a single function in >> an flet/labels. (Maybe without the (setf ...) case, I'm not sure >> ATM). > > That's correct, but only one part. RIght, that's what I meant. >> Do you perhaps have an insight why there are two &name in the flet >> spec? > > Eh - not really. That's some internal magic - to correctly associate > the code with the function names or something like that, I guess. Ok. It's probably not important. >> Also naively asked, what does the &or in the flet case mean? Does it >> say that that the elements of the flet can either be symbols or >> functions? > > There is a second syntax to support: a function binding can also have > the syntax (fname EXPR) instead of (fname args body...). EXPR can be a > lambda expression but also any arbitrary Lisp returning a function > value. (Another nominee for the most obscure feature of the month. That's also not in CL, BTW.) When I try something like (cl-flet (y (x (lambda () 1))) (x)) I get a not-a-list error from the Y. That's kind of what I'm wondering. The debug declaratino for flet has the symbolp at the same level as the local-function &define. And, if that's the problem, the next question would then be how to declare a binding (FN VALUE). Maybe (%define &name ... )?