all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* package-autoremove (was: Package installation messages)
@ 2015-05-21 14:58 Artur Malabarba
  2015-05-21 15:06 ` Kaushal
  0 siblings, 1 reply; 11+ messages in thread
From: Artur Malabarba @ 2015-05-21 14:58 UTC (permalink / raw)
  To: Kaushal; +Cc: emacs-devel

2015-05-21 15:35 GMT+01:00 Kaushal <kaushal.modi@gmail.com>:
> I just updated to the latest commit on emacs master and tried out
> package-autoremove.
>
> That suggested removing 3 packages (symon, minibuffer-line,
> git-timemachine), out of which I actually use 2: minibuffer-line,
> git-timemachine.
>
> For example, I have this in my init:
>
> ;; Display date+time in the minibuffer instead of in the mode-line
> (use-package minibuffer-line

There are two possibilities for why this happened.

1. The first time you start Emacs after the commit that introduced
selected-packages, package.el will try to guess which of your packages
were explicitly installed by you, and which were pulled in as deps.
It's impossible to know for sure, so this guessing is bound to go
wrong on some instances.

2. The list of selected packages is stored with your
custom-set-variables. So, if your `use-package' form comes before your
`custom-set-variables', then that might cause it to not get stored
correctly.

I'm not sure if there's a global fix we can do for case 2. Either way,
you (the user) can manually fix that by simply trying to install the
package you already have (`minibuffer-line', in this case). You can do
that from the package menu or with `M-x package-install'. You'll get a
message that "package already installed", and then package.el will
store this package in your list of `selected-packages'.
Another way to fix that is to `M-x customize-variable RET
package-selected-packages' and manually add `minibuffer-line' to it.



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

end of thread, other threads:[~2015-05-21 20:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-21 14:58 package-autoremove (was: Package installation messages) Artur Malabarba
2015-05-21 15:06 ` Kaushal
2015-05-21 16:11   ` Artur Malabarba
2015-05-21 17:01     ` Kaushal
2015-05-21 18:05       ` Artur Malabarba
2015-05-21 18:18         ` Kaushal
2015-05-21 19:23           ` Artur Malabarba
2015-05-21 20:18             ` Kaushal
2015-05-21 20:24               ` Artur Malabarba
2015-05-21 20:30                 ` Artur Malabarba
2015-05-21 20:39                   ` Kaushal

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.