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 02:23:07 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1376612720 23339 80.91.229.3 (16 Aug 2013 00:25:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Aug 2013 00:25:20 +0000 (UTC) To: 15108@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 16 02:25:22 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 1VA7qy-0004Hq-K5 for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Aug 2013 02:25:20 +0200 Original-Received: from localhost ([::1]:56102 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VA7qy-0008QU-4t for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Aug 2013 20:25:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VA7qo-0008QG-SP for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2013 20:25:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VA7qi-0001GN-Bi for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2013 20:25:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VA7qi-0001G6-9R for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2013 20:25:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VA7qh-0006Ad-DU for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2013 20:25:03 -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 00:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15108 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.137661268723693 (code B ref -1); Fri, 16 Aug 2013 00:25:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Aug 2013 00:24:47 +0000 Original-Received: from localhost ([127.0.0.1]:33268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VA7qP-00069x-Vh for submit@debbugs.gnu.org; Thu, 15 Aug 2013 20:24:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58311) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VA7pY-00067u-6c for submit@debbugs.gnu.org; Thu, 15 Aug 2013 20:23:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VA7pM-0000da-IT for submit@debbugs.gnu.org; Thu, 15 Aug 2013 20:23:46 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:35055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VA7pM-0000dW-Ex for submit@debbugs.gnu.org; Thu, 15 Aug 2013 20:23:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VA7pG-0008FE-KX for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2013 20:23:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VA7pA-0000cY-R0 for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2013 20:23:34 -0400 Original-Received: from r0.smtpout1.alwaysdata.com ([176.31.58.0]:56922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VA7pA-0000cK-I3 for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2013 20:23:28 -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:Date:Subject:To:From; bh=Su6Oilzlnmsx193+GP97Pz607Oby9QF+IlEjVw8MLmA=; b=EbAdB9Q47bf6AO7pN8oJeDjQXxeuY0jnd3XCEfjA5wJwCRxvYrwvXHdrBj05XG04ZmVV9cCupQwqQ189iORy32JJsy64dxVa6ckSnRhY+PMU04fPqmJJx/5EKGWB5I/8ohhiCxYhVEmDGcdqGcbR9HFMe35eeaJBGB4TIGgqcdc=; 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 1VA7oq-00032c-2R for bug-gnu-emacs@gnu.org; Fri, 16 Aug 2013 02:23:08 +0200 X-alwaysdata-ID: 73399355 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Thu, 15 Aug 2013 20:24:44 -0400 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:77408 Archived-At: --=-=-= Content-Type: text/plain I noticed that the "Packaging Basics" section in the Emacs Lisp manual suggests that version numbers in `Package-Requires' headers are optional, however the explanation of `Package-Requires' makes it clear that the version specifier is necessary and testing confirms this. 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. It's only a tiny change and I hope it's OK. I have tried to follow the guidelines found in the Emacs manual about sending patches, I didn't find any reference about diffs of multiple files, so I hope it's OK to send the diffs separately. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=ChangeLog.diff Content-Description: ChangeLog diff *** ChangeLog 2013-08-16 00:30:03.814759000 +0200 --- ChangeLog.new 2013-08-16 00:29:31.431138190 +0200 *************** *** 1,3 **** --- 1,8 ---- + 2013-08-15 Tom Willemse + + * package.texi (Packaging Basics): The minimal acceptable version + numbers specified in a package's dependencies are not optional. + 2013-08-15 Xue Fuqiao * markers.texi (The Region): Add/move indexes. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=package.diff Content-Description: package.texi diff *** package.texi 2013-08-16 00:30:09.127486000 +0200 --- package.texi.new 2013-08-16 00:29:44.384571450 +0200 *************** *** 68,78 **** once it is installed. @item Dependencies ! A list of other packages (possibly including minimal acceptable ! version numbers) on which this package depends. The list may be ! empty, meaning this package has no dependencies. Otherwise, ! installing this package also automatically installs its dependencies; ! if any dependency cannot be found, the package cannot be installed. @end table @cindex content directory, package --- 68,78 ---- once it is installed. @item Dependencies ! A list of other packages (including minimal acceptable version ! numbers) on which this package depends. The list may be empty, ! meaning this package has no dependencies. Otherwise, installing this ! package also automatically installs its dependencies; if any ! dependency cannot be found, the package cannot be installed. @end table @cindex content directory, package --=-=-=--