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: user-controlled load-path extension: load-dir Date: Thu, 10 Mar 2011 11:33:10 -0700 Message-ID: References: <87oc5kax8l.fsf@stupidchicken.com> <8739mwnj3v.fsf@lifelogs.com> <87oc5kjarb.fsf@stupidchicken.com> <878vwnnrfy.fsf@hi-media-techno.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1299782015 27582 80.91.229.12 (10 Mar 2011 18:33:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2011 18:33:35 +0000 (UTC) Cc: Chong Yidong , Ted Zlatanov , emacs-devel@gnu.org To: Dimitri Fontaine Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 10 19:33:31 2011 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 1Pxkfx-0006xm-Fu for ged-emacs-devel@m.gmane.org; Thu, 10 Mar 2011 19:33:29 +0100 Original-Received: from localhost ([127.0.0.1]:36727 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pxkfw-0002GW-2w for ged-emacs-devel@m.gmane.org; Thu, 10 Mar 2011 13:33:28 -0500 Original-Received: from [140.186.70.92] (port=55081 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pxkfk-0002Bb-8e for emacs-devel@gnu.org; Thu, 10 Mar 2011 13:33:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pxkfj-0005zJ-3l for emacs-devel@gnu.org; Thu, 10 Mar 2011 13:33:16 -0500 Original-Received: from mx1.redhat.com ([209.132.183.28]:44786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pxkfi-0005z9-Ox for emacs-devel@gnu.org; Thu, 10 Mar 2011 13:33:15 -0500 Original-Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p2AIXDR6002014 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 10 Mar 2011 13:33:13 -0500 Original-Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p2AIXCsw007164; Thu, 10 Mar 2011 13:33:12 -0500 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 p2AIXAWm002582; Thu, 10 Mar 2011 13:33:11 -0500 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 86D623797CD; Thu, 10 Mar 2011 11:33:10 -0700 (MST) X-Attribution: Tom In-Reply-To: (Dimitri Fontaine's message of "Thu, 10 Mar 2011 18:23:12 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 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:137046 Archived-At: >>>>> "Dimitri" == Dimitri Fontaine writes: Dimitri> Given the following (or some variations, all based upon reading (info Dimitri> "(elisp) Packaging Basics") and (info "(elisp) Library Headers"), then Dimitri> the describe-function of `version-to-list' and helpers): Dimitri> ;; Version: 1.2~dev Dimitri> ;; Package-Version: 1.2+alpha1 Weird version number. Dimitri> It seem to me that the function `package-strip-rcs-id' is buggy Dimitri> from failing to use `version-to-list' and instead invents its Dimitri> own regexp to match the version identifier, then returns nil Dimitri> which gets into an error. If version-to-list accepts that version but package.el still gives an error, then it is a bug. Please report it to the bug tracker, thanks. Tom