Leo Butler writes:
> Please find attached the amended patch. All things considered, I think
> this is the best option to fix the issue that has arisen.
Thanks!
Applied, onto main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a628d46712
Fixed.
--
Ihor Radchenko // yantar92,
O
Ihor,
Please find attached the amended patch. All things considered, I think
this is the best option to fix the issue that has arisen.
Leo
From db509cf4b81f78a5c85cf12c7f7b2879f2a47397 Mon Sep 17 00:00:00 2001
From: Leo Butler
Date: Sun, 15 Dec 2024 21:20:26 -0600
Subject: [PATCH] lisp/ob-maxim
The modified suggestion:
(add-to-list 'org-babel-maxima--output-filter-regexps "(linenum:0,$")
also fixes the problem in the cases that I checked.
Benjamin
On Wed, Dec 18, 2024 at 10:06 AM Leo Butler wrote:
> On Tue, Dec 17 2024, Ihor Radchenko wrote:
>
> > Leo Butler writes:
> >
> >> Puttin
On Tue, Dec 17 2024, Ihor Radchenko wrote:
> Leo Butler writes:
>
>> 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.
>
> FYI, I have basically no experience with Maxima. So, I was simply
> shooting in the dark. A
Leo Butler writes:
> 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.
FYI, I have basically no experience with Maxima. So, I was simply
shooting in the dark. AFAIU, linenum:0 simply sets variable value. If
setting
On Mon, Dec 16 2024, Ihor Radchenko wrote:
> Leo Butler 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 conc
Leo Butler 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')
I am a bit worried that such a simple regexp may catch false positives.
May we somehow
Ihor,
Attached is a patch to fix the problem that Benjamin has encountered.
Best regards,
Leo
From acc099ca608b59c60f941d8dbff25a17e7adbf8c Mon Sep 17 00:00:00 2001
From: Leo Butler
Date: Sun, 15 Dec 2024 21:20:26 -0600
Subject: [PATCH] lisp/ob-maxima.el: fix Mac-related bug
* ob-maxima.el (or
Dear Leo,
Ah right, good idea. That works!
Best,
Ben
On Sun, Dec 15, 2024 at 12:11 PM Leo Butler wrote:
> Benjamin,
>
> What if you remove the anchor at the beginning of the regexp? Does the
> following work with the other tests?
>
> (add-to-list 'org-babel-maxima--output-filter-regexps "(linenu
Benjamin,
What if you remove the anchor at the beginning of the regexp? Does the
following work with the other tests?
(add-to-list 'org-babel-maxima--output-filter-regexps "(linenum:0,")
Best regards,
Leo
On Fri, Dec 13 2024, Benjamin McMillan wrote:
> Hi Leo,
> The first suggestion, to add t
Hi Leo,
The first suggestion, to add to org-babel-maxima--output-filter-regexps
does fix the src block you ask about here.
However, the regexp doesn't match for other maxima tests. For example:
#+name: ob-maxima/batch+verbatim
#+begin_src maxima :results verbatim :batch batch :cmdline --quiet
(ass
On Tue, Dec 10 2024, Benjamin McMillan wrote:
> Hi Leo,
> I get the following output:
>
> #+RESULTS:
>
> #+begin_example
> (linenum:0,
> #+end_example
>
> and from *messages*:
>
> Executing Maxima source code block
> maxima -r \(linenum\:0\,\
> batchload\(\"/var/folders/f5/6nrph1812wdf0nlg4ddcs_5
Hi Leo,
I get the following output:
#+RESULTS:
#+begin_example
(linenum:0,
#+end_example
and from *messages*:
Executing Maxima source code block
maxima -r \(linenum\:0\,\
batchload\(\"/var/folders/f5/6nrph1812wdf0nlg4ddcs_58gn/T/babel-wImUPJ/maxima-Swf2M2.max\"\)\)\$
--very-quiet
Wrote
/var
On Mon, Dec 09 2024, Leo Butler wrote:
> On Sun, Dec 08 2024, Ihor Radchenko wrote:
>
>> Benjamin McMillan 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
On Sun, Dec 08 2024, Ihor Radchenko wrote:
> Benjamin McMillan 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
Benjamin McMillan 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, in
16 matches
Mail list logo