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

2013-08-03 Thread Nicolas Goaziou
Hello, Christophe Rhodes cs...@cantab.net 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

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, Achim Gratz strom...@nexgo.de 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

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

2013-08-02 Thread Christophe Rhodes
Christophe Rhodes cs...@cantab.net 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.

[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

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

2013-07-31 Thread Brett Viren
Hi Christophe, Christophe Rhodes cs...@cantab.net 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 Christophe Rhodes
Brett Viren b...@bnl.gov writes: Christophe Rhodes cs...@cantab.net 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

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

2013-07-31 Thread Nicolas Goaziou
Hello, Christophe Rhodes cs...@cantab.net 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

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

2013-07-31 Thread Christophe Rhodes
Nicolas Goaziou n.goaz...@gmail.com writes: Christophe Rhodes cs...@cantab.net 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