auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] elpa installed auctex is not the one used


From: Tassilo Horn
Subject: Re: [AUCTeX] elpa installed auctex is not the one used
Date: Fri, 16 Sep 2016 17:40:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

jfbu <address@hidden> writes:

Hi Jean-Francois,

> and the load-path is 
> load-path is a variable defined in `C source code'.
> Its value is
> ("/home/userX/.emacs.d/elpa/auctex-11.89.5/" "/home/userX/.emacsaddons" 
> "/usr/share/emacs24/site-lisp/latex-cjk-thai" 
> "/usr/share/emacs24/site-lisp/latex-cjk-common" "/etc/emacs24" "/etc/emacs" 
> "/usr/local/share/emacs/24.5/site-lisp" "/usr/local/share/emacs/site-lisp" 
> "/usr/share/emacs24/site-lisp/dictionaries-common" 
> "/usr/share/emacs/site-lisp/autoconf" "/usr/share/emacs24/site-lisp/auctex" 
> "/usr/share/emacs/24.5/site-lisp" 
> "/usr/share/emacs/24.5/site-lisp/dictionaries-common" 
> "/usr/share/emacs/24.5/site-lisp/latex-cjk-common" 
> "/usr/share/emacs/24.5/site-lisp/latex-cjk-thai" "/usr/share/emacs/site-lisp" 
> "/usr/share/emacs/24.5/lisp" "/usr/share/emacs/24.5/lisp/vc" 
> "/usr/share/emacs/24.5/lisp/url" "/usr/share/emacs/24.5/lisp/textmodes" 
> "/usr/share/emacs/24.5/lisp/progmodes" "/usr/share/ema
>  cs/24.5/lisp/play" "/usr/share/emacs/24.5/lisp/org" 
> "/usr/share/emacs/24.5/lisp/nxml" "/usr/share/emacs/24.5/lisp/net" 
> "/usr/share/emacs/24.5/lisp/mh-e" "/usr/share/emacs/24.5/lisp/mail" 
> "/usr/share/emacs/24.5/lisp/leim" "/usr/share/emacs/24.5/lisp/language" 
> "/usr/share/emacs/24.5/lisp/international" "/usr/share/emacs/24.5/lisp/gnus" 
> "/usr/share/emacs/24.5/lisp/eshell" "/usr/share/emacs/24.5/lisp/erc" 
> "/usr/share/emacs/24.5/lisp/emulation" 
> "/usr/share/emacs/24.5/lisp/emacs-lisp" "/usr/share/emacs/24.5/lisp/cedet" 
> "/usr/share/emacs/24.5/lisp/calendar" "/usr/share/emacs/24.5/lisp/calc" 
> "/usr/share/emacs/24.5/lisp/obsolete" "/usr/share/emacs/site-lisp/auctex")

Hm, in the load-path, the ELPA version is before the site-lisp version,
so in theory it should win...

> is there some other path variable to customize in order for locally
> elpa installed AucTeX to be the one picked up ?

Please check your system's `site-run-file'.  That's probably
/usr/share/emacs/site-lisp/site-start.el.  I presume there's some code
in it which forcefully loads the site-lisp AUCTeX version.  There could
also be "a default init file" /usr/share/emacs/site-lisp/default.el
doing something such.

If my guess is correct, then I'd say that's an Ubuntu bug.  site-lisp.el
is for stuff like setting `load-path' but no packages should be
forcefully loaded.  The decision which system-wide installed packages
are going to be used is still a user decision which should not be forced
on them (especially since now with ELPA there's a likely chance that a
user installes and wants to use a newer version of a system-wide
installed package).

Bye,
Tassilo




reply via email to

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