* bug#18790: 24.4; package-install no longer allows interactive updating
@ 2014-10-22 9:38 Nic Ferrier
2014-10-22 13:21 ` Stefan Monnier
2014-10-22 14:24 ` Nicolas Richard
0 siblings, 2 replies; 3+ messages in thread
From: Nic Ferrier @ 2014-10-22 9:38 UTC (permalink / raw)
To: 18790
M-x package-install [RET] existing-package [TAB]
used to allow you to upgrade a package without using the slightly
cumbersome package list.
The interactive form now filters the package list for installed
packages:
(interactive
(progn
;; Initialize the package system to get the list of package
;; symbols for completion.
(unless package--initialized
(package-initialize t))
(unless package-archive-contents
(package-refresh-contents))
(list (intern (completing-read
"Install package: "
(delq nil
(mapcar (lambda (elt)
(unless (package-installed-p (car elt))
(symbol-name (car elt))))
package-archive-contents))
nil t)))))
There isn't a simple equivalent of doing the same thing, say:
M-x package-upgrade-existing-package
I don't know if this was deliberate or a mistake, it's always useful
being able to do something quickly with a command line when you know
what you're doing.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-22 14:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-22 9:38 bug#18790: 24.4; package-install no longer allows interactive updating Nic Ferrier
2014-10-22 13:21 ` Stefan Monnier
2014-10-22 14:24 ` Nicolas Richard
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.