From: Helmut Eller <eller.helmut@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: bug#4845: 23.1.50; Uninterned symbols in .elc files
Date: Sun, 01 Nov 2009 09:25:32 +0100 [thread overview]
Message-ID: <m2ocnmbqir.fsf@gmail.com> (raw)
In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.11)
loading a file x.el with contents
(defmacro foo ()
(let ((sym (make-symbol "bar")))
`(progn
(defun ,sym () (message "function %s called" ',sym))
(,sym))))
(foo)
works as expected:
shell> emacs -Q -batch -load x.el
function bar called
However loading the corresponding compiled file signals an error:
shell> emacs -Q -batch -eval '(byte-compile-file "x.el")' -load x.elc
Wrote /tmp/x.elc
Symbol's function definition is void: bar
[Exit 255]
There is a #1=#:bar in the constant pool of the compiled function but #1
isn't used at the call site.
Helmut
next reply other threads:[~2009-11-01 8:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-01 8:25 Helmut Eller [this message]
2016-01-17 21:12 ` bug#4845: 23.1.50; Uninterned symbols in .elc files Marcin Borkowski
[not found] ` <mailman.2481.1453074610.843.bug-gnu-emacs@gnu.org>
2016-01-19 12:39 ` Alan Mackenzie
2016-01-19 17:26 ` John Wiegley
2016-01-19 19:15 ` Michael Heerdegen
2016-02-20 6:23 ` John Wiegley
2016-02-20 10:01 ` Andreas Schwab
2016-01-19 19:44 ` Helmut Eller
2016-01-19 20:16 ` John Wiegley
2020-11-19 2:41 ` Stefan Kangas
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=m2ocnmbqir.fsf@gmail.com \
--to=eller.helmut@gmail.com \
--cc=4845@emacsbugs.donarmstrong.com \
--cc=emacs-pretest-bug@gnu.org \
/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).