From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#68345: 29.1; cl-defstruct'ed struct errors out in the constructor compiler macro if a slot is called "quote" Date: Tue, 09 Jan 2024 16:19:27 +0200 Message-ID: <83h6jmpp1s.fsf@gnu.org> References: <05766552-b1d9-44b6-99fb-6f13c4601746@kisaragi-hiu.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37266"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68345@debbugs.gnu.org To: Kisaragi Hiu , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 09 15:21:12 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 1rNCyd-0009Wj-NC for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Jan 2024 15:21:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNCyS-00041A-LB; Tue, 09 Jan 2024 09:21:00 -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 1rNCyP-00040y-55 for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2024 09:20:57 -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 1rNCyN-0006Kb-I5 for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2024 09:20:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rNCyU-0001FB-AK for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2024 09:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jan 2024 14:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68345 X-GNU-PR-Package: emacs Original-Received: via spool by 68345-submit@debbugs.gnu.org id=B68345.17048100024700 (code B ref 68345); Tue, 09 Jan 2024 14:21:02 +0000 Original-Received: (at 68345) by debbugs.gnu.org; 9 Jan 2024 14:20:02 +0000 Original-Received: from localhost ([127.0.0.1]:38822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNCxW-0001Dj-2b for submit@debbugs.gnu.org; Tue, 09 Jan 2024 09:20:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNCxU-0001D6-AO for 68345@debbugs.gnu.org; Tue, 09 Jan 2024 09:20:00 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rNCxH-0005aO-7n; Tue, 09 Jan 2024 09:19:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=R5/ZfdFY1dLID8S53g8/CRqy7+kSXuo1vI6AOSY4v9A=; b=ogjgC3utJJiw NkTBb8s3WIMFtlF3K53DDTfgSmyYrBaYovFQ7vqF25ziaDVoquyjHXgTuUqyMO//kMJoi+psyKj32 2/5ZgFF8ohuVqBcArVglc5Qt0klhqHw34aizsQg7HKwD9yBnkXmWg2jXO1YlOhn9qn6C3DMF9GIGe 6FqOAQTuqiNdt7ZOJDpx8TGEpjB9P7Q53DWVgaUYbHHUfMJpncOfZ+MhNJQkAptBcaZ5WYqGq7uGs xF5vxExAwGvmGNEbWxxg3rsE3M+s8YQTtoZ3AmN7sLEoklqlc0FooP1x+WW/iDj8zUNs8U5nyAfX3 FznCtCMDrFbxk0p/XCAqFQ==; In-Reply-To: <05766552-b1d9-44b6-99fb-6f13c4601746@kisaragi-hiu.com> (bug-gnu-emacs@gnu.org) 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:277629 Archived-At: > Date: Tue, 9 Jan 2024 21:32:06 +0900 > From: Kisaragi Hiu via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > * The problem > > If a struct is defined to have a slot called "quote", the constructor > will fail during the compiler macro phase. > > (require 'cl-lib) > (cl-defstruct my-test quote) > (make-my-test :quote "'") ; error: (invalid-function "'") 'quote' is a documented special form in Emacs, see the node "Quoting" in the ELisp manual. Adding Stefan to the discussion.