emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Ken Williams <Ken.Williams@windlogics.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Can't get 'sh' blocks working
Date: Wed, 02 Jan 2013 14:45:57 -0500	[thread overview]
Message-ID: <5423.1357155957@alphaville> (raw)
In-Reply-To: Message from Ken Williams <Ken.Williams@windlogics.com> of "Wed\, 02 Jan 2013 13\:02\:39 CST." <21A5E1E970CD46459ECBE86D6CC4B28C67D837BD@spexch01.WindLogics.local>

Ken Williams <Ken.Williams@windlogics.com> wrote:

> 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.
> 

Can't reproduce the sh problem with more-or-less current org:

Org-mode version 7.9.2 (release_7.9.2-911-g460c4d @ /home/nick/elisp/org-mode/lisp/)

How are you installing org? built-in, elpa, tarball, git? What version are you running?


Nick

  reply	other threads:[~2013-01-02 19:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-02 19:02 Can't get 'sh' blocks working Ken Williams
2013-01-02 19:45 ` Nick Dokos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-01-02 19:11 Ken Williams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5423.1357155957@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=Ken.Williams@windlogics.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).