all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [BUG] using ob-maxima makes org-lint produce an error
@ 2023-12-17 19:45 gerard.vermeulen
  2023-12-17 20:04 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: gerard.vermeulen @ 2023-12-17 19:45 UTC (permalink / raw)
  To: Emacs orgmode

Hi,

org-lint errors when using ob-maxima as the following snippet shows:

# begin Org snippet
org-lint errors with "Wrong type argument: listp, batchload"
after evaluating:
#+begin_src emacs-lisp :results silent
(require 'ob-maxima)
#+end_src

org-lint shows its *Org Lint* buffer after evaluating:
#+begin_src emacs-lisp :results silent
(unload-feature 'ob-maxima)
#+end_src

#+header: :wrap "src text"
#+begin_src maxima :batch batch :cmdline --quiet :exports both :results 
raw
rat(1/(x+1) + x/(x-1));
#+end_src

#+RESULTS:
#+begin_src text
(%i1) (linenum:0,
(%i1) rat(1/(x+1)+x/(x-1))
                                   2
                                  x  + 2 x - 1
(%o1)/R/                         ------------
                                      2
                                     x  - 1
#+end_src
# end Org snippet

Regards -- Gerard



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

* Re: [BUG] using ob-maxima makes org-lint produce an error
  2023-12-17 19:45 [BUG] using ob-maxima makes org-lint produce an error gerard.vermeulen
@ 2023-12-17 20:04 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2023-12-17 20:04 UTC (permalink / raw)
  To: gerard.vermeulen; +Cc: Emacs orgmode

gerard.vermeulen@posteo.net writes:

> org-lint errors when using ob-maxima as the following snippet shows:
>
> ...
> #+header: :wrap "src text"
> #+begin_src maxima :batch batch :cmdline --quiet :exports both :results 
> raw
> rat(1/(x+1) + x/(x-1));
> #+end_src

Fixed, on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=2df9642f1

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
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>


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

end of thread, other threads:[~2023-12-17 20:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-17 19:45 [BUG] using ob-maxima makes org-lint produce an error gerard.vermeulen
2023-12-17 20:04 ` 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.