From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@newcastle.ac.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: Supporting multiline Package-Requires header Date: Mon, 10 Aug 2015 13:51:56 +0100 Message-ID: <87fv3rjogj.fsf@newcastle.ac.uk> References: <87si7rjqmp.fsf@newcastle.ac.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1439211244 12379 80.91.229.3 (10 Aug 2015 12:54:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Aug 2015 12:54:04 +0000 (UTC) Cc: Emacs developers , Kaushal To: Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 10 14:53:46 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZOmaH-0006e2-6M for ged-emacs-devel@m.gmane.org; Mon, 10 Aug 2015 14:53:45 +0200 Original-Received: from localhost ([::1]:58135 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOmaG-0002bf-AJ for ged-emacs-devel@m.gmane.org; Mon, 10 Aug 2015 08:53:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50309) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOmYd-000099-LN for emacs-devel@gnu.org; Mon, 10 Aug 2015 08:52:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZOmYZ-0006Sc-Nh for emacs-devel@gnu.org; Mon, 10 Aug 2015 08:52:03 -0400 Original-Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:55694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOmYZ-0006SR-Gj for emacs-devel@gnu.org; Mon, 10 Aug 2015 08:51:59 -0400 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot22.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1ZOmYY-0007Ib-Eb; Mon, 10 Aug 2015 13:51:58 +0100 Original-Received: from jangai.ncl.ac.uk ([10.66.67.223] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1ZOmYY-0004Zk-EQ; Mon, 10 Aug 2015 13:51:58 +0100 In-Reply-To: (Artur Malabarba's message of "Mon, 10 Aug 2015 13:28:14 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 128.240.234.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:188673 Archived-At: Artur Malabarba writes: >> I raise possibility (3) >> >> Package-Requires: ((pkg-a "4.2.0) (pkg-b "1.0)) >> ((pkg-c "1.2)) > > I thought about this one too, but I don't like it much because (as you > mention) when someone messes up it will fail silently. Other than > that, it's viable. > > Option also has the advantage that it's impossible to use by accident > (since the whole thing has to be a single valid sexp). Indeed. But it's only accidentally a sexp, in the sense that it's not actually a sexp in the buffer -- it's a comment. What is the failure behaviour of package.el for this at the moment? I know Cask would fail nicely for this now (cause I complained about the old error message!). It's worth considering. In this case, you really do want the format change to break everything that doesn't accept it! Phil