From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61179: lambda inside interactive form of around advice isn't a closure Date: Wed, 01 Feb 2023 17:34:43 -0500 Message-ID: References: <87tu082fcy.fsf@bernoul.li> <87ilgm41a4.fsf@bernoul.li> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39954"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 61179@debbugs.gnu.org To: Jonas Bernoulli Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 01 23:36:26 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 1pNLiL-000AAy-L1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Feb 2023 23:36:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNLi1-0004hM-Gn; Wed, 01 Feb 2023 17:36:05 -0500 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 1pNLhz-0004hA-CM for bug-gnu-emacs@gnu.org; Wed, 01 Feb 2023 17:36:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pNLhy-0006hE-5n for bug-gnu-emacs@gnu.org; Wed, 01 Feb 2023 17:36:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pNLhx-0004w1-NK for bug-gnu-emacs@gnu.org; Wed, 01 Feb 2023 17:36:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Feb 2023 22:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61179 X-GNU-PR-Package: emacs Original-Received: via spool by 61179-submit@debbugs.gnu.org id=B61179.167529090218891 (code B ref 61179); Wed, 01 Feb 2023 22:36:01 +0000 Original-Received: (at 61179) by debbugs.gnu.org; 1 Feb 2023 22:35:02 +0000 Original-Received: from localhost ([127.0.0.1]:60077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNLh0-0004ud-Eg for submit@debbugs.gnu.org; Wed, 01 Feb 2023 17:35:02 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:32375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNLgz-0004u7-81 for 61179@debbugs.gnu.org; Wed, 01 Feb 2023 17:35:01 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 0D1D51000D0; Wed, 1 Feb 2023 17:34:55 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 463E710000A; Wed, 1 Feb 2023 17:34:53 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1675290893; bh=la8fLewcKr+faMT9Tw9TpUvrf+quLZSZ0r6GcznNHjE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=IrsYHBuYZZYKBuKnjxx0GWJCj4a9D0+ueaYNM0h/uXnVwDwT+RhHWTkM6rQ1tsDWj 5LSTSBj2NwRyjqtHqBgbrSLbegaBDch8FZPERam6A1wQv+ksq4mcxBCICqhYIKMq0V 6QoJO4MIonFoTesM9fkermWM7OAEDmBsgOM55GLFZJopDVkzVfzBtB0Oc7GJvrEpKm /y2vZPQ78X9iUQHi9u6YsD4cyiHSW5QEmosEa6Pt0cCJGJiTNmraHnl5dmOiUwI33C 2h53tQRVDWEFuS1AvzKgPVpMib1EXOqlHHvyqgbS8iflH4DlkwP9fRIiyOUpeNEo3m tDjPOSdIEDzhw== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 0FD591208E7; Wed, 1 Feb 2023 17:34:53 -0500 (EST) In-Reply-To: <87ilgm41a4.fsf@bernoul.li> (Jonas Bernoulli's message of "Wed, 01 Feb 2023 02:33:55 +0100") 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:254608 Archived-At: > I'm having troubles falling asleep because my brain insists on rewording > the following (even though --or perhaps exactly because-- there is not > really any need to mention it at all). So I might as well try if typing > it out helps. ;) > > I actually though of that, and the initial poc worked. I did that late > at night also updated transient to use it. In the morning I noticed > that there actually were many errors, and while I suspected that the > failure had nothing to do with this part of my change, it still lost > confidence in that approach, and since I felt some pressure to get > things done before the Emacs pre-release I stopped pursuing it. > Somehow I forgot about it when I wrote the above. > > Now that you have suggested the same, my confidence is back. And now > that I have written the above, I should also be able to fall asleep. ;P I hope your slept well. The code I sent is, as usual, 100% guaranteed untested, but it *should* work modulo silly errors. > I'll only need it once; would you recommend using a helper in that case too? Either way works. Stefan