From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#71934: comp--spill-lap-function and closure (wad: bug#71934: 31.0.50; edebug--called-interactively-skip vs. new fun objects) Date: Mon, 8 Jul 2024 10:18:51 +0000 Message-ID: References: <87bk3b8h2n.fsf@web.de> <871q44br8r.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32791"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, Eli Zaretskii , Andrea Corallo , Stefan Monnier , 71934@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 08 12:20:14 2024 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 1sQlTi-0008Id-71 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Jul 2024 12:20:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQlTT-0006cw-OZ; Mon, 08 Jul 2024 06:19:59 -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 1sQlTR-0006cY-2h for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2024 06:19:57 -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 1sQlTQ-0007w5-Pt for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2024 06:19:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sQlTV-0004aG-I5 for bug-gnu-emacs@gnu.org; Mon, 08 Jul 2024 06:20:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Jul 2024 10:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71934 X-GNU-PR-Package: emacs Original-Received: via spool by 71934-submit@debbugs.gnu.org id=B71934.172043394617546 (code B ref 71934); Mon, 08 Jul 2024 10:20:01 +0000 Original-Received: (at 71934) by debbugs.gnu.org; 8 Jul 2024 10:19:06 +0000 Original-Received: from localhost ([127.0.0.1]:49780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQlSc-0004Yw-8H for submit@debbugs.gnu.org; Mon, 08 Jul 2024 06:19:06 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:45973) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQlSa-0004YS-2w for 71934@debbugs.gnu.org; Mon, 08 Jul 2024 06:19:04 -0400 Original-Received: (qmail 96374 invoked by uid 3782); 8 Jul 2024 12:18:52 +0200 Original-Received: from muc.de (pd953a093.dip0.t-ipconnect.de [217.83.160.147]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 08 Jul 2024 12:18:52 +0200 Original-Received: (qmail 5380 invoked by uid 1000); 8 Jul 2024 10:18:51 -0000 Content-Disposition: inline In-Reply-To: <871q44br8r.fsf@web.de> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.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:288584 Archived-At: Hello, Michael. On Mon, Jul 08, 2024 at 03:35:16 +0200, Michael Heerdegen wrote: > Alan Mackenzie writes: > > It's apparent that the one that used to work, > > (cl-defmethod comp--spill-lap-function ((form list)) > > , no longer works since function forms were converted to a different > > format in March. It needs modifying to handle the new format. > That was the question. > So, of what kind can the argument FORM be? Any form (any lisp > expression - any kind of "code") - lambda lists, function values? I'm not entirely sure what you mean by "function value". Before March, that method handled lists whose car was either lambda or closure. It likely still does. > As far as I understand the above method originally supported lambda > lists and you made it handle function values as well. I made it handle lists with a car of closure. > And because function values are now represented differently the above > method does not handle this case any more. > Is this correct? I think so, yes. It would appear we need a new version of comp--spill-lap-function to handle the new format of functions. > Thx, > Michael. -- Alan Mackenzie (Nuremberg, Germany).