Hi Seb, I don't forsee adding partial results insertion both because
- it would add a good deal of complexity to the code to insert results part-way through a run - the current behavior of only inserting results on a fully successful run is reasonable and is probably more obvious (at least to me) than inserting partial results Best -- Eric Sébastien Vauban <wxhgmqzgw...@spammotel.com> writes: > #+TITLE: Babel doesn't return output if one command fails > #+DATE: 2010-12-01 > #+LANGUAGE: en_US > > * Abstract > > When just one command fails in Babel, then there is no shell output at all. > > * One command fails > > For example, the last command (=datee=) is not found: > > #+begin_src sh :var file=(buffer-file-name) :results output :exports both > echo $(basename $file) > datee > #+end_src > > #+results: > > Result set is empty, while the =echo= command did work, and did produce > output. > > * All commands are successful > > Only if all commands are successful, I see all results: > > #+begin_src sh :var file=(buffer-file-name) :results output :exports both > echo $(basename $file) > date > #+end_src > > #+results: > #+begin_example > ecm-babel-one-error-no-results.txt > Wed, Dec 01, 2010 10:21:09 AM > #+end_example > > > Best regards, > Seb _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode