From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: package.el, auto-installation, and auto-removal Date: Fri, 07 Nov 2014 08:45:51 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415367990 13857 80.91.229.3 (7 Nov 2014 13:46:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Nov 2014 13:46:30 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 07 14:46:23 2014 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 1Xmjrr-0005TP-3P for ged-emacs-devel@m.gmane.org; Fri, 07 Nov 2014 14:46:23 +0100 Original-Received: from localhost ([::1]:60296 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xmjrq-0005vo-Ln for ged-emacs-devel@m.gmane.org; Fri, 07 Nov 2014 08:46:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmjrV-0005tW-RI for emacs-devel@gnu.org; Fri, 07 Nov 2014 08:46:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmjrO-00070G-Cm for emacs-devel@gnu.org; Fri, 07 Nov 2014 08:46:01 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:47575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmjrO-000700-08 for emacs-devel@gnu.org; Fri, 07 Nov 2014 08:45:54 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvIMAOatTlRLd+sd/2dsb2JhbABcgw4Bg2GGfsN9h1YEgSAXAQF8hF9yJhgNiHinOqRkkSWENQWLZI0vBZkIgW+BRwyCQx+CegEBAQ X-IPAS-Result: AvIMAOatTlRLd+sd/2dsb2JhbABcgw4Bg2GGfsN9h1YEgSAXAQF8hF9yJhgNiHinOqRkkSWENQWLZI0vBZkIgW+BRwyCQx+CegEBAQ X-IronPort-AV: E=Sophos;i="5.04,797,1406606400"; d="scan'208";a="96193587" Original-Received: from 75-119-235-29.dsl.teksavvy.com (HELO pastel.home) ([75.119.235.29]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 07 Nov 2014 08:45:52 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id BF8EE8874; Fri, 7 Nov 2014 08:45:51 -0500 (EST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:176518 Archived-At: `package.el' is great to install packages more easily, but it falls short when you want to keep the same set of installed packages on various machines, or when it's time to remove package you don't need because it doesn't distinguish between the packages you want and those required by those packages. So I'm looking for some kind soul who could extend package.el so as to keep track of the packages that the user installed explicitly. This should likely be kept in a custom variable. Then we could add a command to install all the packages listed in that variable. And we could also write a function that deletes all "orphan" packages. Stefan