[O] #+end_src interfering with :results raw

2011-05-14 Thread Mark Cox
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


Re: [O] #+end_src interfering with :results raw

2011-05-14 Thread Sean O'Halpin
On Sat, May 14, 2011 at 7:49 AM, Mark Cox markco...@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



Re: [O] #+end_src interfering with :results raw

2011-05-14 Thread Eric Schulte
Hi Mark,

This issue should now be fixed in the latest git head.

Best -- Eric

Mark Cox markco...@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/



Re: [O] #+end_src interfering with :results raw

2011-05-14 Thread Eric Schulte
Sean O'Halpin sean.ohal...@gmail.com writes:

 On Sat, May 14, 2011 at 7:49 AM, Mark Cox markco...@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/