From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Willemse Newsgroups: gmane.emacs.bugs Subject: bug#15108: 24.3.50; Package dependency documentation Date: Fri, 16 Aug 2013 09:35:54 +0200 Message-ID: References: <4ae8e584-105f-4ba4-9126-6087067ad7d8@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1376638634 11154 80.91.229.3 (16 Aug 2013 07:37:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Aug 2013 07:37:14 +0000 (UTC) Cc: 15108@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 16 09:37:16 2013 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 1VAEax-0005ib-Oj for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Aug 2013 09:37:15 +0200 Original-Received: from localhost ([::1]:56957 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAEax-0007SK-DX for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Aug 2013 03:37:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAEap-0007R3-K3 for bug-gnu-emacs@gnu.org; Fri, 16 Aug 2013 03:37:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VAEak-0007LG-IK for bug-gnu-emacs@gnu.org; Fri, 16 Aug 2013 03:37:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39445) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAEak-0007L7-8X for bug-gnu-emacs@gnu.org; Fri, 16 Aug 2013 03:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VAEaj-0004wh-QN for bug-gnu-emacs@gnu.org; Fri, 16 Aug 2013 03:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tom Willemse Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Aug 2013 07:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15108-submit@debbugs.gnu.org id=B15108.137663856618898 (code B ref 15108); Fri, 16 Aug 2013 07:37:01 +0000 Original-Received: (at 15108) by debbugs.gnu.org; 16 Aug 2013 07:36:06 +0000 Original-Received: from localhost ([127.0.0.1]:33760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VAEZp-0004ui-EG for submit@debbugs.gnu.org; Fri, 16 Aug 2013 03:36:06 -0400 Original-Received: from r0.smtpout1.alwaysdata.com ([176.31.58.0]:52942) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VAEZm-0004uB-GG for 15108@debbugs.gnu.org; Fri, 16 Aug 2013 03:36:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alwaysdata.net; s=ryuslash; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=C+MKzcIcqpiDCpjCjHuN0LOxoFLOPw7gE4rGyH/Lack=; b=Ebs4HNSYy3aG4GPxbiO8jwxZ3YOwmCmGfdCn1mgvXOWdp/lxJqk6YsQBdrU8RmJ6IazHxtWCv7cFClZKwVDgQGlWLOsHBy1FizpouFq6OEI2vt35a6BcrYou1xOROG23gjfdbu8kxQwYCgl0VMsjX//vfPsYz/5JcR24wsFoJaU=; Original-Received: from 78-21-108-183.access.telenet.be ([78.21.108.183] helo=localhost) by smtpout1.alwaysdata.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.77) (envelope-from ) id 1VAEZf-0002qZ-GW; Fri, 16 Aug 2013 09:35:55 +0200 In-Reply-To: <4ae8e584-105f-4ba4-9126-6087067ad7d8@default> (Drew Adams's message of "Thu, 15 Aug 2013 23:57:53 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-alwaysdata-ID: 73442737 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:77422 Archived-At: Drew Adams writes: >> > The values `foo', `(foo)' and `((foo))' all cause an error to be >> > signaled by `package-buffer-info'. This seems to me that there is no >> > "possibly" about it. >> >> Indeed a lot of the code assumes that there's a version number in there, >> but some of the code does try to handle a nil value as well. >> I think it would be desirable to make it possible to leave the version >> number unspecified. > > +1; a BIG +1. I could look into that if you guys like. Any pointers on where to look apart from `package-buffer-info'? > You can use `Package Requires ((foo "0"))' as a workaround, but it's > silly that you have to do that. If a library is not versioned, or if > for some reason any version of it will do for the package that requires > it, it should be possible to use just `Package Requires ((foo))'. Would values of either `foo' for just a single package dependency, `(foo bar)' for packages without version dependencies and `(foo (baz "1.1.0") bar)' for mixed values be OK? That would be my preference, but perhaps this is to complex. > Furthermore, if no library is required, it should be possible to omit > a `Package-Requires' altogether - that should be equivalent to > `Package-Requires ()'. This is already possible isn't it? Most of my packages don't require anything and as such don't have a `Package-Requires' header.