emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] [babel] result wrapping with indented source blocks
@ 2012-03-27 11:18 Andreas Leha
  2012-03-27 13:08 ` Eric Schulte
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Leha @ 2012-03-27 11:18 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

there seems to be another bug related to indented babel source
blocks when the results are wrapped.

Here is an example.  Try to evaluate this block twice.  (Keeping the
indentation)

,----
|   #+begin_src sh :results file wrap
|     echo "test.txt"
|   #+end_src
| 
|   #+results:
|   :RESULTS:
|   [[file:test.txt]]
| :END:
`----

The second evaluation fails with the error
#+begin_quote
progn: Search failed: #("^  :END:" 1 3 (face org-special-keyword fontified t))
#+end_quote

Regards,
Andreas

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

* Re: [BUG] [babel] result wrapping with indented source blocks
  2012-03-27 11:18 [BUG] [babel] result wrapping with indented source blocks Andreas Leha
@ 2012-03-27 13:08 ` Eric Schulte
  2012-03-27 22:27   ` Andreas Leha
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Schulte @ 2012-03-27 13:08 UTC (permalink / raw)
  To: Andreas Leha; +Cc: emacs-orgmode

Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:

> Hi all,
>
> there seems to be another bug related to indented babel source
> blocks when the results are wrapped.
>
> Here is an example.  Try to evaluate this block twice.  (Keeping the
> indentation)
>
> ,----
> |   #+begin_src sh :results file wrap
> |     echo "test.txt"
> |   #+end_src
> | 
> |   #+results:
> |   :RESULTS:
> |   [[file:test.txt]]
> | :END:
> `----
>
> The second evaluation fails with the error
> #+begin_quote
> progn: Search failed: #("^  :END:" 1 3 (face org-special-keyword fontified t))
> #+end_quote
>
> Regards,
> Andreas
>
>

Hi Andreas,

I've just pushed up a fix for this bug.  Thanks for the report.

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

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

* Re: [BUG] [babel] result wrapping with indented source blocks
  2012-03-27 13:08 ` Eric Schulte
@ 2012-03-27 22:27   ` Andreas Leha
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Leha @ 2012-03-27 22:27 UTC (permalink / raw)
  To: emacs-orgmode

Eric Schulte <eric.schulte@gmx.com> writes:

> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>
>> Hi all,
>>
>> there seems to be another bug related to indented babel source
>> blocks when the results are wrapped.
>>
>> Here is an example.  Try to evaluate this block twice.  (Keeping the
>> indentation)
>>
>> ,----
>> |   #+begin_src sh :results file wrap
>> |     echo "test.txt"
>> |   #+end_src
>> | 
>> |   #+results:
>> |   :RESULTS:
>> |   [[file:test.txt]]
>> | :END:
>> `----
>>
>> The second evaluation fails with the error
>> #+begin_quote
>> progn: Search failed: #("^  :END:" 1 3 (face org-special-keyword fontified t))
>> #+end_quote
>>
>> Regards,
>> Andreas
>>
>>
>
> Hi Andreas,
>
> I've just pushed up a fix for this bug.  Thanks for the report.

Hi Eric,

thanks again for this fast fix.  I can confirm, that it fixes the
problem on my side.

Cheers,
Andreas

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

end of thread, other threads:[~2012-03-27 22:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-27 11:18 [BUG] [babel] result wrapping with indented source blocks Andreas Leha
2012-03-27 13:08 ` Eric Schulte
2012-03-27 22:27   ` Andreas Leha

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