From: Lennart Borgman <lennart.borgman@gmail.com>
To: Juri Linkov <juri@jurta.org>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Can widgets be autoloaded?
Date: Tue, 13 Oct 2009 00:51:45 +0200 [thread overview]
Message-ID: <e01d8a50910121551q7158a4dn3d1878677a2f6366@mail.gmail.com> (raw)
In-Reply-To: <e01d8a50910121353j4a04fda9y1a510891ad57c074@mail.gmail.com>
On Mon, Oct 12, 2009 at 10:53 PM, Lennart Borgman
<lennart.borgman@gmail.com> wrote:
> On Mon, Oct 12, 2009 at 10:34 PM, Juri Linkov <juri@jurta.org> wrote:
>>> Or how do you handle them?
>>
>> Please see a comment in widget.el:
>>
>> ;; This file only contains the code needed to define new widget types.
>> ;; Everything else is autoloaded from `wid-edit.el'.
>>
>> So everything is already autoloaded.
>
> I see. But I meant for my "private" libraries in nXhtml. However there
> is a comment in the elisp manual how to handle things like this:
>
> ;;;###autoload (autoload 'foo "myfile")
> (mydefunmacro foo
> ...)
But that did not work for something like
;;;###autoload (autoload 'command "ourcomments-widgets")
(define-widget 'command 'restricted-sexp
and I find nothing in wid-edit.el or widgets.el that explains how to
autoload something defined with define-widgets ...
Any suggestions?
prev parent reply other threads:[~2009-10-12 22:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-12 1:19 Can widgets be autoloaded? Lennart Borgman
2009-10-12 20:34 ` Juri Linkov
2009-10-12 20:53 ` Lennart Borgman
2009-10-12 22:51 ` Lennart Borgman [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=e01d8a50910121551q7158a4dn3d1878677a2f6366@mail.gmail.com \
--to=lennart.borgman@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=juri@jurta.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.