Re: defcustoms in style/*.el

Reiner Steib <[email protected]>
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
On Fri, Mar 04 2005, Ralf Angeli wrote:

> * Reiner Steib (2005-03-04) writes:
>
>> was have some defcustoms in style/*.el:
> [...]
>> My feeling is, that this should better be placed in tex.el or latex.el
>> (as I did for when introducing defcustoms in style/graphicx.el and
>> style/beamer.el).  I think it is better to have those variables
>> available [1,2] after loading AUCTeX, no matter if a beamer, amsmath
>> or ... is used in this Emacs session.

Do you (and other people) agree, that it would be desirable to have
those custom variables available after loading AUCTeX?

>> An alternative approach would be to collect those defcustoms in a
>> separate file, say (la)tex-style.el, and require this file somewhere.
>>
>> WDYT?
>
> Would it be possible to autoload these defcustoms?  At least the Elisp
> manual states that this can be done with ;;;###autoload cookies:

I don't think so.  Our installation process would need to parse the
style/*.el files and create a e.g. tex-autoload.el file (or put them
in tex-site.el?).  And this file needs to be loaded at startup.  And I
doubt that this approach would work nicely because the usual Emacs
load process ((load "beamer.el") and friends) won't work because
style/ is not supposed to be in `load-path'.  (I didn't test this,
though.  Maybe I'm wrong.)

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.