From: "Thomas S. Dye" <tsd@tsdye.online>
To: emacs-orgmode@gnu.org
Subject: Babel Forth
Date: Wed, 22 Jan 2025 10:41:49 -1000 [thread overview]
Message-ID: <874j1qlgxe.fsf@tsdye.online> (raw)
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
reply other threads:[~2025-01-22 20:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874j1qlgxe.fsf@tsdye.online \
--to=tsd@tsdye.online \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).