Closed Rizzey closed 4 years ago
I would not follow #405 as that information predates many code changes.
I would reinstall EIN with the latest code and M-x customize-group RET ein
and modify "Ob Ein Languages" to add ("ein-wolframlanguage12" . wolfram)
or add this to your .emacs
or init.el
.
(custom-set-variables
'(ob-ein-languages
(quote
(("ein" . python)
("ein-python" . python)
("ein-R" . R)
("ein-r" . R)
("ein-julia" . julia)
("ein-wolframlanguage12" . wolfram)))))
I have been able thus far to use the wolfram language 12 kernel in a notebook (as in #589) but I have been having trouble getting it to run from Org-mode. Trying to get this running in org, I fished around the docs and found the
ein:register-lang-mode
function, which is not in my version of EIN.I tried these steps from #405, as my copy of EIN does not have the 'ein:register-lang-mode' function defined.
+RESULTS:
: ((ein-wolframlanguage12 . wolfram) (ein . python) (ein-python . python) (ein-R . R) (ein-r . R) (ein-julia . julia) (ein-hy . hy) (ein-Wolfram-Language . wolfram))
org-src-lang-modes returns `: ((ein-wolframlanguage12 . wolfram) (ein-Wolfram-Language . wolfram) (Wolfram-Language . wolfram) (jupyter-Wolfram-Language . wolfram language) (ein-hy . hy) (ein-julia . julia) (ein-r . R) (ein-R . R) (ein-python . python) (ein . python) (redis . redis) (php . php) (arduino . arduino) (mathematica . wolfram) (jupyter-wolfram . wolfram) (jupyter-python . python) (C . c) (C++ . c++) (asymptote . asy) (bash . sh) (beamer . latex) (calc . fundamental) (cpp . c++) (ditaa . artist) (dot . fundamental) (elisp . emacs-lisp) (ocaml . tuareg) (screen . shell-script) (shell . sh) (sqlite . sql))`
This put this in the Messages buffer.
This is the same attempt at running the example from before, but with the debugger on.
from the ein:jupyter-server buffer
And here is the output from the
ein:dev-bug-report-template
functionI'm not a wizard with emacs by any stretch and I feel like I'm missing some obvious variable that needs setting right - I've followed what I could from other issues but I've found myself in deeper waters I can't make sense of. Can anyone set me right here?