[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: |
Tue, 17 Dec 2024 03:13:53 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On Mon, Dec 16 2024, Ihor Radchenko <yantar92@posteo.net> wrote:
> Leo Butler <Leo.Butler@umanitoba.ca> writes:
>
>> Attached is a patch to fix the problem that Benjamin has encountered.
>
> Thanks!
>
>> + '("(linenum:0," ;; remove fragment from command-line (see
>> `org-babel-execute:maxima')
Benjamin,
In taking Ihor's concern into account, could you test the regexp
"(linenum:0,$"
> I am a bit worried that such a simple regexp may catch false positives.
> May we somehow avoid it?
> For example, what if we put setting linenum into the batch file we generate?
Ihor,
Putting that into the batch file will result in it appearing in the
output of the source-code block. We are trying to stop that.
I think, if the above regexp works for Benjamin, then we should use
it. The regexp only matches an incomplete (hence mal-formed) line of
input, and so it can only match the errant output that Benjamin is
seeing.
Best regards,
Leo
- [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/)]), Ihor Radchenko, 2024/12/08
- Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS, Leo Butler, 2024/12/09
- Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS, Leo Butler, 2024/12/09
- Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS, Benjamin McMillan, 2024/12/10
- Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS, Leo Butler, 2024/12/10
- Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS, Benjamin McMillan, 2024/12/12
- Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS, Leo Butler, 2024/12/14
- Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS, Benjamin McMillan, 2024/12/15
- Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS, Leo Butler, 2024/12/15
- Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS, Ihor Radchenko, 2024/12/16
- Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS,
Leo Butler <=
- Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS, Ihor Radchenko, 2024/12/17
- Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS, Leo Butler, 2024/12/17
- Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS, Benjamin McMillan, 2024/12/19
- [PATCH] Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS, Leo Butler, 2024/12/20
- Re: [PATCH] Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS, Ihor Radchenko, 2024/12/22