Hi, I have an org file like this one, #+TITLE: An issue with #+end_src #+srcname: no_issue() #+begin_src sh :results output echo '#+begin_src' #+end_src #+call: no_issue() :results raw #+srcname: the_issue() #+begin_src sh :results output echo '#+end_src' #+end_src #+call: the_issue() :results raw When C-c C-c on the line containing "#+call: no_issue() :results raw", the following lines are inserted: #+results: no_issue() #+begin_src When C-c C-c on the line containing "#+call: the_issue() :results raw", the following unexpected lines are inserted: #+results: the_issue() nil I am currently running a2f29de86. Thanks Mark Cox
On Sat, May 14, 2011 at 7:49 AM, Mark Cox <markcox80@gmail.com> wrote: > Hi, > > I have an org file like this one, > > #+TITLE: An issue with #+end_src > > #+srcname: no_issue() > #+begin_src sh :results output > echo '#+begin_src' > #+end_src > > #+call: no_issue() :results raw > > #+srcname: the_issue() > #+begin_src sh :results output > echo '#+end_src' > #+end_src > > #+call: the_issue() :results raw > > When C-c C-c on the line containing "#+call: no_issue() :results raw", the following lines are inserted: > #+results: no_issue() > #+begin_src > > When C-c C-c on the line containing "#+call: the_issue() :results raw", the following unexpected lines are inserted: > #+results: the_issue() > nil > > I am currently running a2f29de86. > > Thanks > Mark Cox > Looks like you've run into the same issue as me. See http://patchwork.newartisans.com/patch/715/ for a patch. Regards, Sean
Hi Mark, This issue should now be fixed in the latest git head. Best -- Eric Mark Cox <markcox80@gmail.com> writes: > Hi, > > I have an org file like this one, > > #+TITLE: An issue with #+end_src > > #+srcname: no_issue() > #+begin_src sh :results output > echo '#+begin_src' > #+end_src > > #+call: no_issue() :results raw > > #+srcname: the_issue() > #+begin_src sh :results output > echo '#+end_src' > #+end_src > > #+call: the_issue() :results raw > > When C-c C-c on the line containing "#+call: no_issue() :results raw", the following lines are inserted: > #+results: no_issue() > #+begin_src > > When C-c C-c on the line containing "#+call: the_issue() :results raw", the following unexpected lines are inserted: > #+results: the_issue() > nil > > I am currently running a2f29de86. > > Thanks > Mark Cox -- Eric Schulte http://cs.unm.edu/~eschulte/
"Sean O'Halpin" <sean.ohalpin@gmail.com> writes: > On Sat, May 14, 2011 at 7:49 AM, Mark Cox <markcox80@gmail.com> wrote: >> Hi, >> >> I have an org file like this one, >> >> #+TITLE: An issue with #+end_src >> >> #+srcname: no_issue() >> #+begin_src sh :results output >> echo '#+begin_src' >> #+end_src >> >> #+call: no_issue() :results raw >> >> #+srcname: the_issue() >> #+begin_src sh :results output >> echo '#+end_src' >> #+end_src >> >> #+call: the_issue() :results raw >> >> When C-c C-c on the line containing "#+call: no_issue() :results raw", the following lines are inserted: >> #+results: no_issue() >> #+begin_src >> >> When C-c C-c on the line containing "#+call: the_issue() :results raw", the following unexpected lines are inserted: >> #+results: the_issue() >> nil >> >> I am currently running a2f29de86. >> >> Thanks >> Mark Cox >> > > Looks like you've run into the same issue as me. See > http://patchwork.newartisans.com/patch/715/ for a patch. > Hi Sean, Thanks for linking to your previous patch. I'm sorry to have missed it the first time, it has now been applied. Thanks -- Eric > > Regards, > Sean > -- Eric Schulte http://cs.unm.edu/~eschulte/