From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Williams Subject: Can't get 'sh' blocks working Date: Wed, 2 Jan 2013 13:02:39 -0600 Message-ID: <21A5E1E970CD46459ECBE86D6CC4B28C67D837BD@spexch01.WindLogics.local> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_21A5E1E970CD46459ECBE86D6CC4B28C67D837BDspexch01WindLog_" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqTaR-0007y0-Gi for emacs-orgmode@gnu.org; Wed, 02 Jan 2013 14:02:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqTaN-00076i-6V for emacs-orgmode@gnu.org; Wed, 02 Jan 2013 14:02:47 -0500 Received: from shrimp.windlogics.com ([216.245.170.164]:11805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqTaM-00076O-WE for emacs-orgmode@gnu.org; Wed, 02 Jan 2013 14:02:43 -0500 Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" --_000_21A5E1E970CD46459ECBE86D6CC4B28C67D837BDspexch01WindLog_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I'm having some trouble getting 'sh' babel blocks to work. Here's a minima= l 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/2= 4.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 ________________________________ CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the inte= nded recipient(s) and may contain confidential and privileged information. = Any unauthorized review, use, disclosure or distribution of any kind is str= ictly prohibited. If you are not the intended recipient, please contact the= sender via reply e-mail and destroy all copies of the original message. Th= ank you. --_000_21A5E1E970CD46459ECBE86D6CC4B28C67D837BDspexch01WindLog_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I’m having some trouble getting ‘sh̵= 7; babel blocks to work.  Here’s a minimal test case, with the o= utput 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:<= /p>

 

(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 ha= ve any mention of agenda stuff in my .emacs.

 

Any pointers for the ‘sh’ error or for g= etting a stack trace?  Thanks.

 

--

Ken Williams, Senior Research Scientist

Wind<= /b>Logics

http://windlogics.com

 



CONFIDENTIALITY NOTICE: Th= is e-mail message is for the sole use of the intended recipient(s) and may = contain confidential and privileged information. Any unauthorized review, u= se, disclosure or distribution of any kind is strictly prohibited. If you are not the intended recipient, please= contact the sender via reply e-mail and destroy all copies of the original= message. Thank you.
--_000_21A5E1E970CD46459ECBE86D6CC4B28C67D837BDspexch01WindLog_--