emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Babel Forth
@ 2025-01-22 20:41 Thomas S. Dye
  0 siblings, 0 replies; only message in thread
From: Thomas S. Dye @ 2025-01-22 20:41 UTC (permalink / raw)
  To: emacs-orgmode

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 is this: (declare-function forth-proc 
"ext:gforth" ())

My hunch is that the ext: part of ext:gforth expects that 
forth-mode is setup to use the forth-mode distributed with GForth. 
Spacemacs appears to use forth-mode from Elpa, instead, and I find 
forth-mode.el in the elpa subdirectory of my Spacemacs.

I don't program in Forth and given my limited grasp of elisp, I 
don't look forward to debugging this just to draft some 
documentation, so I'd like to ask for help.

Have I diagnosed the problem correctly?

If so, could ob-forth.el be patched to enable all Emacs 
users--plain, Spacemacs, Doom, Prelude, Scimax, etc.--to evaluate 
Forth code blocks?  Or, should ob-doc-forth give instructions how 
to setup forth-mode to use the one distributed with GForth?

What is the best way forward here?

All the best,
Tom
-- 
Thomas S. Dye
https://tsdye.online/tsdye


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-01-22 20:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-22 20:41 Babel Forth Thomas S. Dye

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).