Jan-Ãke Larsson <[EMAIL PROTECTED]> writes:
> David Kastrup wrote:
>> Jan-Ãke Larsson <[EMAIL PROTECTED]> writes:
>>>On my debian can it still wants to install into
>>>${datadir}/emacs/21.4/site-lisp (with ${prefix}=/usr/local)
>>>That version-specific directory is not really wanted.
>> How comes? The test is
>> EMACS_EXAMINE_INSTALLATION_DIR(lispdir,
>> [['${datadir}/emacs' '${libdir}/emacs' "${emacsprefix}/share/emacs"
>> \
>> '${datadir}' '${libdir}' "${emacsprefix}"]],
>> [[(list \"emacs/site-lisp\" \"emacs/site-packages\"
>> \"site-lisp\" \"site-packages\")]], load-path)
>> And this clearly favors ${datadir}/emacs/site-lisp over
>> ${datadir}/emacs/21.4/site-lisp.
>
> I finally tracked this down. It seems that I have a
> /usr/local/share/emacs/21.4/site-lisp on disk, but not
> /usr/local/share/emacs/site-lisp
You lose, I guess. I don't think it makes sense to automatically do
something different given this scenario. Autodetection should not
choose non-existing directories, and I don't think we should switch
the search order of the trees depending on their internal
inconsistency.
If the setup is as weird as that,
/usr/local/share/emacs/21.4/site-lisp as the autodetected directory
seems pretty much the sanest choice, anyway. This scheme is so
contorted that I don't see us catering better for it without having to
specify configuration options, I am afraid.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel