From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#11410: 24.1.50; package.el `emacs' package information is broken Date: Sat, 05 May 2012 08:37:14 -0400 Message-ID: References: <20120505112424.GA7691@c3po.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1336221502 17017 80.91.229.3 (5 May 2012 12:38:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 May 2012 12:38:22 +0000 (UTC) Cc: 11410@debbugs.gnu.org To: Toby Cubitt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 05 14:38:21 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1SQeFh-0001dY-F3 for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 May 2012 14:38:21 +0200 Original-Received: from localhost ([::1]:59110 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQeFf-0005Sz-L9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 May 2012 08:38:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQeFc-0005SV-LY for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 08:38:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQeFb-0005aE-0U for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 08:38:16 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQeFa-0005a4-Sv for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 08:38:14 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SQeHL-0001K0-7n for bug-gnu-emacs@gnu.org; Sat, 05 May 2012 08:40:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 May 2012 12:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11410 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11410-submit@debbugs.gnu.org id=B11410.13362215564995 (code B ref 11410); Sat, 05 May 2012 12:40:02 +0000 Original-Received: (at 11410) by debbugs.gnu.org; 5 May 2012 12:39:16 +0000 Original-Received: from localhost ([127.0.0.1]:36838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQeGY-0001IU-At for submit@debbugs.gnu.org; Sat, 05 May 2012 08:39:15 -0400 Original-Received: from ironport-out.teksavvy.com ([206.248.143.162]:53421) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQeGV-0001IC-Pu for 11410@debbugs.gnu.org; Sat, 05 May 2012 08:39:12 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjEKACxOgk9MCqD5/2dsb2JhbABDtheCDAOBDIEIggkBAQQBViMFCws0EhQYDSSIHAW2MothhHkEpEWBXYMD X-IronPort-AV: E=Sophos;i="4.75,391,1330923600"; d="scan'208";a="178464786" Original-Received: from 76-10-160-249.dsl.teksavvy.com (HELO pastel.home) ([76.10.160.249]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 05 May 2012 08:37:16 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 3D9355910F; Sat, 5 May 2012 08:37:14 -0400 (EDT) In-Reply-To: <20120505112424.GA7691@c3po.home> (Toby Cubitt's message of "Sat, 5 May 2012 13:24:24 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59781 Archived-At: > The Elisp manual "Conventional Headers for Emacs Libraries" node says: > The package code automatically defines a package named `emacs' > with the version number of the currently running Emacs. This can > be used to require a minimal version of Emacs for a package. BTW I highly doubt the usefulness of such a dependency. Package.el can use dependencies to automatically download&update needed packages, but it currently can't do that for `emacs', and in general it's can't do that at all (the same set of installed packages might even be used by different versions of Emacs). So such a dependency makes more sense as a load-time test (written in Elisp directly in the package's code) rather than as a package.el dependency. Stefan