From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.devel Subject: Re: user-controlled load-path extension: load-dir Date: Fri, 11 Mar 2011 01:06:13 +0530 Message-ID: <81mxl23h02.fsf@gmail.com> 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 X-Trace: dough.gmane.org 1299785807 18163 80.91.229.12 (10 Mar 2011 19:36:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2011 19:36:47 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 10 20:36:43 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 1Pxlf6-0005k4-E2 for ged-emacs-devel@m.gmane.org; Thu, 10 Mar 2011 20:36:40 +0100 Original-Received: from localhost ([127.0.0.1]:59303 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pxlf5-0003Kx-ST for ged-emacs-devel@m.gmane.org; Thu, 10 Mar 2011 14:36:39 -0500 Original-Received: from [140.186.70.92] (port=43593 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pxlew-0003KP-Vm for emacs-devel@gnu.org; Thu, 10 Mar 2011 14:36:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pxlev-0001F2-Vk for emacs-devel@gnu.org; Thu, 10 Mar 2011 14:36:30 -0500 Original-Received: from mail-pw0-f41.google.com ([209.85.160.41]:61482) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pxlev-0001Em-QI for emacs-devel@gnu.org; Thu, 10 Mar 2011 14:36:29 -0500 Original-Received: by pwi10 with SMTP id 10so594209pwi.0 for ; Thu, 10 Mar 2011 11:36:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:references:mail-followup-to :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=3pjxlQYOlq+fcZfgVKAR/yACZdwELef/+PH3boXRL3c=; b=QEErDpksvvgCazeg5Tuk1zQ+K3APg1YlT8/gLcRkLMB6KsHVHy2+llW0etgrLou3kG 3Qa/65i62iODZxQI4W6/8+ISf/n2otQnqx8538jm5ITYewnu+CMQ4A3sfbJbJHQAqvfI nDdSPEbN/3EOnCUaVTqqVwoUyam09TGquvsdY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:references:mail-followup-to:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=V/j3mY4D7DBbD10bbibIJ2AoKkodxb3Kl1LeNAJUmVLZCDiSGUGc+INNagNQz9J9q0 pkRAFR98FjPjCoU/0NY1UjyHY/O3/ilvQjwXijkruqqEG8v6u9mQUWj1bpUnZCJDvP0+ SNvbGEwh0c5g4Cc3v9KZ/O4mQykmDozXSo9DM= Original-Received: by 10.142.131.21 with SMTP id e21mr6697766wfd.320.1299785788104; Thu, 10 Mar 2011 11:36:28 -0800 (PST) Original-Received: from JAMBU-NETBOOK ([122.174.82.50]) by mx.google.com with ESMTPS id z8sm4298298wfj.13.2011.03.10.11.36.25 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Mar 2011 11:36:26 -0800 (PST) Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: (Tom Tromey's message of "Thu, 10 Mar 2011 11:33:10 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.160.41 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:137058 Archived-At: > 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. This is out of thread ... In package-tar-file-info, the following regexp is used for validating the package name. (unless (string-match "^\\(.+\\)-\\([0-9.]+\\)\\.tar$" file) (error "Invalid package name `%s'" file)) The above regexp wouldn't catch files with the following version strings 1.0pre2 1.0.7.5 22.8beta3 0.9alpha1 6.9.30Beta. Furthermore, if I do build a org-7.5pre1.tar, then list-packages gets very confused about the name. I believe some sort of auditing around numeric <-> stringified versions of package files could be taken up. Jambunathan K. > > Tom