[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [Babel] Parsing source block bug ...
From: |
Eric Schulte |
Subject: |
Re: [O] [Babel] Parsing source block bug ... |
Date: |
Sat, 14 Sep 2013 09:28:39 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Thanks for this patch! I've just applied it.
For future patches it is good form to keep the first line of the commit
message <= 50 characters long (used to summarize the patch), the second
line should be blank, and all subsequent lines should be <=70 characters
long.
Thanks again.
aditya siram <address@hidden> writes:
> Hi all,
> This patch fixes a bug where the regexp for parsing source blocks is too
> greedy on the body and so fails in the presence of empty code blocks. For
> instance given the following:
>
> #+begin_src c
> #+end_src
> #+begin_src c
> hello world
> #+end_src
>
> , doing (org-babel-get-src-block-info) the first #+begin_src will include
> everything up to the second #+end_src as part of the body.
> -deech
>
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D