Re: [O] how to compare org-mode version to current file needs

2011-03-17 Thread Olaf.Hamann
Am 17.03.2011 10:12, schrieb Bastien: [...] I don't see the real need for something complicated. Just say that the .org file needs current head until it's not true anymore. If you don't want to have to update this message, say (insert "This file needs " (org-version)) [..] Pragmatical, easy t

Re: [O] how to compare org-mode version to current file needs

2011-03-17 Thread Bastien
Hi Olaf, "Olaf.Hamann" writes: > I'm using head of git repository and Eric Schulte has just added a feature > to org-babel, > which I do use very often (expanding macros in src blocks). > Tangling without that new feature produce corrupt code files. now I understand, thanks. > So I would like

Re: [O] how to compare org-mode version to current file needs

2011-03-17 Thread Olaf.Hamann
Hi Bastien, I'm using head of git repository and Eric Schulte has just added a feature to org-babel, which I do use very often (expanding macros in src blocks). Tangling without that new feature produce corrupt code files. So I would like to give a hint to myself (as I run different Emacse in

Re: [O] how to compare org-mode version to current file needs

2011-03-17 Thread Bastien
Hi Olaf, "Olaf.Hamann" writes: > is there any org-mode expression for saying "this org-file needs > org-version > xxx" No. In what case is it useful? Org tries to be backward compatible and can export any _old_ .org formatted file I can think of. Do you have an example where it is needed?

Re: [O] how to compare org-mode version to current file needs

2011-03-16 Thread Eric S Fraga
"Olaf.Hamann" writes: > Hello, > > is there any org-mode expression for saying "this org-file needs > org-version > xxx" > which will compare current needs of the file to used orgmode at > org-file startup > and present a little message to the user? not that I know of. > I think, it could be do

[O] how to compare org-mode version to current file needs

2011-03-16 Thread Olaf.Hamann
Hello, is there any org-mode expression for saying "this org-file needs org-version > xxx" which will compare current needs of the file to used orgmode at org-file startup and present a little message to the user? I think, it could be done with an emacs-lisp block comparing org-version to