Open cheremin opened 5 years ago
same issue except instead of sh
it is c++
. The error prevents ediff-current-file from working for an orgmode buffer.
Your hack worked, thank you.
Further though, this package seems to be abandoned #202 , so I think I will remove it altogether in favour of emacs-jupyter
I'm using ob-ipython-20180224.953, and I've seen this error ("wrong type arguments: stringp sh") while doing something completely unrelated to ipython. I've traced it, and it ends up in the following code:
It seems like most kernel names are like "Julia-0.6", and not directly found in
org-src-lang-modes
, thus their names are going through(replace-regexp-in-string ...)
branch. But in my case I has kernel "bash", installed in my jupyter, and this kernel name is as-is present inorg-src-lang-modes
. And here is the catch: this map contains languages as symbols not strings, but intern expect string, not symbol.Personally, I've fixed it in my copy by just add
(symbol-name ..)
call around(cdr (assoc language org-src-lang-modes))
. Probably, even better solution would be to move(intern ..)
to be only around(replace-regexp-in-string ...)
, since it is not needed in first branch.