[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] remote execution in heterogeneous environment
From: |
Michael Albinus |
Subject: |
Re: [O] remote execution in heterogeneous environment |
Date: |
Fri, 21 Dec 2012 09:24:35 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Bastien <address@hidden> 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.
- Re: [O] remote execution in heterogeneous environment, (continued)
- Re: [O] remote execution in heterogeneous environment, Michael Albinus, 2012/12/18
- Re: [O] remote execution in heterogeneous environment, Michael Albinus, 2012/12/20
- Re: [O] remote execution in heterogeneous environment, Bastien, 2012/12/20
- Re: [O] remote execution in heterogeneous environment,
Michael Albinus <=
- Re: [O] remote execution in heterogeneous environment, Bastien, 2012/12/21
- Re: [O] remote execution in heterogeneous environment, Nick Dokos, 2012/12/21
- Re: [O] remote execution in heterogeneous environment, George Jones, 2012/12/20
- Re: [O] remote execution in heterogeneous environment, Michael Albinus, 2012/12/21
- Re: [O] remote execution in heterogeneous environment, George, 2012/12/22
- Re: [O] remote execution in heterogeneous environment, George, 2012/12/22
- Re: [O] remote execution in heterogeneous environment, Michael Albinus, 2012/12/22
- Message not available
- Message not available
- Re: [O] remote execution in heterogeneous environment, Michael Albinus, 2012/12/23
- Re: [O] remote execution in heterogeneous environment, Bastien, 2012/12/23
- Re: [O] remote execution in heterogeneous environment, Michael Albinus, 2012/12/23