help needed to sync auctex pkg with the new 11.52 release

Reiner Steib 4.uce.03.r.s at nurfuerspam.de
Wed Aug 25 07:56:43 EDT 2004


On Wed, Aug 25 2004, Uwe Brauer wrote:

>  Then indeed a new subdirectory var of etc is created, with a dummy
> file .nosearch.
[...]
> Works in the sense that an *empty* directory is generated. I can live
> with this dummy file, but I find the solution not very elegant to say
> the least.

`.nosearch' is not a "dummy file".  In Emacs, the site-lisp directory
contains a file `subdirs.el' which takes care of adding all
subdirectories to the `load-path', but directories with a `.nosearch'
file are omitted.

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'.

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




More information about the XEmacs-Beta mailing list