all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Can widgets be autoloaded?
@ 2009-10-12  1:19 Lennart Borgman
  2009-10-12 20:34 ` Juri Linkov
  0 siblings, 1 reply; 4+ messages in thread
From: Lennart Borgman @ 2009-10-12  1:19 UTC (permalink / raw)
  To: Emacs-Devel devel

Or how do you handle them?




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Can widgets be autoloaded?
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Juri Linkov @ 2009-10-12 20:34 UTC (permalink / raw)
  To: Lennart Borgman; +Cc: Emacs-Devel devel

> 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.

-- 
Juri Linkov
http://www.jurta.org/emacs/




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Can widgets be autoloaded?
  2009-10-12 20:34 ` Juri Linkov
@ 2009-10-12 20:53   ` Lennart Borgman
  2009-10-12 22:51     ` Lennart Borgman
  0 siblings, 1 reply; 4+ messages in thread
From: Lennart Borgman @ 2009-10-12 20:53 UTC (permalink / raw)
  To: Juri Linkov; +Cc: Emacs-Devel devel

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
       ...)




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Can widgets be autoloaded?
  2009-10-12 20:53   ` Lennart Borgman
@ 2009-10-12 22:51     ` Lennart Borgman
  0 siblings, 0 replies; 4+ messages in thread
From: Lennart Borgman @ 2009-10-12 22:51 UTC (permalink / raw)
  To: Juri Linkov; +Cc: Emacs-Devel devel

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?




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-10-12 22:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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.