From: Nic Ferrier <nferrier@ferrier.me.uk>
To: 18790@debbugs.gnu.org
Subject: bug#18790: 24.4; package-install no longer allows interactive updating
Date: Wed, 22 Oct 2014 10:38:56 +0100 [thread overview]
Message-ID: <87r3y04f67.fsf@ferrier.me.uk> (raw)
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.
next reply other threads:[~2014-10-22 9:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-22 9:38 Nic Ferrier [this message]
2014-10-22 13:21 ` bug#18790: 24.4; package-install no longer allows interactive updating Stefan Monnier
2014-10-22 14:24 ` Nicolas Richard
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r3y04f67.fsf@ferrier.me.uk \
--to=nferrier@ferrier.me.uk \
--cc=18790@debbugs.gnu.org \
/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 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.