all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vitalie Spinu <spinuvit@gmail.com>
To: 17445@debbugs.gnu.org
Subject: bug#17445: 24.4.50; defcustom doesn't define an eieio object variable on compilation
Date: Fri, 09 May 2014 03:49:41 -0700	[thread overview]
Message-ID: <87r443w7ju.fsf@gmail.com> (raw)
In-Reply-To: <87vbtfwbzf.fsf@gmail.com> (Vitalie Spinu's message of "Fri, 09 May 2014 02:13:56 -0700")


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






      reply	other threads:[~2014-05-09 10:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r443w7ju.fsf@gmail.com \
    --to=spinuvit@gmail.com \
    --cc=17445@debbugs.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 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.