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 >> >> #+ORG_FILE_VERSION: TheActualOrgVersionProbablyWithGitHash >> >> if it does not exist, and if it exist, updates it to the actual >> version? > > > Wouldn´t something like > > #+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/rainerkrug/.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 -- 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