From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: Supporting multiline Package-Requires header Date: Sun, 23 Aug 2015 10:17:37 +0100 Message-ID: References: <87si7rjqmp.fsf@newcastle.ac.uk> <87fv3rjogj.fsf@newcastle.ac.uk> <87fv3po7ss.fsf@russet.org.uk> <87lhd2h5ug.fsf@Rainer.invalid> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3ca10d97c77051df6f8e3 X-Trace: ger.gmane.org 1440321502 12219 80.91.229.3 (23 Aug 2015 09:18:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Aug 2015 09:18:22 +0000 (UTC) Cc: emacs-devel To: Achim Gratz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 23 11:18:22 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 1ZTRPx-0001Oq-Rr for ged-emacs-devel@m.gmane.org; Sun, 23 Aug 2015 11:18:21 +0200 Original-Received: from localhost ([::1]:56020 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTRPw-0001Y1-M4 for ged-emacs-devel@m.gmane.org; Sun, 23 Aug 2015 05:18:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTRPJ-0001Ts-8j for emacs-devel@gnu.org; Sun, 23 Aug 2015 05:17:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTRPH-0003y2-Pk for emacs-devel@gnu.org; Sun, 23 Aug 2015 05:17:41 -0400 Original-Received: from mail-la0-x22e.google.com ([2a00:1450:4010:c03::22e]:33343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTRPH-0003xc-Gg for emacs-devel@gnu.org; Sun, 23 Aug 2015 05:17:39 -0400 Original-Received: by lalv9 with SMTP id v9so61668094lal.0 for ; Sun, 23 Aug 2015 02:17:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=mrunZ2c26iUrEgZl4J6NqEagui+kxhFroTN8/Sbz7vU=; b=FVVPxQWEBWxwkT3wy4htsr6MmVMvkfs84RdoIzK65wHs/HLyfHZuVXvx29KkmsRdEG 92m6XRWghAY6hXu8T4UT5BIEr+SY9zwr2XMqF5z4lRRlfSxlKr65Ycf31Usz9OoFaUxx n9BUWXZkm/hCdkgZSt0k8Bx7S2FT6keOBcd9PtH+x8MwC6RYTXPKpbjgJPHMHQzLq9tK ykzPygnqBX0OxJDCOQTxTLrQ7QbjJKFOKy7rsg04IYLv+SDbBwQ/euYi9KZEoiN60NsV BHICmD/W4xR7czfILLRJo1n8RfNan1YDt/srLdA77BWU/WZ1F/ZORIMclHpbxlNCFDWe ENZA== X-Received: by 10.112.205.6 with SMTP id lc6mr15023378lbc.95.1440321457714; Sun, 23 Aug 2015 02:17:37 -0700 (PDT) Original-Received: by 10.25.213.202 with HTTP; Sun, 23 Aug 2015 02:17:37 -0700 (PDT) Original-Received: by 10.25.213.202 with HTTP; Sun, 23 Aug 2015 02:17:37 -0700 (PDT) In-Reply-To: <87lhd2h5ug.fsf@Rainer.invalid> X-Google-Sender-Auth: 6-tHBhWZwN3kzdbCWVpl4takIdk X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22e 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:189080 Archived-At: --001a11c3ca10d97c77051df6f8e3 Content-Type: text/plain; charset=UTF-8 On Aug 23, 2015 7:33 AM, "Achim Gratz" wrote: > > Stefan Monnier writes: > >> (or (lm-header "package-version") > >> (lm-header "version") > >> (unless (equal pkg "org") > >> (error "Missing `version' header"))) > >> > >> Is this still necessary? > > I've finally had a look at what you're doing there. > > > Sadly, yes. But it should be "easy" to solve: ask the Org guys to put the > > version of their package in org.el's pseudo-headers. > > The easy solution is to recognize that you already got a complete > package archive from the Org guys which is ready to be deployed. I'm meaning to see if Elpa can be made to look for a -pkg file before visiting the main package file to gather information. I was just forced to interrupt what I was doing here because I had to start writing my thesis,but I'll get back to it eventually. --001a11c3ca10d97c77051df6f8e3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Aug 23, 2015 7:33 AM, "Achim Gratz" <Stromeko@nexgo.de> wrote:
>
> Stefan Monnier writes:
> >>=C2=A0 =C2=A0 =C2=A0(or (lm-header "package-version"= )
> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(lm-header "version&quo= t;)
> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(unless (equal pkg "org= ")
> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(error "Missing = `version' header")))
> >>
> >> Is this still necessary?
>
> I've finally had a look at what you're doing there.
>
> > Sadly, yes.=C2=A0 But it should be "easy" to solve: ask= the Org guys to put the
> > version of their package in org.el's pseudo-headers.
>
> The easy solution is to recognize that you already got a complete
> package archive from the Org guys which is ready to be deployed.

I'm meaning to see if Elpa can be made to look for a -pk= g file before visiting the main package file to gather information.
I was just forced to interrupt what I was doing here because I had to start= writing my thesis,but I'll get back to it eventually.

--001a11c3ca10d97c77051df6f8e3--