Re: defcustoms in style/*.el

Reiner Steib <[email protected]> Sat, 05 Mar 2005 17:45:41 +0100
Newsgroups gmane.emacs.auc-tex
Organization Dept. of Theoretical Physics, University of Ulm
Message-ID <[email protected]>
On Sat, Mar 05 2005, Ralf Angeli wrote:

> * Reiner Steib (2005-03-05) writes:
>
> [defustoms in AUCTeX style files]
>
>> Do you (and other people) agree, that it would be desirable to have
>> those custom variables available after loading AUCTeX?
>
> Yes, but I dislike the idea of moving them out of the style files.
[...]
> I looked at loaddefs.el and found `custom-autoload'.  If I am not
> mistaken we could use this instead of an ;;;###autoload cookie.
> Wether these custom-autoloads go into tex-site.el, tex.el, latex.el
> etc. probably depends on what the defcustoms are used for.

This doesn't help with the load problem I mentioned:

Putting...
  (custom-autoload (quote LaTeX-beamer-foo-variable) "beamer")
... `tex-site.el (or ...) will not trigger loading "style/beamer.elc"
with `M-x customize-group'.  Or am I missing something?

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/