all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Engster <deng@randomsample.de>
To: help-gnu-emacs@gnu.org
Subject: Re: eieio persistent, plus autoloads
Date: Thu, 15 Aug 2013 18:05:53 +0200	[thread overview]
Message-ID: <87vc37os66.fsf@arcor.de> (raw)
In-Reply-To: 87siybjkpy.fsf@ericabrahamsen.net

Eric Abrahamsen writes:
> Working backwards, I envision it happening like this: at the top of the
> BBDB code, in a spot that gets loaded before any databases are read,
> there's a line like this:
>
> (load "bbdb-loaddefs.el" t t t)
>
> That file would be full of autoload statements, created by
> eieio-defclass-autoload, for any custom subclass that's been created.
> The question is, how do I get those statements in there?

It might very well be that I don't understand what you're trying to do,
but `eieio-defclass-autoload' is used the same way as the normal
`autoload': you either call it manually, or you use a magic autoload
comment in front of `defclass' and run the files through
`update-file-autoloads', so that those statements get generated for
you. Why doesn't that work in your case?

-David




  reply	other threads:[~2013-08-15 16:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-15 10:45 eieio persistent, plus autoloads Eric Abrahamsen
2013-08-15 16:05 ` David Engster [this message]
2013-08-16  2:03   ` Eric Abrahamsen
2013-08-16 15:18     ` David Engster
2013-08-17  4:11       ` Eric Abrahamsen
2013-08-17  7:21         ` David Engster
2013-08-19  2:18           ` Eric Abrahamsen

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=87vc37os66.fsf@arcor.de \
    --to=deng@randomsample.de \
    --cc=help-gnu-emacs@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.