From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Unique org version for dev builds? (Was: org -> org export ignores latex ..) Date: Mon, 16 May 2016 15:31:44 +0000 Message-ID: References: <87twi343jk.fsf@freedom.localdomain> <87y47e7yid.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c092f6c084e010532f7535c Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2KUw-00064f-5L for emacs-orgmode@gnu.org; Mon, 16 May 2016 11:31:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2KUt-0005QU-Pd for emacs-orgmode@gnu.org; Mon, 16 May 2016 11:31:57 -0400 In-Reply-To: <87y47e7yid.fsf@saiph.selenimh> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Bastien Guerry , Achim Gratz Cc: emacs-orgmode , Nicolas Goaziou --94eb2c092f6c084e010532f7535c Content-Type: text/plain; charset=UTF-8 Hi Bastien, Achim, I have added you to this thread to get help on how to make it easy to identify if the current version of org-mode is the dev build. As of now, M-x org-version shows "Org-mode version 8.3.4 .." for both master and maint build of org-mode. Would it be possible to have the version show something like "Org-mode version 8.3.4-dev .." for master branch builds? That allows a quick visual confirmation if someone is using the dev or stable build. Also it would be useful in creating version checking elisp wrappers around not-yet-released org-mode code in personal configs. Something like below would then be possible (if (org-mode-dev-p) (progn ;; new style ) (progn ;; old style )) Thanks. On Fri, May 13, 2016 at 11:45 AM Nicolas Goaziou wrote: > Hello, > > Kaushal Modi writes: > > > It would have been nice if the master branch built version showed a > > different numerical version number than the one on the maint branch. Or > > probably some prefix like dev/master? Nicolas? > > Deciding the next version number ahead of time isn't always right from > the beginning of the branch. I guess a "dev" suffix should be enough. > > However, I don't know how to change the release tag, which is defined in > a somewhat convoluted way. Bastien or Achim probably know how to do it. > > -- -- Kaushal Modi --94eb2c092f6c084e010532f7535c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Bastien, Achim,

I have added you to = this thread to get help on how to make it easy to identify if the current v= ersion of org-mode is the dev build.

As of now, M-= x org-version shows "Org-mode version 8.3.4 .." for both master a= nd maint build of org-mode. Would it be possible to have the version show s= omething like=C2=A0"Org-mode version 8.3.4-dev .." for master bra= nch builds?

That allows a quick visual confirmatio= n if someone is using the dev or stable build. Also it would be useful in c= reating version checking elisp wrappers around not-yet-released org-mode co= de in personal configs.

Something like below would= then be possible

(if (org-mode-dev-p)
<= div>=C2=A0 =C2=A0 (progn
=C2=A0 =C2=A0 =C2=A0 ;; new style
<= div>=C2=A0 =C2=A0 =C2=A0 )
=C2=A0 (progn
=C2=A0 =C2=A0 = ;; old style
=C2=A0 =C2=A0 ))

Than= ks.


On Fri, May 13, 2016 at 11:45 AM Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
Hello,

Kaushal Modi <kaushal.modi@gmail.com> writes:

> It would have been nice if the master branch built version showed a > different numerical version number than the one on the maint branch. O= r
> probably some prefix like dev/master? Nicolas?

Deciding the next version number ahead of time isn't always right from<= br> the beginning of the branch. I guess a "dev" suffix should be eno= ugh.

However, I don't know how to change the release tag, which is defined i= n
a somewhat convoluted way. Bastien or Achim probably know how to do it.
=
--

--
Kaushal Modi

--94eb2c092f6c084e010532f7535c--