[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] Regarding directory layout...

From: David Kastrup
Subject: Re: [AUCTeX-devel] Regarding directory layout...
Date: Thu, 19 May 2005 14:19:22 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Ralf Angeli <address@hidden> writes:

> * David Kastrup (2005-05-19) writes:
>> Ralf Angeli <address@hidden> writes:
>>> * David Kastrup (2005-05-18) writes:
>>>> It's actually the same with bib-cite.el, but bib-cite.el is
>>>> useful even without AUCTeX.  If we move it into site-lisp, we can
>>>> almost be sure that it will get shadowed by other AUCTeX
>>>> versions.
>>> Hm, maybe the installation routine could rename an old version in
>>> case it encounters one.  But I am not really fond of such
>>> solutions.
>> We have no business renaming a file in some directory which we are
>> not otherwise touching or considering during installation.
> I should have expressed it more clearly that I was referring to the
> directory which is used for the installation in concern.  We do a
> similar thing with tex-site.el.

I don't see that.  We install/rename tex-site.el into the load-path
situated and/or detected site-lisp directory.  And we remove any
tex-site.el that is in our own private auctex/ directory where we
install all the rest.  We don't touch anything outside of that.

If we are shadowing a system installation, but our tex-site.el does
not end up at the front of the load-path, we warn about that (I have
not cross-checked whether we indeed do this right now: but this is
what we do in preview-latex, and it would seem reasonable to for
tex-site.el as well).

tex-site.el is a pretty exposed file, and I think it is ok to deal
with that.  bib-cite.el, in contrast, is too obscure to warrant
special behavior.

I think I will move it into the auctex subdirectory after all.  This
makes the fewest conceptual problems, even though it means that if it
is the only thing you want to use from AUCTeX, you'll have to load it
yourself or add the auctex directory to your load-path.

And it also means that people that explicitly don't use AUCTeX don't
get different versions of bib-cite.el when AUCTeX gets installed and
removed and updated.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

[Prev in Thread] Current Thread [Next in Thread]