[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] Anybody out there?
From: |
David Kastrup |
Subject: |
Re: [AUCTeX-devel] Anybody out there? |
Date: |
Tue, 12 Apr 2005 12:04:09 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Jan-Åke Larsson <address@hidden> writes:
> David Kastrup wrote:
>>>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.
>
> ${datadir}/emacs/21.4/site-lisp is before ${datadir}/emacs/site-lisp
> in load-path.
That does not matter. The entire load-path is tried for each of the
proposed packages. And the load-path is (on Ubuntu):
"/usr/share/emacs21/site-lisp/preview-latex"
"/usr/share/emacs21/site-lisp/auctex"
[...]
"/usr/share/emacs/site-lisp/auctex/"
"/usr/share/emacs21/site-lisp/auctex/"
[...]
"/usr/share/emacs/site-lisp/preview-latex" "/etc/emacs21" "/etc/emacs"
"/usr/local/share/emacs/21.3/site-lisp"
"/usr/local/share/emacs/site-lisp"
"/usr/share/emacs/21.3/site-lisp"
[...]
"/usr/share/emacs/21.3/site-lisp/preview-latex"
[...]
"/usr/share/emacs/site-lisp"
[...]
Holy moly. Anyway, relevant here are the directories
"/usr/local/share/emacs/21.3/site-lisp"
"/usr/local/share/emacs/site-lisp"
"/usr/share/emacs/21.3/site-lisp"
"/usr/share/emacs/site-lisp"
${datadir}/emacs is an immediate hit, and the two entries are tried in
order emacs/site-lisp first. And I actually _do_ get
checking for Emacs prefix... "/usr"
checking if Emacs is recent enough... yes
checking if build directory is valid... yes
checking where lisp files go... ${datadir}/emacs/site-lisp
checking What file to use for preview startup...
${datadir}/emacs/site-lisp/preview-latex.el
checking where the package lisp files go... ${datadir}/emacs/site-lisp/preview
checking where the data files go... ${datadir}/emacs/site-lisp/preview
checking Where the info files go... ${prefix}/info
checking for the location of AUCTeX's tex-site.el...
/usr/share/emacs/21.3/site-lisp
so it is working for me. What is your load-path?
> I thought the order of the loops in that macro was amiss, but... I
> can't check this tonight, there's this dissertation celebration...
Don't panic. I should actually be doing thing myself, but for one
thing it is working here, for another I am currently stuck on other
problems. The most nasty thing right now proves to be getting the
foreground color into PDF files. Ultimately, I might have to resign
into making some mechanism for reinserting color on the TeX level, but
I'd like to get this done in Ghostscript, rather.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Re: [AUCTeX-devel] Anybody out there?, Jan-Åke Larsson, 2005/04/11