unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* 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

* bug#18790: 24.4; package-install no longer allows interactive updating
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2014-10-22 13:21 UTC (permalink / raw)
  To: Nic Ferrier; +Cc: 18790

> M-x package-install [RET] existing-package [TAB]
> used to allow you to upgrade a package without using the slightly
> cumbersome package list.

I don't know what you mean by that, sorry.  Could you try and spell it
out in more detail?


        Stefan





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

* bug#18790: 24.4; package-install no longer allows interactive updating
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Richard @ 2014-10-22 14:24 UTC (permalink / raw)
  To: Nic Ferrier; +Cc: 18790

Nic Ferrier <nferrier@ferrier.me.uk> writes:
> M-x package-install [RET] existing-package [TAB]
>
> used to allow you to upgrade a package without using the slightly
> cumbersome package list.

FWIW, I use C-h P some-package RET then push the 'install' button (if it
is not installed yet) or navigate to one of the "Other versions" link
then push Install.

-- 
Nicolas Richard





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