GNU bug report logs - #45857
28.0.50; Not possible to set package-user-dir in early-init.el

Previous Next

Package: emacs;

Reported by: Ola x Nilsson <ola.x.nilsson <at> axis.com>

Date: Thu, 14 Jan 2021 11:59:02 UTC

Severity: normal

Merged with 30994

Found in versions 27.0.50, 28.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Phillip Lord <phillip.lord <at> russet.org.uk>
Cc: michael_heerdegen <at> web.de, 45857 <at> debbugs.gnu.org
Subject: bug#45857: 28.0.50; Not possible to set package-user-dir in early-init.el
Date: Fri, 22 Jan 2021 11:44:14 -0500
> I am still getting start up package.el oddities. While I can reset
> package-user-dir in early-init.el now and it is correct when init.el
> starts up, my package-initialize is raising an error from auctex in my
> case.
>
>     Warning (initialization): An error occurred while loading ‘/home/phillord/.emacs.d/init.el’:
>
>     File is missing: Cannot open load file, No such file or directory, tex-site
>
>
> package-user-dir looks right
>
>     package-user-dir is a variable defined in ‘package.el’.
>     Its value is "~/.emacs.d/elpa/28.0"
>     Original value was "~/.emacs.d/elpa"
>
> but load-path is not correct, having been set up for the default
> location of package-user-dir
>
>
> load-path is a variable defined in ‘C source code’.
> Its value is
> ("/home/phillord/.emacs.d/elpa/auctex-13.0.3"
> "/home/phillord/.emacs.d/elpa/cider-1.0.0"
> "/home/phillord/.emacs.d/elpa/clojure-mode-5.12.0"

Does /home/phillord/.emacs.d/elpa/auctex-13.0.3/ exist?
How 'bout /home/phillord/.emacs.d/elpa/auctex-13.0.3/tex-site.el ?
How 'bout /home/phillord/.emacs.d/elpa/28.0/auctex-13.0.3/ ?


        Stefan





This bug report was last modified 4 years and 124 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.