Re: preview-latex 0.9.1 and AUCTeX 11.whatever

David Kastrup <[email protected]> Tue, 29 Mar 2005 11:06:41 +0200
Newsgroups gmane.emacs.latex.preview.devel
Message-ID <[email protected]>
Jan-=C5ke Larsson <[email protected]> writes:

> Jan-=C5ke Larsson wrote:
>>> Search for XEmacs package dir also under libdir?
>> Yes. But given the right prefix, this would be found automatically.
>> Unless we want to specify more specific preferred install points, as
>> in the old list:
>> ${datadir}/${EMACS_FLAVOR}/site-lisp          (Emacs)
>> ${libdir}/${EMACS_FLAVOR}/site-lisp           (Old Emacsen ?)
>> ${libdir}/${EMACS_FLAVOR}/site-packages/lisp  (XEmacs)
>> ${datadir}/${EMACS_FLAVOR}/site-packages/lisp (Recent XEmacsen ?)
>> ${prefix}/site-lisp                           (Windows Emacsen)
>>=20
>>> First match path variable to default locations, and only then go
>>> through all?

I should have mentioned that I really wanted to already finish this,
but have not got around yet.

>> Perhaps check for a previous installation first?

I don't really think this is a good idea.  We want to have the
defaults cater for a site-wide installation, regardless of whether the
operating system distributor has already installed some outdated
AUCTeX version.  And that means installing AUCTeX in a site-wide Lisp
directory, _before_ the already installed AUCTeX instead of over it.

>> In any case, I would prefer a list of preferred places, since that
>> would give a more uniform client setup. If that fails, go through
>> load-path and take the first entry that matches some _simple_
>> well-chosen rule, say $prefix/.*/site-lisp for Emacs and
>> $prefix/.*/lisp for XEmacs.
>
> Opinions?

Basically that is what I wanted to do.  A list of preferred places,
after all, is just a special case of a simple, well-chosen rule.

--=20
David Kastrup, Kriemhildstr. 15, 44793 Bochum