Bastien <b...@altern.org> writes: > Hi Michael,
Hi everybody, > From the org-mode repo, simply run "make test": it will compile the > files and run the test suite. I could reproduce the problem. Finally, it is an error in `process-file', which wasn't detected until now. Thanks to triggering this! I've fixed it already in Emacs' trunk. For org-mode, I have used the following workaround: --8<---------------cut here---------------start------------->8--- ~/src/org-mode> git diff diff --git a/lisp/ob-eval.el b/lisp/ob-eval.el index 23e7143..df95d0a 100644 --- a/lisp/ob-eval.el +++ b/lisp/ob-eval.el @@ -143,6 +143,11 @@ specifies the value of ERROR-BUFFER." shell-file-name "/bin/sh")) exit-status) + ;; There is an error in `process-file', when `error-file' exists. + ;; Fixed already in Emacs trunk; for the time being we apply a + ;; workaround. + (unless (file-remote-p default-directory) + (delete-file error-file)) (if (or replace (and output-buffer (not (or (bufferp output-buffer) (stringp output-buffer))))) --8<---------------cut here---------------end--------------->8--- With that workaround, "make test" results in --8<---------------cut here---------------start------------->8--- Ran 320 tests, 319 results as expected, 1 unexpected (2012-12-21 09:13:44+0100) 7 expected failures 1 unexpected results: FAILED ob-exp/exports-inline --8<---------------cut here---------------end--------------->8--- > Best, Best regards, Michael.