Re: Autoloads for RefTeX
Carsten Dominik <dominik <at> science.uva.nl>
2007-03-03 19:21:51 GMT
Two things to keep in mind:
1. RefTeX uses a maybe non-standard way to load the different
subfiles like reftex-cite.el etc. It does not do (require
'reftex-cite).
Instead, reftex.el does contain autoload forms for all necessary entry
points of all other files. I did this when I split the one big
original file into many small ones, and back then I did not know a
better
way to do this. As a consequence, is it possible that not all necessary
entry points in the different files do have an ;;;###autoload cookie.
It might be necessary to add these, starting from the autoload forms
in reftex.el.
On Mar 3, 2007, at 19:04, Ralf Angeli wrote:
> Hi,
>
> the current installation instructions for RefTeX tell the user to put
> autoloads for some entry functions manually into the user's init file.
> I don't really like this because it is prone to fail when functions
> move, it clutters the init file, and it unnecessarily exposes the
> implementation of the package. So it generally is somewhat clunky.
Fully agreed
>
> IMO a better approach would be to generate during installation a file
> containing autoloads which the user then may load from the init file
> in a similar way we currently do this for AUCTeX and preview-latex and
(Continue reading)