From: Eli Zaretskii <eliz@gnu.org>
To: Kisaragi Hiu <mail@kisaragi-hiu.com>,
Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 68345@debbugs.gnu.org
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 [thread overview]
Message-ID: <83h6jmpp1s.fsf@gnu.org> (raw)
In-Reply-To: <05766552-b1d9-44b6-99fb-6f13c4601746@kisaragi-hiu.com> (bug-gnu-emacs@gnu.org)
> 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" <bug-gnu-emacs@gnu.org>
>
> * 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.
next prev parent reply other threads:[~2024-01-09 14:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-09 12:32 bug#68345: 29.1; cl-defstruct'ed struct errors out in the constructor compiler macro if a slot is called "quote" Kisaragi Hiu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-09 14:19 ` Eli Zaretskii [this message]
2024-01-09 14:59 ` Gerd Möllmann
2024-01-09 22:46 ` Kisaragi Hiu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-10 5:33 ` Gerd Möllmann
2024-01-10 12:55 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83h6jmpp1s.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=68345@debbugs.gnu.org \
--cc=mail@kisaragi-hiu.com \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.