From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: org version numbers in file - WAS: Tangling takes long - profiling and calling R Date: Tue, 23 Jun 2015 10:45:45 +0200 Message-ID: References: <87ioaobvl1.fsf@selenimh.access.network> <87a8vzc1u8.fsf@selenimh.access.network> <87381r9vk3.fsf@selenimh.access.network> <87egl977u3.fsf@selenimh.access.network> <20150618162321.2636bb41@gaia> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7JqC-0002v8-4K for emacs-orgmode@gnu.org; Tue, 23 Jun 2015 04:46:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7Jq7-000067-VN for emacs-orgmode@gnu.org; Tue, 23 Jun 2015 04:46:00 -0400 Received: from mail-wg0-f51.google.com ([74.125.82.51]:32822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7Jq7-00005q-Fx for emacs-orgmode@gnu.org; Tue, 23 Jun 2015 04:45:55 -0400 Received: by wgck11 with SMTP id k11so3217705wgc.0 for ; Tue, 23 Jun 2015 01:45:54 -0700 (PDT) In-Reply-To: <20150618162321.2636bb41@gaia> (Detlef Steuer's message of "Thu, 18 Jun 2015 16:23:21 +0200") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Detlef Steuer Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Detlef Steuer writes: > Am Thu, 18 Jun 2015 15:25:57 +0200 > schrieb Rainer M Krug : > >> In the spirit of reproducibility, I would at least suggest to >> introduce a function which inserts an argument >>=20 >> #+ORG_FILE_VERSION: TheActualOrgVersionProbablyWithGitHash >>=20 >> if it does not exist, and if it exist, updates it to the actual >> version? > > > Wouldn=C2=B4t something like=20 > > #+BEGIN_SRC emacs-lisp :exports results > (org-version) > #+END_SRC > > do it, when needed? Thanks - I will use this for now. But there are two problems with it: 1) it has a lot of information in it which is not actually relevant - but one could definitely filter it out with some regexp stuff (although not me - regexp are to me like magic - if they work: unbelievable - if they don't: what are all these strange characters?) ,---- | Org-mode version 8.3beta (release_8.3beta-1209-gc532ff @ /Users/rainerkru= g/.emacs.d/org-mode/lisp/) `---- 2) most importantly, I think this should be added automatically into the org file as #+ORG_FILE_VERSION: so that one can count on it to be there. Cheers, Rainer > > Regards > Detlef =2D-=20 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,= UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2 iQEcBAEBCAAGBQJViRy+AAoJENvXNx4PUvmCt0MIAIBmBHPFLGwRFOEZpqUluAxq mG/cdKDNINfV5ynfzkwNTeX3ahv+WE6yPy/2NzpZczXs+fnk1uV8nKynzfiDQO4b iul9vqUJ4IAlv6H6pb5YMZUISvn7bFOqyOu7oEvmd7+ysC+Vm4GXW0q9dVtgKaON 0KJHljZbS+53H2HVFSXQvHfWToZWn4lWRDApBZOJBAE56+P5h7zrF5cZ9BVtzHIG OcBgE+kmUFa3tCZQBs720WrtjYoaZ2CmZOL7vyXCdnw8VTaJFrvD5cEx0Ick/B5N b1XlpiiPh3mhtbWI4Bh5+ciA+TgUGr+C68m/wk8jAa95x6NUs2fEP4YHKzpox2A= =lDU4 -----END PGP SIGNATURE----- --=-=-=--