unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* `package.el' and built-in packages
@ 2016-02-18 20:06 Jiří Šebele
  2016-04-12  0:30 ` alex
  2016-04-12  0:52 ` Stefan Monnier
  0 siblings, 2 replies; 8+ messages in thread
From: Jiří Šebele @ 2016-02-18 20:06 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 828 bytes --]

Hello,

I found out that `package-installed-p’ return non-nil values even for built-in packages, and that `package-install’ does nothing when trying to install a package that’s among those that are built-in. I’ve bumped into this when trying to set up my Emacs config to automatically pull in packages if they are not installed, which in turn failed to install a newer version of Org that the one shipped with Emacs.

To my knowledge the only way to install a newer Org now is to manually click `Install’ in `package-list-packages’, which interferes with my intent to automatically install packages that are not present when Emacs starts up.

I think that `package.el’ should be able to install packages even if they are built-in, since it install them to `~/.emacs.d/elpa’ anyways.

Regards,
– Jiří

[-- Attachment #2: Type: text/html, Size: 2434 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-04-14  0:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-18 20:06 `package.el' and built-in packages Jiří Šebele
2016-04-12  0:30 ` alex
2016-04-12  0:52 ` Stefan Monnier
2016-04-12  2:10   ` alex
2016-04-12  2:19     ` Stefan Monnier
2016-04-12 13:07       ` Artur Malabarba
2016-04-12 13:17         ` Kaushal Modi
2016-04-14  0:31         ` alex

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).