GNU bug report logs - #23237
Strange behavior of `package` in automated install in init script

Previous Next

Package: emacs;

Reported by: Alex Coventry <alx <at> empirical.com>

Date: Thu, 7 Apr 2016 15:28:02 UTC

Severity: normal

Tags: notabug

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

Bug is archived. No further changes may be made.

Full log


Message #8 received at 23237 <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Alex Coventry <alx <at> empirical.com>
Cc: 23237 <at> debbugs.gnu.org
Subject: Re: bug#23237: Strange behavior of `package` in automated install in
 init script
Date: Thu, 07 Apr 2016 17:54:38 +0200
Alex Coventry <alx <at> empirical.com> writes:

>   (message (format "package contents: %s" package-archive-contents))

This should better be

  (message "package contents: %s" package-archive-contents)

>   (package-install "evil")

According to the doc of `package-install', package names are symbols, so
I think you should better do

  (package-install 'evil)


Michael.




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

Previous Next


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