Rasmus <ras...@gmx.us> writes:

> "Charles C. Berry" <ccbe...@ucsd.edu> writes:
>
>> And I get
>>
>> [...]
>> Code block evaluation complete.
>> if: Args out of range: -1, -1
>
> I have updated to latest Emacs bzr and org-git. Starting emacs with the
> -q flag and trying the simple example src_R{1+1} I get the above error
> when I use org-babel-exp-inline-src-blocks. Eval via C-c C-c works as
> expected but when I export it halts due to
> org-babel-exp-inline-src-blocks errors.
>

I just tried the following with the latest Org-mode...

1. emacs -Q
2. evaluated the following elisp
   #+begin_src emacs-lisp
     (add-to-list 'load-path "~/.emacs.d/src/org/lisp")
     (load-file "~/.emacs.d/src/org/lisp/org-install.el")
     (load-file "~/.emacs.d/src/org/lisp/ob-sh.el")
   #+end_src
3. exported the attached file to both html and ASCII, and everything
   worked as expected
#+Title: something
#+OPTIONS: num:nil ^:nil

* inline code block example
Here is one src_sh{echo eric} and another src_sh{echo schulte} and
maybe even on more src_sh{echo patton}.

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
blah blah src_R[:results output]{cat(rnorm(2))}
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
#+begin_src R :eval never :exports none
1+2
a <- b + c
xyz
#+end_src
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
Perhaps the problem is specific to your system?

Cheers -- Eric

>
> —Rasmus

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

Reply via email to