João Távora writes: > Philip Kaludercic writes: > >>>> Can we put this tiny patch on master then? >>> >>> Yes, if Philip and Stefan don't object. But, since there will be a >>> command for updating core packages, doesn't this go against your >>> desire not to change the UX? >> >> After thinking about this for a bit, I think that the right approach is >> to use package-install instead of writing a separate command. After >> all, this will make the behaviour of package-install consistent with >> that of the package menu. > > +1000 > >> It might work but it should be tested somewhat thoroughly before the >> patch is applied. In the meantime, I just finished a similar approach >> that does not modify `package-installed-p', but just adds another >> utility function: > > I've just applied it, re-made emacs, tested with Emacs -Q and now M-x > package-install doesn't offer _any_ completions to install, core or > non-core. Is this what you intended? No, that was my mistake (I changed something last minute before applying the patch). This patch should behave properly: