* bug#63638: 29.0.91; byte-compile-file + load-file => Invalid read syntax: "#"
[not found] ` <CAGdEmpFh5bnJo9R+qvd72XGg68rPjtYFmesCNrjbXfykur2QjQ@mail.gmail.com>
@ 2023-05-22 6:35 ` Bruno Barbier
0 siblings, 0 replies; only message in thread
From: Bruno Barbier @ 2023-05-22 6:35 UTC (permalink / raw)
To: 63638
[-- Attachment #1: Type: text/plain, Size: 644 bytes --]
Hi,
The code below works fine when evaluated, but emacs fails to load its
compiled version.
(defmacro my-identity-macro ()
(let ((fct (indirect-function 'identity)))
`(lambda (x) (funcall ,fct x))))
(defun my-identity-builder ()
(my-identity-macro))
I can run it like this:
(funcall (my-identity-builder) 2)
=> 2
But, if I compile it (byte-compile-file), emacs cannot load the
compiled version (load-file). It raises the error:
Invalid read syntax: "#"
Emacs should fail to compile, or, it should load the compiled version.
I've attached the compiled version.
Bruno.
[-- Attachment #2: bug.elc --]
[-- Type: application/octet-stream, Size: 323 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-22 6:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAGdEmpGYXbUObe7DY=HUFjt6rg=LHpQeLrXB71assfN2NDkGpw@mail.gmail.com>
[not found] ` <AM6PR07MB45980821EFFA14BA866E084CE5429@AM6PR07MB4598.eurprd07.prod.outlook.com>
[not found] ` <CAGdEmpFh5bnJo9R+qvd72XGg68rPjtYFmesCNrjbXfykur2QjQ@mail.gmail.com>
2023-05-22 6:35 ` bug#63638: 29.0.91; byte-compile-file + load-file => Invalid read syntax: "#" Bruno Barbier
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.