Neuwirth Erich erich.neuwi...@univie.ac.at 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.