emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* #+end_src interfering with :results raw
@ 2011-05-14  6:49 Mark Cox
  2011-05-14 10:27 ` Sean O'Halpin
  2011-05-14 14:12 ` Eric Schulte
  0 siblings, 2 replies; 4+ messages in thread
From: Mark Cox @ 2011-05-14  6:49 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: #+end_src interfering with :results raw
  2011-05-14  6:49 #+end_src interfering with :results raw Mark Cox
@ 2011-05-14 10:27 ` Sean O'Halpin
  2011-05-14 14:13   ` Eric Schulte
  2011-05-14 14:12 ` Eric Schulte
  1 sibling, 1 reply; 4+ messages in thread
From: Sean O'Halpin @ 2011-05-14 10:27 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: #+end_src interfering with :results raw
  2011-05-14  6:49 #+end_src interfering with :results raw Mark Cox
  2011-05-14 10:27 ` Sean O'Halpin
@ 2011-05-14 14:12 ` Eric Schulte
  1 sibling, 0 replies; 4+ messages in thread
From: Eric Schulte @ 2011-05-14 14:12 UTC (permalink / raw)
  To: Mark Cox; +Cc: emacs-orgmode

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: #+end_src interfering with :results raw
  2011-05-14 10:27 ` Sean O'Halpin
@ 2011-05-14 14:13   ` Eric Schulte
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Schulte @ 2011-05-14 14:13 UTC (permalink / raw)
  To: Sean O'Halpin; +Cc: emacs-orgmode

"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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-14 14:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-14  6:49 #+end_src interfering with :results raw Mark Cox
2011-05-14 10:27 ` Sean O'Halpin
2011-05-14 14:13   ` Eric Schulte
2011-05-14 14:12 ` Eric Schulte

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