First post. I'd like to confirmation whether I sucessfully troubleshooted an install of Emacs, and, if I didn't, direction on where and how to proceed.
My setup:
- Emacs 24.5
- Macbook Pro Core Duo (mid-2010)
- OSX El Cap (10.11.4)
I recently installed Emacs along with Kierian Healy's [https://kieranhealy.org/resources/emacs-starter-kit/](social science starter kit). When I first launched Emacs after the installation I received an error (below) that as far as I could tell, didn't prevent anything from working—although, given that I'm new to Emacs one can never be sure.
Once installed, I received the follwing error message at launch:
Warning (initialization): An error occurred while loading
`/Users/lmp/.emacs.d/init.el':
File error: Cannot open load file, no such file or directory, ob-shell
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the `--debug-init' option to view a complete error backtrace.
I launched Emacs from the terminal into debug mode but couldn't for the life of me figure out the backtrace. So I commented out sections of my init.el file until I found the problem line of code:
(org-babel-load-file (expand-file-name "starter-kit.org" dotfiles-dir))
So I opened the starter-kit.org file and do the same which leads me to the following code
(org-babel-do-load-languages
'org-babel-load-languages
'((emacs-lisp . t)
(shell . t)))
After searching the org-mode website and a few forums, I tried the following that cleared the error:
(org-babel-do-load-languages
'org-babel-load-languages
'((emacs-lisp . t)))
It's my understanding that the . t
part of the code is a true/false signifier. But whether removing it from the file was wise or foolish, is what I want to know. Or, to state my question in the clearest of terms:
- Did I successfully fix the problem? If not, why not?
- Is there anything I should have done instead, or should do in addition to removing the
(shell . t)
?