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
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
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
On Mar 3, 2007, at 19:04, Ralf Angeli wrote:
> 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.
> 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