From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Albinus Subject: Re: remote execution in heterogeneous environment Date: Fri, 21 Dec 2012 09:24:35 +0100 Message-ID: <87ip7v4xto.fsf@gmx.de> References: <6D36E0F9-01D1-4F95-9FAA-B2B2CA10E57E@gmail.com> <87623zaj4j.fsf@gmx.de> <87hang279z.fsf@gmx.de> <87d2y4oeys.fsf@bzg.ath.cx> <8738z0wtgi.fsf@Rainer.invalid> <87bodo1vtj.fsf@gmx.de> <871uekljgp.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlxuP-0006Mi-9h for emacs-orgmode@gnu.org; Fri, 21 Dec 2012 03:24:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TlxuM-00023W-6N for emacs-orgmode@gnu.org; Fri, 21 Dec 2012 03:24:45 -0500 Received: from mout.gmx.net ([212.227.15.18]:63339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlxuL-00022K-St for emacs-orgmode@gnu.org; Fri, 21 Dec 2012 03:24:42 -0500 Received: from mailout-de.gmx.net ([10.1.76.28]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0LjP2f-1TEosg14dL-00dZ46 for ; Fri, 21 Dec 2012 09:24:41 +0100 In-Reply-To: <871uekljgp.fsf@bzg.ath.cx> (Bastien's message of "Thu, 20 Dec 2012 18:30:30 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: Achim Gratz , emacs-orgmode@gnu.org Bastien 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.