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 636412A9E8 for ; Fri, 2 Feb 2024 00:43:28 +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 1rVgiG-000000042I1-1zSM for ml@inbox.vuxu.org; Thu, 01 Feb 2024 17:43:22 -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 1rVgiE-0000000477P-1vHz for ml@inbox.vuxu.org; Thu, 01 Feb 2024 17:43:18 -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 1rVgiA-0000000476Q-3ghG for ding@lists.math.uh.edu; Thu, 01 Feb 2024 17:43:15 -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 1rVfZA-000000041oi-25VA for ding@lists.math.uh.edu; Thu, 01 Feb 2024 16:29:53 -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=Z1Me/7avmgjQ+iWxUeRmZ54dTQPpcYa3m+07kQ6tURI=; b=rHMnUP1zUoSWlnQTFpxfuFbnoT 6Xjd3zpjCJk3jFtkFfoiOaMaLtz0jS5DwUiZY46onHN3gAWYeNhjLrhIF0TMmaEHvfuMj6J1OlL3K 1OYZLdJEvMak12e+iQHMw4YbSOdBXJX/2fBpixY9zrLqaGllGCxtvifI5eYf8OksqHn8=; 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 1rVfZ3-0006qn-0Y for ding@gnus.org; Thu, 01 Feb 2024 23:29:47 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1rVfZ1-00066U-MF for ding@gnus.org; Thu, 01 Feb 2024 23:29:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Eric Abrahamsen Subject: Re: problem with (display . [not expire]) with git emacs Date: Thu, 01 Feb 2024 14:29:34 -0800 Message-ID: <87cytfkecx.fsf@ericabrahamsen.net> References: <87v879qn62.fsf@uwo.ca> <87jznpqdep.fsf@uwo.ca> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:r7+Bo8hhP1ZYg1NsBSkCGdqTP7k= List-ID: Precedence: bulk Dan Christensen writes: > Two additional things. First, I should have said that Gnus does not > raise an error. It just silently ignores my [not expire] setting. > > Second, here is a link to the relevant commit, which shows the diff: > > https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=8525be6d5eca0c75008ec1dc799cae537156feea > > Is anyone else using git emacs since Nov 29 and also using (display > . [not expire])? I just tried it out, and actually got a popup buffer with the "Malformed function" error you mentioned in your first message. Looks like the culprit is effectively this: (gnus-byte-compile `(lambda () ,(cdr (assoc 'expire gnus-summary-display-cache)))) That's pretty much what `gnus-category-make-function' is doing, given that at that point `gnus-category-predicate-alist' has been let-bound to the value of `gnus-summary-display-cache'. I don't see where that variable gets all its values, but one of its elements is: (expire . #f(compiled-function () #)) And apparently that's what is barfing when it gets byte compiled. Weirdly, after fooling around with it a bit, the bytecode there must have gotten "fixed" somehow, and the display parameter stopped giving me an error (and started working correctly). Dunno what's happening there. Eric