emacs-orgmode
[Top][All Lists]
Advanced

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

[BUG] ob-maxima outputs linenum:0 in results on MacOS (was: [BUG] export


From: Ihor Radchenko
Subject: [BUG] ob-maxima outputs linenum:0 in results on MacOS (was: [BUG] export blocks no longer fontifying [9.7.10 (release_9.7.10 @ /Users/ben/Scripts/emacs/lisp/org/)])
Date: Sun, 08 Dec 2024 12:24:48 +0000

Benjamin McMillan <mcmillanbb@gmail.com> writes:

> This outputs
> #+RESULTS:
> | (linenum:0, |
> |           4 |
>
> I suppose the issue is the "linenum:0". In fact, running any of the test
> src blocks does that, e.g.
> #+begin_src maxima :results verbatim :batch batch
> (assume(z>0),
> integrate(exp(-t)*t^z, t, 0, inf));
> #+end_src
>
> #+RESULTS:
> #+begin_example
> (linenum:0,
> (assume(z > 0),integrate(exp(-t)*t^z,t,0,inf))
>                                  gamma(z + 1)
> #+end_example
> This does not match the (should (equal ...)) in test-ob-maxima.el
>
> I don't know maxima, and haven't made any explicit modifications regards
> it, so I don't know why my setup would be outputting linenum:0

Setting linenum was introduced in
https://list.orgmode.org/orgmode/87jzsrai3x.fsf@localhost/

It clearly does not affect Linux, but Maxima on MacOS appears to have
slightly different behavior.

I am CCing the author of the original patch that introduced this setting.
Leo, maybe you have some insight?

Unless we can do something to solve the problem on Mac, I am tentatively
inclined to revert the linenum part of the patch, so that ob-maxima is
not broken on MacOS.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

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