The buffer from
M-x list-packages doesn’t display which archive each package is from.
M-x describe-package doesn’t either. But there is a function for it. The function is
For example, I use two additional ELPA archives:
(require 'package) (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/") t) (add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t)
So I get packages from three archives: GNU ELPA (default), Marmalade, and Org ELPA. Suppose I wonder where the package
htmlize is from. When I run
in my Emacs, it doesn’t report error, which means that the
htmlize package is installed in my Emacs. But when Alice runs that in her Emacs, it reports error. Alice asks me which archive she should add to install
M-x list-packages. To find out, I just have to run:
(package-archive-base "htmlize") ; => "http://marmalade-repo.org/packages/"
htmlize is available in Marmalade.