the load-path problem, .nosearch (was: help needed to sync auctex pkg with the new 11.52 release)
Uwe Brauer
oub at gmx.net
Tue Aug 31 07:43:55 EDT 2004
The following message of Reiner escaped my eyes:
> On Wed, Aug 25 2004, Uwe Brauer wrote:
>
>
> If a user installs AUCTeX using
> "--with-auto-dir=.../emacs/site-lisp/auctex/auto", the
> auto-generated files would end up in `load-path' unless we put
> `.nosearch' there. `M-x TeX-auto-generate-global RET' creates
> NAME.el from each NAME.{tex,sty,cls} file present in the TeX
> installation of your site. If the auto-dir is in `load-path',
> `syntax.el' (generated from `syntax.sty') may shadow lisp/syntax.el
> which is a recipe for trouble.
>
> The same argument holds for the styledir directory.
>
> I don't know how it works in XEmacs, but you have to make sure that
> autodir and styledir are _not_ included in `load-path'.
>
Oops I was not aware of this problem:
Auctex may generate .el files which already exists
in other xemacs packages, it seems that this problem can circumvent
for GNU Emacs by putting .nosearch in this directory. Will such a
thing also help for Xemacs.
Already in earlier versions of auctex the directory /etc/auctex/styles
contain a lot of .el files. I presumed that Xemacs would find any name
conflict when compiling the official Xemacs auctex pkg. However the
problem Rainer describes is different and worrisome.
Uwe
More information about the XEmacs-Beta
mailing list