I changed the value for ConTeXt-Mark-version from "II" to "IV" in context.el file.
There are more than one such entry.

In the Windows platform, I added the following to the .emacs file:
(load "context.el" nil t t)
(add-to-list 'auto-mode-alist '("\\.tex\\'" . context-mode))
(eval-after-load 'tex
'(add-to-list
 'TeX-command-list
 '("LuaMetaTeX" "C:\\Users\\Leung\\AppData\\Local\\Programs\\ConTeXt\\tex\\texmf-win64\\bin\\mtxrun.exe --autogenerate --script context --autopdf %t"
   TeX-run-command nil (context-mode) :help "Run LuaMetaTeX")))

Maybe it's similar in the OSX platform.

Jan-Erik Hägglöf via ntg-context <ntg-context@ntg.nl> 於 2022年6月15日 週三 清晨5:36寫道:
HI!

I’ve been trying out Doom-Emacs and when I open a ConTeXt file i want the engine point to my LMTX installation.

/Users/jan-erikhagglof/context/context-osx-64/tex/texmf-osx-64/bin/ is the path to my install on my Macos Monterey.

How can this been customized?

Its a bit confusing reading the AUCTEX manual so maybe someone has a working config already?

Thanks in advance

Jan-Erik
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________