From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Uday S Reddy Newsgroups: gmane.emacs.devel Subject: Re: document package.el Date: Fri, 27 Aug 2010 07:43:17 +0100 Message-ID: References: <4C5CBA32.9000109@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1282891428 2253 80.91.229.12 (27 Aug 2010 06:43:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 Aug 2010 06:43:48 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 27 08:43:47 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OosfC-0007UD-QN for ged-emacs-devel@m.gmane.org; Fri, 27 Aug 2010 08:43:47 +0200 Original-Received: from localhost ([127.0.0.1]:53333 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OosfC-0002Uj-8t for ged-emacs-devel@m.gmane.org; Fri, 27 Aug 2010 02:43:46 -0400 Original-Received: from [140.186.70.92] (port=36147 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oosf5-0002UJ-5I for emacs-devel@gnu.org; Fri, 27 Aug 2010 02:43:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oosf4-00018m-4p for emacs-devel@gnu.org; Fri, 27 Aug 2010 02:43:39 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:54695) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oosf3-00018K-UV for emacs-devel@gnu.org; Fri, 27 Aug 2010 02:43:38 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Oosez-0007PM-83 for emacs-devel@gnu.org; Fri, 27 Aug 2010 08:43:33 +0200 Original-Received: from cpc10-harb6-0-0-cust112.perr.cable.virginmedia.com ([92.232.137.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Aug 2010 08:43:33 +0200 Original-Received: from u.s.reddy by cpc10-harb6-0-0-cust112.perr.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Aug 2010 08:43:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpc10-harb6-0-0-cust112.perr.cable.virginmedia.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 In-Reply-To: <4C5CBA32.9000109@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:129281 Archived-At: On 8/7/2010 2:43 AM, Christoph wrote: > I have a couple of thoughts: > I am wondering, is there a way to give package.el a list of packages to go > download from ELPA and install? I would also want it to use this list to check > for new versions of all packages in the list. Either on startup or on command > (M-x package-upgrade). Also, on a new installation of Emacs I would just tell > it "Go get the packages in the list" and it would recreate my package > configuration on that machine. All I need in version control is the list as > part of my init.el, instead of putting the entire elpa/ directory under version > control and deploying it to the new machine. I personally think that upgrading packages should be a conscious, deliberate action. You never know what changes the developers have put in the upgrade and what those change would entail in terms of how you will use the package. Many of the complaints we here from users about version changes stem from the fact that their distros or local admins do automatic updates. The users get burned as a result and take it out on us. Emacs obviously shouldn't encourage such irresponsible practices. You have to hit the button to make it happen. I will also want to install the new versions along side the old ones, so that I have the option of going back to the old versions if I need to. It is not yet clear to me if package.el allows that. Cheers, Uday