From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from mx1.math.uh.edu (mx1.math.uh.edu [129.7.128.32]) by inbox.vuxu.org (Postfix) with ESMTP id 2482628F1F for ; Fri, 2 Feb 2024 16:43:36 +0100 (CET) Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1rVvhV-00000004VUz-3oUm for ml@inbox.vuxu.org; Fri, 02 Feb 2024 09:43:34 -0600 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.97.1) (envelope-from ) id 1rVvhP-0000000498r-3By8 for ml@inbox.vuxu.org; Fri, 02 Feb 2024 09:43:27 -0600 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.97.1) (envelope-from ) id 1rVvhN-0000000494x-2CMj for ding@lists.math.uh.edu; Fri, 02 Feb 2024 09:43:25 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1rVv0J-00000004V4b-2FvL for ding@lists.math.uh.edu; Fri, 02 Feb 2024 08:58:56 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version:References:Message-ID:Date:Subject: From:To:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fPrwiUMA7aTHvZ4JcEUovNeKJ5f8FZhhW7ibLMA4BVM=; b=ntSDUkJLzGAY/K4gtog7dQ8QlX OJ/gfU4uS5qy3nu7RGkYAatil2bkFUIj7sqC35WDQqBGuDqkJ3JR9UB11EJxDtr7g/Slmhgs5Ak22 OgTIJmlx2GQQ/tGI2103iFfiIhR1g692ltOM7O7KWU8L4OVC/RvcLlGQbxLWPmdvOCSM=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rVv0C-0007DG-PU for ding@gnus.org; Fri, 02 Feb 2024 15:58:51 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1rVv0C-0002BQ-32 for ding@gnus.org; Fri, 02 Feb 2024 15:58:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org To: ding@gnus.org From: Dan Christensen Subject: Re: problem with (display . [not expire]) with git emacs Date: Fri, 02 Feb 2024 09:58:36 -0500 Message-ID: <87sf2aoqub.fsf@uwo.ca> References: <87v879qn62.fsf@uwo.ca> <87jznpqdep.fsf@uwo.ca> <87cytfkecx.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:Lhw1qFMtbp8y6PRzRxnYO1GgNiU= Mail-Copies-To: never List-ID: Precedence: bulk On Feb 1, 2024, Eric Abrahamsen wrote: > I just tried it out, and actually got a popup buffer with the "Malformed > function" error you mentioned in your first message. Glad to hear that it's not just me. I wish I could get that pop-up as well, or that I could make emacs enter the debugger when this happens. It would be easier to figure out that way. Any idea why we would have different behaviour here? > Looks like the culprit is effectively this: > > (gnus-byte-compile > `(lambda () > ,(cdr (assoc 'expire gnus-summary-display-cache)))) I think it's like that but with '(not expire). When the predicate is a single symbol, it looks like this code skips byte compilation: (if (and (= (length func) 1) (symbolp (car func))) (car func) (gnus-byte-compile `(lambda () ,func))))) (But I'm not sure how (display . expire) results in a *list* of length one.) Can you confirm that you don't get the error with (display . expire)? Do you think the issue is that we're trying to byte-compile an already compiled function? Do you think the commit I referenced introduces a bug, or that it reveals an existing bug in Gnus? Do you suggest that I post to an emacs devel list, or can we fix it here? Dan