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: Mon, 21 Aug 2023 09:01:35 +0200 Message-ID: References: <040fe8aa-7a15-762c-e710-eb85f997d329@gmail.com> <871qg1tghr.fsf@web.de> <012813c5-cfc3-7ba9-5e84-70d79c172e77@gmail.com> <87zg2oyjre.fsf@web.de> <8b7fc1c2-ae6c-b825-c772-38b18ddb67d6@gmail.com> <877cpqs6vi.fsf@web.de> <87wmxqs0ti.fsf@web.de> <616b60fc-9f68-14ae-d262-716eb0cc685d@gmail.com> <87h6ot19av.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9221"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) 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 Mon Aug 21 09:02:27 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 1qXyvi-0002H4-O3 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Aug 2023 09:02:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXyvP-0006Zd-Ev; Mon, 21 Aug 2023 03:02: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 1qXyvJ-0006ZG-E8 for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2023 03:02:01 -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 1qXyvI-0006Fy-Nw for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2023 03:02:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qXyvK-0000f3-HL for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2023 03:02:02 -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: Mon, 21 Aug 2023 07:02:02 +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.16926013072517 (code B ref 65344); Mon, 21 Aug 2023 07:02:02 +0000 Original-Received: (at 65344) by debbugs.gnu.org; 21 Aug 2023 07:01:47 +0000 Original-Received: from localhost ([127.0.0.1]:55281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXyv4-0000eX-Q2 for submit@debbugs.gnu.org; Mon, 21 Aug 2023 03:01:47 -0400 Original-Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]:53466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXyv3-0000eG-8j for 65344@debbugs.gnu.org; Mon, 21 Aug 2023 03:01:45 -0400 Original-Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-99c353a395cso391754166b.2 for <65344@debbugs.gnu.org>; Mon, 21 Aug 2023 00:01:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692601297; x=1693206097; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=lzdI6xMCsCcZQL0fe4RqkrLF8fDl1ZDfdkWbzWmC++0=; b=kVvbmLKtoLChXE+SzraKPMpLyDIBfZwiXGDnIcYGnSj2vb/Yk/SLNdD55rGyZzp49Y /gHJLykt+PVAFsrE8dFvS2/vBngzDVxQiThLVzzJi82lGiqJ1PXfVzD3ROHZOw/fiAJa /S7KrbThJiObQjer17yZAaCWyXZR0JgkN99/c0nLwrjmOXHWiCGUMNwxaC8qd5NhbV23 Ag+y7aVkeETqEcyqCkK/9ziV5S5v33PWoPuFQy87hCvLaiUywAVcMztM14xVBzSXtYEb w5fc0Wh+f/FEkTcIXRsdHRV79CZJwU73DLkLCC+ZIhQIvf9Yf7sru+0fvmH8duA9rpen W/TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692601297; x=1693206097; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=lzdI6xMCsCcZQL0fe4RqkrLF8fDl1ZDfdkWbzWmC++0=; b=gELOrodqTUMUP0FyW4IXFyZxJkm0tz+jOvvYBKyiyejHwSBcAW8HceCw9VqE4yahlq fiS630mnmg3gfDGppfcgRCtva7W+fKuSNJuSITiQxgucy6XesYhuKyFpYc4GlWxrH7ar UAc/DChQ7RFCs+B7qs0HRbKceDllb4VNnboGUVZmkfdNhES769omsbANwqyy3EqXF4fc MC+8RZg2d+s8379lfFZKUbIZ3u1KMLnf3Ny8y4HCMCX2k8/GAPLU10P4otjkmDvOGeN8 cGmiI/hsVN5W03je0THeUoNDTHHxmhJMm28HyAb2DHmoejpeNzVSIPd5xuFqDbt2qoT6 3qoA== X-Gm-Message-State: AOJu0YwsXdpIPugEjLpDRqUtFx00wbP2WWMW0DyEbkrgGMd+bxnZzZgX Y5DTbh6PSu/CHaj7wzwJLJnO6Qa0m4KS6Q== X-Google-Smtp-Source: AGHT+IEF5Sj9r7yxUtE1Agk2hvimy6eaQwaWUCgzrGTGt27AzE/vn1sF7a7OcxRLFUjml465jRaNqg== X-Received: by 2002:a17:906:8446:b0:993:ec0b:1a24 with SMTP id e6-20020a170906844600b00993ec0b1a24mr3979387ejy.7.1692601296714; Mon, 21 Aug 2023 00:01:36 -0700 (PDT) Original-Received: from Mini.fritz.box (p54b0c3f1.dip0.t-ipconnect.de. [84.176.195.241]) by smtp.gmail.com with ESMTPSA id bs9-20020a170906d1c900b0099bcd1fa5b0sm5990971ejb.192.2023.08.21.00.01.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Aug 2023 00:01:36 -0700 (PDT) In-Reply-To: <87h6ot19av.fsf@web.de> (Michael Heerdegen's message of "Mon, 21 Aug 2023 03:19:36 +0200") 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:268060 Archived-At: BTW, after adding a test for this to test/emacs-lisp/cl-macs-tests.el, I'm now a bit puzzled. The test succeeds without my changes. This is the new test case: (ert-deftest cl-flet/edebug () "Check that we can instrument `cl-flet' forms (bug#65344)." (with-temp-buffer (print '(cl-flet (;; "Obscure" form of binding supported by cl-flet (x (progn (list 1 2) (lambda ()))) ;; Destructuring lambda-list (y ((min max)) (list min max)) ;; Regular binding plus shadowing. (z (a) a) (z (a) a)) (y '(1 2))) (current-buffer)) (let ((edebug-all-defs t) (edebug-initial-mode 'Go-nonstop)) ;; Just make sure the forms can be instrumented. (eval-buffer)))) Instrumenting the cl-flet of the test case interactively in "emacs -Q" with C-M-x fails, as expected. An interactive eval-buffer with edebug-all-defs set to t succeeds. So there's something else fishy somewhere, I'd guess, which is unfortunate, because that pattern with eval-buffer is also used elsewhere in cl-macs-tests.