I’m having some trouble getting ‘sh’ babel blocks to work. Here’s a minimal test case, with the output after pressing C-c C-c:
#+begin_src sh
echo foo
#+end_src
#+RESULTS:
: Error: unexpected symbol in "echo foo"
In my .emacs file, I have the following:
(org-babel-do-load-languages
'org-babel-load-languages
'((emacs-lisp . t)
(sh . t)
(R . t)))
I tried to create a stack trace for this error, but I hit a snag when I did “C-u M-x org-reload RET”: “Cannot open load file: /usr/local/share/emacs/24.1/lisp/org/org-agenda.el” . I’m not sure where that’s coming from, I don’t have any
mention of agenda stuff in my .emacs.
Any pointers for the ‘sh’ error or for getting a stack trace? Thanks.
--
Ken Williams, Senior Research Scientist
WindLogics
http://windlogics.com