Hello, Daimrod <daim...@gmail.com> writes:
> I've encountered a bug when using org-mode in source blocks. I'm using > the latest version of org-mode from git: > Org-mode version 8.3beta (release_8.3beta-1195-g1a7364 [...]) > > I have no problem with the following snippet: > #+BEGIN_SRC org > ,* test 1 > ,* test 2 > ,* test 3 > ,* test 4 > ,* test 5 > ,* test 6 > ,* test 7 > ,* test 8 > ,* test 9 > ,* test 10 > > #+END_SRC > > But I have an error with this one when I hit C-' to go back to my org > file: > > error in `org-escape-code-in-region'> while: Invalid search bound (wrong side > of point) > #+BEGIN_SRC org > ,* test 1 > ,* test 2 > ,* test 3 > ,* test 4 > ,* test 5 > ,* test 6 > ,* test 7 > ,* test 8 > ,* test 9 > ,* test 10 > ,* test 11 > > #+END_SRC > > And with the following snippet: > #+BEGIN_SRC org > ,* test 1 > ,* test 2 > ,* test 3 > ,* test 4 > ,* test 5 > ,* test 6 > ,* test 7 > ,* test 8 > ,* test 9 > ,* test 10 > ,* test 11 > ,* test 12 > #+END_SRC > > When I hit C-' to go back to the org file the block isn't properly > escaped, it becomes: > > #+BEGIN_SRC org > ,* test 1 > ,* test 2 > ,* test 3 > ,* test 4 > ,* test 5 > ,* test 6 > ,* test 7 > ,* test 8 > ,* test 9 > ,* test 10 > ,* test 11 > * test 12 > #+END_SRC Fixed in f91d194d4fe4644de9cac94a807a08c220ab521d. Thank you. Regards, -- Nicolas Goaziou