Re: Babel Forth

2025-01-28 Thread Thomas S. Dye
Ihor Radchenko writes: "Thomas S. Dye" writes: I pushed Forth documentation to the Worg repo, Thanks! I have 2 comments: +Babel evaluates Forth code blocks in an inferior Forth process. +You can start an inferior Forth process with =M-x run-forth=. Does it mean that users _must_ run M

Re: Babel Forth

2025-01-28 Thread Ihor Radchenko
"Thomas S. Dye" writes: > I pushed Forth documentation to the Worg repo, Thanks! I have 2 comments: > +Babel evaluates Forth code blocks in an inferior Forth process. > +You can start an inferior Forth process with =M-x run-forth=. Does it mean that users _must_ run M-x run-forth? Otherwise, I

Re: Babel Forth

2025-01-23 Thread Thomas S. Dye
Aloha Ihor, Ihor Radchenko writes: It is honestly not our job to fix such things. I suggest emphasizing that ob-forth expects forth-mode distributed officially. I pushed Forth documentation to the Worg repo, but saw a build error that I don't know how to fix. Let me know if you have ques

Re: Babel Forth

2025-01-23 Thread Thomas S. Dye
Aloha Ihor, Ihor Radchenko writes: "Thomas S. Dye" writes: My hunch is that the ext: part of ext:gforth expects that forth-mode is setup to use the forth-mode distributed with GForth. Yes. Our policy is to support the official distribution when possible. Supporting non-standard packages

Re: Babel Forth

2025-01-23 Thread Ihor Radchenko
"Thomas S. Dye" writes: > My hunch is that the ext: part of ext:gforth expects that > forth-mode is setup to use the forth-mode distributed with GForth. Yes. Our policy is to support the official distribution when possible. Supporting non-standard packages is optional. > Spacemacs appears to

Re: Babel Forth

2025-01-23 Thread Ihor Radchenko
"Thomas S. Dye" writes: > It does not (require 'gforth), but strangely (to me) requires > org-macs twice. > > Perhaps ob-forth.el is broken? No. gforth.el "provides" forth-mode feature, which we do require. Everything should be fine in this regard. See https://git.savannah.gnu.org/cgit/gforth.

Re: Babel Forth

2025-01-23 Thread Thomas S. Dye
Joost Kremers writes: The `declare-function` call says that `forth-proc` can be found in `gforth.el`, so the fact that you have `forth-mode.el` installed is (probably) irrelevant. What you need is the file `gforth.el`. Where it comes from is irrelevant, it just needs to be on Emacs' `load-pa

Re: Babel Forth

2025-01-23 Thread Joost Kremers
On Thu, Jan 23 2025, Joost Kremers wrote: > On Wed, Jan 22 2025, Thomas S. Dye wrote: >> What is the best way forward here? > > What does the documentation for `ob-forth.el` say? Does it say `gforth.el` > needs to be installed? Otherwise perhaps ask the Org mailing list Oh, silly me, this *is* the

Re: Babel Forth

2025-01-23 Thread Joost Kremers
On Wed, Jan 22 2025, Thomas S. Dye wrote: > Aloha all, > > I'm drafting ob-doc-forth.org and haven't been able to get ob-forth.el to > recognize a working GForth in Spacemacs. I get "Symbol's function > definition is void: forth-proc" when I evaluate a Forth source block. > > In ob-forth.el there