emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS


From: Leo Butler
Subject: Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS
Date: Mon, 9 Dec 2024 20:17:44 +0000
User-agent: Gnus/5.13 (Gnus v5.13)

On Mon, Dec 09 2024, Leo Butler <Leo.Butler@umanitoba.ca> wrote:

> On Sun, Dec 08 2024, Ihor Radchenko <yantar92@posteo.net> wrote:
>
>> 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

Benjamin,
When you execute your source code block, ob-maxima prints the shell
command as a message. Could you copy that shell command from *Messages*
and send it, along with the batch file that ob-maxima creates?

Thanks,
Leo

>>
>> 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.
>
> Benjamin,
> Could you include the output of
>
> #+begin_src maxima :results verbatim
> build_info();
> #+end_src
>
> , please? I think the bug is in the Mac build of Maxima, but I need more
> information to figure it out.
>
> Best,
> Leo


reply via email to

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