unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Alexis <flexibeast@gmail.com>
Cc: 21138@debbugs.gnu.org
Subject: bug#21138: 24.5; package system not initializing
Date: Mon, 27 Jul 2015 12:05:38 -0400	[thread overview]
Message-ID: <94a8uhh9gt.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87d1zdzvml.fsf@gmail.com> (Alexis's message of "Mon, 27 Jul 2015 21:29:38 +1000")

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.





  parent reply	other threads:[~2015-07-27 16:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-27  4:09 bug#21138: 24.5; package system not initializing Jerry Asher
2015-07-27  6:25 ` Glenn Morris
2015-07-27  9:44 ` Artur Malabarba
2015-07-27 11:29   ` Alexis
2015-07-27 12:02     ` Artur Malabarba
2015-07-27 16:05     ` Glenn Morris [this message]
2015-07-28  5:09       ` Alexis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=94a8uhh9gt.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=21138@debbugs.gnu.org \
    --cc=flexibeast@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).