Hello, when using babel with octave code, passing variables with the =:var= header argument creates octave code whose results are echoed onto standard out. This is not necessarily wanted. The default behaviour, I believe, should be to not echo anything out as the user can always simply print out the variable in the code if desired.
The following patch simply adds a semi-colon (;) to the appropriate place: --8<---------------cut here---------------start------------->8--- diff --git a/lisp/ob-octave.el b/lisp/ob-octave.el index 92f16be..d46d648 100644 --- a/lisp/ob-octave.el +++ b/lisp/ob-octave.el @@ -103,7 +103,7 @@ end") "Return list of octave statements assigning the block's variables" (mapcar (lambda (pair) - (format "%s=%s" + (format "%s=%s;" (car pair) (org-babel-octave-var-to-octave (cdr pair)))) (mapcar #'cdr (org-babel-get-header params :var)))) --8<---------------cut here---------------end--------------->8--- Thanks, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1 : using Org-mode version 7.4 (release_7.4.170.gbc841.dirty) _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode