Re: [O] org-export-current-backend variable and org-mode 8

2013-08-03 Thread Nicolas Goaziou
Hello, Achim Gratz writes: > Nicolas Goaziou writes: >> Applied a slightly different version. Thank you. > > Shouldn't d1d918100e be in maint? No. Back-end as defstructs is only in the "master" branch. > Also, I don't think that "nil" should mean both "export in progress with > an anonymous ba

Re: [O] org-export-current-backend variable and org-mode 8

2013-08-03 Thread Achim Gratz
Nicolas Goaziou writes: > Applied a slightly different version. Thank you. Shouldn't d1d918100e be in maint? Also, I don't think that "nil" should mean both "export in progress with an anonymous backend" and "no export in progress". You've been advertising the use of anonmous derived backends to

Re: [O] org-export-current-backend variable and org-mode 8

2013-08-03 Thread Nicolas Goaziou
Hello, Christophe Rhodes writes: >> The `by-backend' macro in Brett Viren's message upthread? Personally I >> don't consider that sufficient, because it feels very fragile: a simple >> renaming of org-mode internal variables, or turning on lexical binding, >> and the macro will no longer work.

Re: [O] org-export-current-backend variable and org-mode 8

2013-08-02 Thread Christophe Rhodes
Christophe Rhodes writes: > The `by-backend' macro in Brett Viren's message upthread? Personally I > don't consider that sufficient, because it feels very fragile: a simple > renaming of org-mode internal variables, or turning on lexical binding, > and the macro will no longer work. (If you mea

Re: [O] org-export-current-backend variable and org-mode 8

2013-07-31 Thread Christophe Rhodes
Nicolas Goaziou writes: > Christophe Rhodes writes: > >> so that if (as I hope) org-export-current-backend makes a later >> reappearance, my documents can work with both org-mode 7 and 8, and >> maybe 9? I'm hoping that the disappearance of the variable is an >> oversight rather than intentiona

Re: [O] org-export-current-backend variable and org-mode 8

2013-07-31 Thread Nicolas Goaziou
Hello, Christophe Rhodes writes: > so that if (as I hope) org-export-current-backend makes a later > reappearance, my documents can work with both org-mode 7 and 8, and > maybe 9? I'm hoping that the disappearance of the variable is an > oversight rather than intentional :-/ It is intentional.

Re: [O] org-export-current-backend variable and org-mode 8

2013-07-31 Thread Christophe Rhodes
Brett Viren writes: > Christophe Rhodes writes: > >> In org-mode 7, I was able to use the (documented) variable >> org-export-current-backend to test what the current backend is, allowing >> me to dynamically produce and include images of different formats >> depending on whether I was exporting

Re: [O] org-export-current-backend variable and org-mode 8

2013-07-31 Thread Brett Viren
Hi Christophe, Christophe Rhodes writes: > In org-mode 7, I was able to use the (documented) variable > org-export-current-backend to test what the current backend is, allowing > me to dynamically produce and include images of different formats > depending on whether I was exporting to latex (ti

[O] org-export-current-backend variable and org-mode 8

2013-07-31 Thread Christophe Rhodes
Hi, In org-mode 7, I was able to use the (documented) variable org-export-current-backend to test what the current backend is, allowing me to dynamically produce and include images of different formats depending on whether I was exporting to latex (tikz) or html (png). In org-mode 8, I cannot fin