From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: Integrating package.el Date: Mon, 08 Mar 2010 08:55:52 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <876356hngn.fsf@lifelogs.com> References: <87ocl242jc.fsf@uwakimon.sk.tsukuba.ac.jp> <87d41ihx9g.fsf@stupidchicken.com> <87ocl167wx.fsf@hagelb.org> <8763795zsh.fsf@hagelb.org> <87r5pmwcf8.fsf@hagelb.org> <87ocjh2hyp.fsf@lifelogs.com> <31edf1081003032139t491b2339uf5202323100248c3@mail.gmail.com> <31edf1081003071516h522dcd31if96f7e96002bd3@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1268060192 11287 80.91.229.12 (8 Mar 2010 14:56:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 8 Mar 2010 14:56:32 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 08 15:56:28 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 1NoeNX-0001Ct-3I for ged-emacs-devel@m.gmane.org; Mon, 08 Mar 2010 15:56:19 +0100 Original-Received: from localhost ([127.0.0.1]:53055 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoeNW-0006YI-Mr for ged-emacs-devel@m.gmane.org; Mon, 08 Mar 2010 09:56:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NoeNR-0006XE-Gg for emacs-devel@gnu.org; Mon, 08 Mar 2010 09:56:13 -0500 Original-Received: from [140.186.70.92] (port=48089 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoeNQ-0006Wg-Ps for emacs-devel@gnu.org; Mon, 08 Mar 2010 09:56:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NoeNM-0006Eh-EN for emacs-devel@gnu.org; Mon, 08 Mar 2010 09:56:12 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:47046) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoeNM-0006EX-32 for emacs-devel@gnu.org; Mon, 08 Mar 2010 09:56:08 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NoeNH-00009D-Gr for emacs-devel@gnu.org; Mon, 08 Mar 2010 15:56:03 +0100 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Mar 2010 15:56:03 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Mar 2010 15:56:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.91 (gnu/linux) Cancel-Lock: sha1:5B6N2RJA69k0dJ+BaB1DltaSlTA= 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:121735 Archived-At: On Sun, 07 Mar 2010 20:17:23 -0700 Tom Tromey wrote: Tom> I think the default should be to activate the most recent package, and Tom> to activate a package at install time. So, if the user picks a specific Tom> older version to activate (or equivalently deactivates the most recent Tom> version), record that, and take it into account during activation. So it's a version override alist, where a missing entry implies the user wants the latest? Do you mean something like this: ((package1 (repository1 path-to-specific-version1)) (package2 (repository2 path-to-specific-version2))) or am I misunderstanding something? Tom> This would also need some changes in package-activate and the package Tom> menu mode, and also we'd have to store some more info somewhere in Tom> ~/.emacs.d/elpa/. If this is just an alist it could be stored with Customize and not as part of the repository itself. Conceptually it seems to be at the global level, not per repository. If the repository list is customizable and global (as I think Phil's changes assume) then the overrides could simply be part of the repository list: (setq package-archives '((repository1 :overrides (package1 path-to-specific-version1)) (repository2 :overrides (package2 path-to-specific-version2)))) Ted