[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Generalizing find-definition
From: |
Helmut Eller |
Subject: |
Re: Generalizing find-definition |
Date: |
Thu, 11 Dec 2014 20:36:24 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
On Thu, Dec 11 2014, David Engster wrote:
> Helmut Eller writes:
>>> Too bad that classes can't be autoloaded.
>
> They can. CEDET does that all the time.
Ah, that's great!
>> ;;;###autoload (autoload 'etags-xref-backend "etags")
>> (defclass etags-xref-backend (xref-backend-class eieio-singleton) ())
>
> Uhm, did you try to simply putting ";;;###autoload" before a class
> definition? It should work just fine (through
> `eieio-defclass-autoload').
Yes, I tried but got this error:
...
Loading loaddefs.el (source)...
Attempt to autoload eieio-defclass-autoload while preparing to dump
make[1]: *** [emacs] Error 1
> However, there *is* a problem with autoloading classes, namely that
> EIEIO should not be loaded at Emacs startup. This is why this feature is
> currently restricted to the CEDET subsystem which is only loaded when
> you activate Semantic or EDE.
So what's the recommended way to do it for a file in lisp/progmodes/ ?
Helmut
- Re: Generalizing find-definition, (continued)
- Re: Generalizing find-definition, Stefan Monnier, 2014/12/08
- Re: Generalizing find-definition, Stefan Monnier, 2014/12/08
- Re: Generalizing find-definition, Helmut Eller, 2014/12/09
- Re: Generalizing find-definition, Dmitry Gutov, 2014/12/09
- Re: Generalizing find-definition, Helmut Eller, 2014/12/09
- Re: Generalizing find-definition, Dmitry Gutov, 2014/12/10
- Re: Generalizing find-definition, Helmut Eller, 2014/12/11
- Re: Generalizing find-definition, Helmut Eller, 2014/12/11
- Re: Generalizing find-definition, Helmut Eller, 2014/12/11
- Re: Generalizing find-definition, David Engster, 2014/12/11
- Re: Generalizing find-definition,
Helmut Eller <=
- Re: Generalizing find-definition, David Engster, 2014/12/11
- Re: Generalizing find-definition, David Engster, 2014/12/11
- Re: Generalizing find-definition, Helmut Eller, 2014/12/12
- Re: Generalizing find-definition, Dmitry Gutov, 2014/12/11
- Re: Generalizing find-definition, Stefan Monnier, 2014/12/11
- Re: Generalizing find-definition, Dmitry Gutov, 2014/12/11
- Re: Generalizing find-definition, Stefan Monnier, 2014/12/11
- Re: Generalizing find-definition, Helmut Eller, 2014/12/11
- Re: Generalizing find-definition, Stefan Monnier, 2014/12/11
- Re: Generalizing find-definition, Helmut Eller, 2014/12/11