From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: Emacs Package Management Date: Thu, 17 Sep 2009 08:21:24 -0600 Message-ID: References: <485b0c380808011427n4d3144eey3f8daf3abac83bf4@mail.gmail.com> <87d45vzt4j.fsf@hagelb.org> <87hbv20ybw.fsf@thinkpad.tsdh.de> Reply-To: Tom Tromey NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253197318 926 80.91.229.12 (17 Sep 2009 14:21:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Sep 2009 14:21:58 +0000 (UTC) Cc: phil@hagelb.org, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 17 16:21:46 2009 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.50) id 1MoHrk-0004lg-2u for ged-emacs-devel@m.gmane.org; Thu, 17 Sep 2009 16:21:44 +0200 Original-Received: from localhost ([127.0.0.1]:48616 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoHrj-0002cQ-7e for ged-emacs-devel@m.gmane.org; Thu, 17 Sep 2009 10:21:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoHrc-0002bD-Al for emacs-devel@gnu.org; Thu, 17 Sep 2009 10:21:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoHrX-0002ZZ-Fz for emacs-devel@gnu.org; Thu, 17 Sep 2009 10:21:35 -0400 Original-Received: from [199.232.76.173] (port=37049 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoHrX-0002ZW-CV for emacs-devel@gnu.org; Thu, 17 Sep 2009 10:21:31 -0400 Original-Received: from mx1.redhat.com ([209.132.183.28]:18964) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MoHrV-0005wZ-II; Thu, 17 Sep 2009 10:21:29 -0400 Original-Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8HELQwV001678; Thu, 17 Sep 2009 10:21:26 -0400 Original-Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8HELPXL010866; Thu, 17 Sep 2009 10:21:25 -0400 Original-Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n8HELOVh005247; Thu, 17 Sep 2009 10:21:25 -0400 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 520043781CE; Thu, 17 Sep 2009 08:21:24 -0600 (MDT) X-Attribution: Tom In-Reply-To: <87hbv20ybw.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Thu, 17 Sep 2009 10:28:35 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 X-detected-operating-system: by monty-python.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:115414 Archived-At: >>>>> "Tassilo" == Tassilo Horn writes: Tassilo> But the newest package might not run on an older emacs version. Tassilo> So it would be good if package.el would show the latest version Tassilo> of a package that is supposed to work with my emacs version, Tassilo> and if it requires other packages, then their versions have to Tassilo> be taken into account, too. Does it do something like that? Right now, package.el defines a dummy package named "emacs" with a version computed in the obvious way. A package can then declare a dependency on a minimum version of Emacs. I forget offhand what exactly package.el does here. I think it won't let you install a package whose emacs dependency is not met (it has been a while since I hacked on this so I don't remember its exact behavior). In any case, it definitely won't activate such a package (you could get one installed, for instance, by running Emacs 23, installing something, and then running Emacs 21). Tom