Re: [O] [ox bug] batch export seems to be broken or have changed

2015-07-20 Thread Rasmus
Nicolas Goaziou writes: >> C-h v mentions no change. Fortunately there are not too many changes to >> buffer.c > > It might be worth to make a bug report about it. It isn't clear that > this change was intended. Reported here: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21095 -- Se

Re: [O] [ox bug] batch export seems to be broken or have changed

2015-07-20 Thread Rasmus
Nicolas Goaziou writes: > Shot in the dark: could it be related to asynchronous export, calling > a different Emacs executable (Emacs 25 in this case)? No, 'cause I've only got on Emacs installed (/usr/bin/emacs) at the time and I install org to /usr/share/emacs/site-lisp/ (but it's stable). Ma

Re: [O] [ox bug] batch export seems to be broken or have changed

2015-07-20 Thread Nicolas Goaziou
Rasmus writes: > $ emacs --batch --file foo.org --eval="(let ((name (buffer-file-name))) > (with-temp-file \"report.txt\" (insert (message \"%S\n\" name" > $ cat report.txt > nil OK, so this changed. > C-h v mentions no change. Fortunately there are not too many changes to > buffer.c I

Re: [O] [ox bug] batch export seems to be broken or have changed

2015-07-20 Thread Rasmus
Nicolas Goaziou writes: > You may write the output of (buffer-file-name) to a temporary file, > e.g., > > emacs --batch --file foo.org --eval="(let ((name (buffer-file-name))) > (with-temp-file \"report.txt\" (insert (message \"%S\n\" name" $ emacs --batch --file foo.org --eval="(let ((nam

Re: [O] [ox bug] batch export seems to be broken or have changed

2015-07-20 Thread Nicolas Goaziou
Rasmus writes: > That's my first guess. But I don't know how to debug it since it's batch. > And I don't know if it's a an Emacs bug or Org needing to adapt to some > new behavior. > > I could try to print the filename input to the console or something... You may write the output of (buffer-fil

Re: [O] [ox bug] batch export seems to be broken or have changed

2015-07-19 Thread Rasmus
Hi, Nicolas Goaziou writes: >> I hope you had a pleasant break from the PC. > > I did. Thank you for you work meanwhile. I will do it again in 5 days, > for another week. Great. I'll be here. >> I'm currently using: >> >> commit fa5a880f733cbbe3b0d515ed3e1cf7c6fd54cfd8 >> Date: Th

Re: [O] [ox bug] batch export seems to be broken or have changed

2015-07-19 Thread Nicolas Goaziou
Rasmus writes: > I hope you had a pleasant break from the PC. I did. Thank you for you work meanwhile. I will do it again in 5 days, for another week. > I still see the problem. Are you tracking Emacs-git? I'm not. > I'm currently using: > > commit fa5a880f733cbbe3b0d515ed3e1cf7c6fd54cf

Re: [O] [ox bug] batch export seems to be broken or have changed

2015-07-18 Thread Rasmus
Hi, I hope you had a pleasant break from the PC. Nicolas Goaziou writes: > Rasmus writes: > >> I used to be able to something like >> >> emacs -Q --file foo.org --batch --no-init-file -f >> org-latex-export-to-pdf >> # tex output >> >> And everything would work. >> >> Now I get some

Re: [O] [ox bug] batch export seems to be broken or have changed

2015-07-18 Thread Nicolas Goaziou
Hello, Rasmus writes: > I used to be able to something like > > emacs -Q --file foo.org --batch --no-init-file -f org-latex-export-to-pdf > # tex output > > And everything would work. > > Now I get something like > > emacs -Q --file foo.org --batch --no-init-file -f > org-latex-

[O] [ox bug] batch export seems to be broken or have changed

2015-07-07 Thread Rasmus
Hi, I used to be able to something like emacs -Q --file foo.org --batch --no-init-file -f org-latex-export-to-pdf # tex output And everything would work. Now I get something like emacs -Q --file foo.org --batch --no-init-file -f org-latex-export-to-pdf Output file: