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: Re: Integrating package.el Date: Thu, 04 Mar 2010 19:22:04 -0500 Message-ID: References: <87wrzr6ugo.fsf@hagelb.org> <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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1267753245 10142 80.91.229.12 (5 Mar 2010 01:40:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 5 Mar 2010 01:40:45 +0000 (UTC) Cc: Ted Zlatanov , Phil Hagelberg , emacs-devel@gnu.org To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 05 02:40:39 2010 connect(): Connection refused 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 1NnLUT-0005vx-4B for ged-emacs-devel@m.gmane.org; Fri, 05 Mar 2010 01:34:05 +0100 Original-Received: from localhost ([127.0.0.1]:48177 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NnLJE-0006k5-Ry for ged-emacs-devel@m.gmane.org; Thu, 04 Mar 2010 19:22:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NnLJA-0006jy-0t for emacs-devel@gnu.org; Thu, 04 Mar 2010 19:22:24 -0500 Original-Received: from [140.186.70.92] (port=50365 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NnLJ3-0006h5-83 for emacs-devel@gnu.org; Thu, 04 Mar 2010 19:22:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NnLIt-0007wb-1o for emacs-devel@gnu.org; Thu, 04 Mar 2010 19:22:17 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:21926 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NnLIs-0007wM-U2 for emacs-devel@gnu.org; Thu, 04 Mar 2010 19:22:07 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEALPdj0tMCo4j/2dsb2JhbACbRHS3SIR8BIMXh3E X-IronPort-AV: E=Sophos;i="4.49,584,1262581200"; d="scan'208";a="57560045" Original-Received: from 76-10-142-35.dsl.teksavvy.com (HELO pastel.home) ([76.10.142.35]) by ironport2-out.pppoe.ca with ESMTP; 04 Mar 2010 19:22:04 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id AE1A58205; Thu, 4 Mar 2010 19:22:04 -0500 (EST) In-Reply-To: (Tom Tromey's message of "Thu, 04 Mar 2010 11:30:26 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:121649 Archived-At: > Right now the obvious answer would be the newest one -- but Stefan wants > to let the user pick a specific one. So, I think we'll need a bit of > additional metadata about this. The simplest solution is to not decide which at runtime but at some earlier time. This of course means that this choice can be out-of-date (e.g. the choice may say "activate /usr/local/elisp/foo-2.3" but that directory doesn't even exist any more), but if the changes are made through the package manager, than those out-of-date problems can be caught at that point. And otherwise we can just signal a warning and let the user invoke the package manager to fix it. Stefan