From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Vibhav Pant <vibhavp@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: byte-compile-preprocess+cconv seem to mutate self evaluating forms in expanded macros
Date: Fri, 20 Jan 2023 08:03:55 -0500 [thread overview]
Message-ID: <jwvk01hcqa4.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <72894d80f874ba934fab76ada4ab366c27831d8d.camel@gmail.com> (Vibhav Pant's message of "Fri, 20 Jan 2023 18:10:16 +0530")
Hi,
> While working on scratch/comp-static-data, which adds support for
> native compiling self evaluating forms in Lisp code as static consts in
> the eln (with immutability enforced additionally by `CHECK_IMPURE`), I
> noticed that compiling minor-mode definitions would result in a
> `pure_write_error`. This arises as cconv-closure-convert, called from
> `byte-compile-preprocess` would call `setcar` on a self evaluating
> interactive form as part of the minor-mode's function body.
Sounds like a bug. Can you `M-x report-emacs-bug` (and put me in
`X-Debbugs-Cc:`) so we get a bug#nb for it?
Stefan
next prev parent reply other threads:[~2023-01-20 13:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-20 12:40 byte-compile-preprocess+cconv seem to mutate self evaluating forms in expanded macros Vibhav Pant
2023-01-20 13:03 ` Stefan Monnier [this message]
2023-01-20 13:13 ` Vibhav Pant
2023-01-20 18:21 ` Stefan Monnier
2023-01-20 21:27 ` Vibhav Pant
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvk01hcqa4.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=vibhavp@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).