bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4845: 23.1.50; Uninterned symbols in .elc files


From: Marcin Borkowski
Subject: bug#4845: 23.1.50; Uninterned symbols in .elc files
Date: Sun, 17 Jan 2016 22:12:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Hi,

this message is just to mention that this bug seems to persist in GNU
Emacs 25.1.50.1.

Best,
mb


On 2009-11-01, at 09:25, Helmut Eller <address@hidden> wrote:

> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]