From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: package-autoremove (was: Package installation messages) Date: Thu, 21 May 2015 15:58:49 +0100 Message-ID: Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1432220346 19598 80.91.229.3 (21 May 2015 14:59:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 May 2015 14:59:06 +0000 (UTC) Cc: emacs-devel To: Kaushal Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 21 16:59:00 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YvRw3-0006QY-Hd for ged-emacs-devel@m.gmane.org; Thu, 21 May 2015 16:58:59 +0200 Original-Received: from localhost ([::1]:58175 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvRw2-0006U4-Ht for ged-emacs-devel@m.gmane.org; Thu, 21 May 2015 10:58:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvRvw-0006Tp-Bs for emacs-devel@gnu.org; Thu, 21 May 2015 10:58:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvRvv-00088O-28 for emacs-devel@gnu.org; Thu, 21 May 2015 10:58:52 -0400 Original-Received: from mail-lb0-x236.google.com ([2a00:1450:4010:c04::236]:35783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvRvu-00087X-RI for emacs-devel@gnu.org; Thu, 21 May 2015 10:58:51 -0400 Original-Received: by lbbuc2 with SMTP id uc2so20132138lbb.2 for ; Thu, 21 May 2015 07:58:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:date:message-id:subject:from:to:cc :content-type; bh=4PCz1QzLFIJ7a+IvNz0RS1ACMZqr52wXGKjR4Jnfquw=; b=Dy2kGtQssOG5OIR9ksiApcXJ8b1b4+ype9NaLkdguE5ff+1R8tv0pOYyxfp6DRc2Eo p4xu6ZWH9c2h1tren20hQl3oLQnDSWxiNwl8XQb8DQy0bukFV80qNxIw75wyLCL3lnkX QWtGGuj3nJ+tTKqseRdVjJxKlpBBCvF37Rvv8qtZsA6j22bGEN+fQqP9y/dNBUmpqA1Y GdNnKvVHKgVV58BBfCwyMMWOndho7f5C8HHq8oSeAEvwjx69nsV7I9aYoJZR+JA1VKDT uPzUH7POlXQptl75+quldUA3hxnDeXQICCMoVKPSOY7qHE6wuM2x68uAFcp2HmuyRJ7N 399A== X-Received: by 10.152.87.204 with SMTP id ba12mr2646252lab.35.1432220329175; Thu, 21 May 2015 07:58:49 -0700 (PDT) Original-Received: by 10.25.150.1 with HTTP; Thu, 21 May 2015 07:58:49 -0700 (PDT) X-Google-Sender-Auth: YnCgoEgjtM7WOlWz9H5LqrAJG_A X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::236 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:186704 Archived-At: 2015-05-21 15:35 GMT+01:00 Kaushal : > 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.