* bug#17445: 24.4.50; defcustom doesn't define an eieio object variable on compilation
@ 2014-05-09 9:13 Vitalie Spinu
2014-05-09 10:49 ` Vitalie Spinu
0 siblings, 1 reply; 2+ messages in thread
From: Vitalie Spinu @ 2014-05-09 9:13 UTC (permalink / raw
To: 17445
Hi,
Put the following into a new file and M-x byte-compile-file:
(require 'eieio)
(defclass A (eieio-instance-inheritor)
((a
:initform 23
:type number)))
(defcustom test1 (A "aaa")
"blabla")
Then check test1, it is not defined. As if that defcustom is invisible
to byte-compiler. Same issue in 24.3.1.
I cannot push my package to MELPA because of this. Would really
appreciate some quick workaround.
Thanks,
Vitalie
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#17445: 24.4.50; defcustom doesn't define an eieio object variable on compilation
2014-05-09 9:13 bug#17445: 24.4.50; defcustom doesn't define an eieio object variable on compilation Vitalie Spinu
@ 2014-05-09 10:49 ` Vitalie Spinu
0 siblings, 0 replies; 2+ messages in thread
From: Vitalie Spinu @ 2014-05-09 10:49 UTC (permalink / raw
To: 17445
Brainglitch. Please ignore.
Compiler is not supposed to eval defcustom forms. I just had a macro
later in the file that forced evaluation of that symbol.
>>> Vitalie Spinu on Fri, 09 May 2014 02:13:56 -0700 wrote:
> Hi,
> Put the following into a new file and M-x byte-compile-file:
> (require 'eieio)
> (defclass A (eieio-instance-inheritor)
> ((a
> :initform 23
> :type number)))
> (defcustom test1 (A "aaa")
> "blabla")
> Then check test1, it is not defined. As if that defcustom is invisible
> to byte-compiler. Same issue in 24.3.1.
> I cannot push my package to MELPA because of this. Would really
> appreciate some quick workaround.
> Thanks,
> Vitalie
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-09 10:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-09 9:13 bug#17445: 24.4.50; defcustom doesn't define an eieio object variable on compilation Vitalie Spinu
2014-05-09 10:49 ` Vitalie Spinu
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.