From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#68931: 30.0.50; Gnus byte-compilation error with (display . [not expire]) with git emacs Date: Mon, 05 Feb 2024 07:42:41 -0800 Message-ID: <87fry63ojy.fsf@ericabrahamsen.net> References: <87ttmnop61.fsf@uwo.ca> <86r0hr13eu.fsf@gnu.org> <523B7DE4-EA66-4686-845A-35CDCC575F92@gmail.com> <86jznj0yol.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32731"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , 68931@debbugs.gnu.org, jdc@uwo.ca, monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 05 16:44: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 1rX18m-0008JG-Tc for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Feb 2024 16:44:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rX18S-0003gW-AQ; Mon, 05 Feb 2024 10:43:53 -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 1rX18P-0003gH-O9 for bug-gnu-emacs@gnu.org; Mon, 05 Feb 2024 10:43:49 -0500 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 1rX18P-0000ea-6r for bug-gnu-emacs@gnu.org; Mon, 05 Feb 2024 10:43:49 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rX18b-0005gS-Nu for bug-gnu-emacs@gnu.org; Mon, 05 Feb 2024 10:44:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Feb 2024 15:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68931 X-GNU-PR-Package: emacs Original-Received: via spool by 68931-submit@debbugs.gnu.org id=B68931.170714778721770 (code B ref 68931); Mon, 05 Feb 2024 15:44:01 +0000 Original-Received: (at 68931) by debbugs.gnu.org; 5 Feb 2024 15:43:07 +0000 Original-Received: from localhost ([127.0.0.1]:52087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX17i-0005f4-FZ for submit@debbugs.gnu.org; Mon, 05 Feb 2024 10:43:06 -0500 Original-Received: from mail.ericabrahamsen.net ([52.70.2.18]:36456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rX17e-0005eW-75 for 68931@debbugs.gnu.org; Mon, 05 Feb 2024 10:43:04 -0500 Original-Received: from localhost (71-212-21-65.tukw.qwest.net [71.212.21.65]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 17459FA183; Mon, 5 Feb 2024 15:42:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1707147763; bh=TnzrdtftYVkKR9+oAiFzgUI/0nPdeUYKIZxkP7dKb7U=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=lu20pLUQmEhQKf1DpeiW5YRZDBIl+43RsvNVbEF7ZXS/tZzZNTFN3MF1Da2TitCON z2p5qS20nSuGMsqIGkBlVyCoUtiUeXeSBwxu3nPwBWYByDm+EWoR0KTfyOTMfse8Jl eTO3aPxrJr+CR3p4qbN0rR3ZKRTHBmbdXHgEeUm8= In-Reply-To: <86jznj0yol.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 05 Feb 2024 16:32:10 +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:279454 Archived-At: Eli Zaretskii writes: >> From: Mattias Engdeg=C3=A5rd >> Date: Mon, 5 Feb 2024 15:00:36 +0100 >> Cc: Dan Christensen , >> 68931@debbugs.gnu.org, >> Stefan Monnier >>=20 >> >> Debugger entered--returning value: "Malformed function =E2=80=98#[0 >> >> \"\\301\\300!\\207\" [expire gnus-article-marked-p] 2]=E2=80=99" >> ... >> >> * gnus-summary-display-make-predicate((not expire)) >>=20 >> Apparently, gnus-category-make-function-1 creates code that isn't >> really valid Lisp but that we have previously allowed anyway: (F >> ...) where F is a (non-symbol) function value, instead of using >> `funcall`. >>=20 >> We could (and probably should) allow this for compatibility but >> perhaps it's time to at least start warning about it? It makes the >> quirky semantics of a Lisp-2 even quirkier. > > I think the offending function should be fixed not to produce invalid > code, rather than support such code. For my information: the problem here is that `gnus-category-make-function' runs `gnus-byte-compile' on a form like this: (lambda nil (not (#f(compiled-function () #)))) And the extra parens around (#f(compiled-function...)) are not strictly leg= al?