GNU bug report logs - #21138
24.5; package system not initializing

Previous Next

Package: emacs;

Reported by: Jerry Asher <ja2038 <at> gmail.com>

Date: Mon, 27 Jul 2015 06:19:02 UTC

Severity: normal

Tags: notabug

Found in version 24.5

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Alexis <flexibeast <at> gmail.com>
Cc: 21138 <at> debbugs.gnu.org
Subject: bug#21138: 24.5; package system not initializing
Date: Mon, 27 Jul 2015 12:05:38 -0400
Alexis wrote:

> i'm on 24.5.2 (manually compiled on Debian Jessie x86_64), and when i
> comment out `package-initialize' from my init.el and start a
> non-daemonised instance of Emacs, startup doesn't fully complete due
> to `package-archives' being a void variable on which my config tries
> to use `add-to-list'. Then, commenting out such lines, i get errors on
> calls to things like `emms-all' - i have emms-20150519.736 installed
> from MELPA. After startup completes, `package--initialized' and
> package-enable-at-startup' are both set to `t'.

The documentation that you quoted in your initial report explained that
packages are initialized _after_ processing the init file. So if you
want to use a package in your init file, then yes, you need to manually
init the package system before doing so. If all you wanted to do was
manipulate package-archives, then you could require package, or use
customize, as for any other such variable.




This bug report was last modified 9 years and 305 days ago.

Previous Next


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