mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-25 17:32:51 +00:00
* lisp/ob-octave.el (org-babel-execute:octave): -Ensure that the special Octave variable `ans' is bound when GFX-FILE is non-nil. The glue code in ORG-BABEL-OCTAVE-WRAPPER-METHOD causes Octave to exit with a non-zero exit code when `ans' is not bound. -Change format control string to %S from %s. Ensure the graphics filename is quoted. If it is not, Octave may create a mis-named file or fail entirely. * testing/examples/ob-octave-test.org: Update the Graphical tests section: -put in the correct headers; -add a remark about where to find each test. * testing/lisp/test-ob-octave.el: Add the three tests ob-octave/graphics-file, ob-octave/graphics-file-session and ob-octave/graphics-file-space. -ob-octave/graphics-file: The first test verifies that the first bug identified above is fixed; it also verifies that graphics file creation works correctly for scripting. -ob-octave/graphics-file-session: The second test verifies graphics file creation works correctly for sessions. The Octave command `crash_dumps_octave_core(0)' is included to prevent the creation of a core file (`octave-workspace'). -ob-octave/graphics-file-space: The third test verifies that a graphics filename with a space in it is created correctly. Thanks to Ihor Radchenko for helpful feedback. Ref: https://list.orgmode.org/8735asbtfe.fsf@localhost/T/#u |
||
---|---|---|
.. | ||
att1 | ||
att2 | ||
data/ab/cd123 | ||
images | ||
pub | ||
pub-symlink | ||
subdir | ||
agenda-file.org | ||
attachments.org | ||
babel-dangerous.org | ||
babel.el | ||
babel.org | ||
diary-file | ||
include.html | ||
include.org | ||
include2.org | ||
link-in-heading.org | ||
links.org | ||
macro-templates.org | ||
no-heading.org | ||
normal.org | ||
ob-awk-test.in | ||
ob-awk-test.org | ||
ob-C-test.org | ||
ob-fortran-test.org | ||
ob-header-arg-defaults.org | ||
ob-lilypond-broken.ly | ||
ob-lilypond-broken.org | ||
ob-lilypond-test.error | ||
ob-lilypond-test.ly | ||
ob-lilypond-test.org | ||
ob-maxima-test.org | ||
ob-octave-test.org | ||
ob-screen-test.org | ||
ob-sed-test.org | ||
ob-shell-test.org | ||
org-exp.org | ||
property-inheritance.org | ||
setupfile.org | ||
setupfile3.org |