all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [BUG] ob-octave.el
@ 2021-12-20  5:54 Tobias Zawada
  2022-10-29  5:54 ` Ihor Radchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Tobias Zawada @ 2021-12-20  5:54 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Currently, evaluating the Org-mode source block

#+NAME: bug
#+BEGIN_SRC octave :exports results
["one"; "two"; "three"]
#+END_SRC

gives

#+RESULTS: bug
: ottnwheor  e  e

Substituting ~fprintf~ in ~org-babel-octave-wrapper-method~ with ~fdisp~ changes the output to

#+NAME: bug
#+BEGIN_SRC octave :exports results
["one"; "two"; "three"]
#+END_SRC

#+RESULTS: bug
| one   |
| two   |
| three |

which is more adequate.

The old behavior for scalar strings still works:
#+BEGIN_SRC octave
"Some string."
#+END_SRC

#+RESULTS:
: Some string.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-16  4:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-20  5:54 [BUG] ob-octave.el Tobias Zawada
2022-10-29  5:54 ` Ihor Radchenko
2022-11-16  4:46   ` Ihor Radchenko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.