emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Maxima tests fail in devel on OSX


From: Nicolas Richard
Subject: Re: [O] Maxima tests fail in devel on OSX
Date: Mon, 25 Mar 2013 13:20:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Neuwirth Erich <address@hidden> writes:
> I have not changed the configuration of maxima since the last tests I
> ran probably a month ago.
>
> 7 unexpected results:
>    FAILED  ob-maxima/integer-input
[...]

I have failures too, but I'm not sure if they are related because I
*did* update maxima (compiled with ECL instead of GCL because that's
required for Sage). I think this will make it clear why there is a
problem :

: $ maxima --very-quiet -r 'batchload("tmp/max")$' 
: ;;; Loading #P"/usr/lib/ecl-12.12.1/sb-bsd-sockets.fas"
: ;;; Loading #P"/usr/lib/ecl-12.12.1/sockets.fas"
: ;;; Loading #P"/usr/lib/ecl-12.12.1/defsystem.fas"
: ;;; Loading #P"/usr/lib/ecl-12.12.1/cmp.fas"
: 4 

My attempts at finding a maxima option to avoid these lines were
unsuccessful (I mainly tried adding "(setq *load-verbose* nil)" to a
maxima-init.lisp file, but that doesn't help). I suppose that ignoring
any line that begins with ";;; Loading #P" will be the easiest way.
Here's an obvious patch in that direction :

--- a/lisp/ob-maxima.el
+++ b/lisp/ob-maxima.el
@@ -83,6 +83,7 @@ called by `org-babel-execute-src-block'."
                     (mapcar (lambda (line)
                               (unless (or (string-match "batch" line)
                                           (string-match "^rat: replaced .*$" 
line)
+                                          (string-match "^;;; Loading #P" line)
                                           (= 0 (length line)))
                                 line))
                             (split-string raw "[\r\n]"))) "\n"))


-- 
Nico.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]