-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
org-babel-load-languages has issues in v104.2 #3314
Comments
I'm not sure why it doesn't work, but certainly it has to go in Can I ask for your |
https://lists.gnu.org/archive/html/emacs-orgmode/2015-08/msg00254.html Might be an error in |
It is related to the old "org" package installed by spacemacs v103: after upgrade to v104, the "org" package is not deleted automatically, and messes up with new org-plus-contrib package. It works for me right now after manually delete the old "org". Besides, I would really appreciate if the document (either spacemacs or org layer) can provides some examples/tutorials on how to wrap customized org settings into a personal private layer. Putting everything within user-config seems a little messy to me. |
Thanks! You can read |
Update on this issue: I could reproduce the issue with the following steps:
The following workaround works for me:
|
Thanks @liangwang for providing this solution to solve this problem. |
if you have ob-R in your config, then remove it.ob-R |
Was getting: Invalid function: org-babel-header-args-safe-fn Turns out you don't need to load R as a language anymore, HT syl20bnr/spacemacs#3314 (comment)
for my case ( emacs newbie < 1m ) I faced same issue for elixir layer. |
This single error has caused me quite a headache. I finally found a specific solution for my case (because (org-babel-do-load-languages
'org-babel-load-languages
'(
(python . t)
(R . t) ; this one is causing problem.
)
) The solution is to run |
The solution from @ biocyberman solved my problem. |
To enable python code evaluation in org-mode, the org-babel document suggests the following:
Prior v104.x, it works by putting the above code in dotspacemacs/config. After upgrade to v104.2, if the above code is put in dotspacemacs/user-config, emacs throws the following error at startup:
When move the code into dotspacemacs/user-init, emacs starts without any error messages. But autofill within org file does not work. Emacs will show the error message as follows:
BTW, is dotspacemacs/user-config and/or dotspacemacs/user-init the right place to put org-mode related customizations?
The text was updated successfully, but these errors were encountered: