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: Adding async package to GNU ELPA Date: Thu, 7 Jan 2016 13:49:00 -0200 Message-ID: References: <20151224213932.12107.84317@vcs.savannah.gnu.org> <871ta7g77t.fsf@gnus.org> <874mf2qiv3.fsf@gmx.de> <5681C474.4030408@yandex.ru> <87wprxpq4n.fsf@gmx.de> <87h9j114ay.fsf_-_@gmx.de> <87si2kywix.fsf@gmx.de> <87io3fzkrv.fsf@gmx.de> <87k2nummb5.fsf@gmail.com> <878u49dds5.fsf@gmail.com> <87bn95ppt1.fsf@gmx.de> <87si2dztio.fsf@gmx.de> <877fjly19b.fsf@gmx.de> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114fbcbed13d060528c06857 X-Trace: ger.gmane.org 1452181774 4301 80.91.229.3 (7 Jan 2016 15:49:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Jan 2016 15:49:34 +0000 (UTC) Cc: emacs-devel , Thierry Volpiatto To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 07 16:49:22 2016 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 1aHCoS-0003RY-4z for ged-emacs-devel@m.gmane.org; Thu, 07 Jan 2016 16:49:20 +0100 Original-Received: from localhost ([::1]:59154 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHCoR-0005tH-AO for ged-emacs-devel@m.gmane.org; Thu, 07 Jan 2016 10:49:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHCoB-0005t5-3g for emacs-devel@gnu.org; Thu, 07 Jan 2016 10:49:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHCo9-0005Ik-Rb for emacs-devel@gnu.org; Thu, 07 Jan 2016 10:49:03 -0500 Original-Received: from mail-qk0-x231.google.com ([2607:f8b0:400d:c09::231]:36530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHCo9-0005IS-Mt for emacs-devel@gnu.org; Thu, 07 Jan 2016 10:49:01 -0500 Original-Received: by mail-qk0-x231.google.com with SMTP id q19so128224875qke.3 for ; Thu, 07 Jan 2016 07:49:01 -0800 (PST) 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=pNC4lWvLgMF85nnvOjSdk3kSIYs2RTuowtR8tpBHYT8=; b=WdjKvtq7TA+yJRPDxRJ/TecX1CPBGSWrG7Jd34kg7I/Sb4L0RqXEXnDiDa9Y3ZONX9 OUhl0mRy37F7Dl7NZzsMKC3vEY1JOTdY3LGapVIE9V++G/Uup0q76B2C3kfujHOoqwCU kLHVEKlrRGVh8a7hmOx3MNZ0WlKQU3RQylN6Mga2i0I6DXS9iQMXlRmRJjJcO4GzLakk xpMzkjPIW6PevKrowbsRLEW/BOIMs2NoONoL8fPHDxzxv9lEI83Nrzk+2tXGGyinPl2/ sAwPPtY7my8yTmEPCumLr+oUQR0I4Fhng3Kq0CIlewQM4DgClXgpZmKchkfvYJnTS4Mj DcGA== X-Received: by 10.13.226.13 with SMTP id l13mr79202894ywe.246.1452181740926; Thu, 07 Jan 2016 07:49:00 -0800 (PST) Original-Received: by 10.129.87.130 with HTTP; Thu, 7 Jan 2016 07:49:00 -0800 (PST) Original-Received: by 10.129.87.130 with HTTP; Thu, 7 Jan 2016 07:49:00 -0800 (PST) In-Reply-To: <877fjly19b.fsf@gmx.de> X-Google-Sender-Auth: 3jCYBkZTcwxIhATHzFEFxUgKQFQ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c09::231 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:197732 Archived-At: --001a114fbcbed13d060528c06857 Content-Type: text/plain; charset=UTF-8 On Jan 7, 2016 11:20 AM, "Michael Albinus" wrote: > > Artur Malabarba writes: > > >> Tramp needs its version string at different places. Therefore, the > >> version is kept only in configure.ac. > > > > Would it be possible to keep it in tramp.el instead, and retrieve it > > using `lm-version'? > > No. The whole idea of trampver.el is to keep the version string away > from tramp.el. If the version string would be generated into > tramp.el, the development must be applied in tramp.el.in. Not applicable. I'm not talking about generating the version string into tramp.el. IIUC, you manually write the version string only in configure.ac. (did I understand this correctly?) What I'm saying is: could you write the version string only in tramp.el, instead of in configure.ac? You could easily retrieve the version during ./configure with a simple (grep | sed) or with lm-version (in elisp). This way tramp.el would still be static (no need for tramp.el.in). --001a114fbcbed13d060528c06857 Content-Type: text/html; charset=UTF-8

On Jan 7, 2016 11:20 AM, "Michael Albinus" <michael.albinus@gmx.de> wrote:
>
> Artur Malabarba <bruce.connor.am@gmail.com> writes:
>
> >> Tramp needs its version string at different places. Therefore, the
> >> version is kept only in configure.ac.
> >
> > Would it be possible to keep it in tramp.el instead, and retrieve it
> > using `lm-version'?
>
> No. The whole idea of trampver.el is to keep the version string away
> from tramp.el. If the version string would be generated into
> tramp.el, the development must be applied in tramp.el.in. Not applicable.

I'm not talking about generating the version string into tramp.el.

IIUC, you manually write the version string only in configure.ac. (did I understand this correctly?)

What I'm saying is: could you write the version string only in tramp.el, instead of in configure.ac?
You could easily retrieve the version during ./configure with a simple (grep | sed) or with lm-version (in elisp).

This way tramp.el would still be static (no need for tramp.el.in).

--001a114fbcbed13d060528c06857--