Emacs worked very well for me, and then I restarted my computer. Now this block of code does not allow me to load my init files:
(require 'ob-clojure) (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . nil) (R . t) (python . t) (js . t) (scheme . t) (C . t) (clojure . t) (lilypond . t) (octave . t)))
I do not know why this would be. I got babel to work fine with R before restarting. Now I get the message:
bytecode: the value of the character as a variable is empty: org-babel-tangle-lang-exts
I grep'd a directory for something mentioning org-babel, and only the above expression appeared. This is plus the fact that the rest of the init code that I download, when I get rid of it, makes me think that this code is a problem. But why should org-mode refer to a function that I don't have?
Running emacs -debug-init gave:
Debugger introduced - Lisp error: (void-function org-babel-do-load-languages) (org-babel-do-load-languages โโ(specify org-babel-load-languages) (quote (..... ...................))) eval-buffer (# load <2 โ nil "/home/kca/.emacs.d/init-org.el" nil t); Buffered Read 3080 load-with-code-conversion ("/home/kca/.emacs.d/init-org.el" "/home/kca/.emacs.d/init-org.el" nil nil) load ("INIT-org") eval-buffer (# nil "/home/kca/.emacs.d/init.el" nil t); Read at buffer position 1464 load-with-code-conversion ("/home/kca/.emacs.d/init.el" "/home/kca/.emacs.d/init.el" tt) load ("/ home /kca/.emacs.d/init "tt) # [nil" \ 205 \ 264
I tried to check if the correct version was downloaded in org-mode:
Mx load-library org Mx org-version => Org-mode version 7.7
Here is the code in init.el that loads it:
(add-to-list 'load-path (concat conf-dir "org-7.7/lisp")) (add-to-list 'load-path (concat conf-dir "org-7.7/contrib/lisp"))
I am using Emacs 23.2 and Org-7.7. Thank you for your help!
wdkrnls
source share