Hello, Andrea Rossetti <andrea.rosse...@gmail.com> writes:
> When I: > > - create a "BEGIN_SRC org" block (let's call it "the external > BEGIN_SRC") > - hit C-c ' to edit its contents > - create two consecutive, non-nested "BEGIN_SRC org" blocks > (let's call them "the internal BEGIN_SRCs") > - hit C-c ' to return back to the main org buffer > - hit TAB on the external BEGIN_SRC to fold the whole block > > then the folding happens only for the first internal BEGIN_SRC block. > Tentative guess: I suppose "#+END_SRC" is used as a regexp by the fold > procedure, while something like "[^,]#+END_SRC" could be more > appropriate. This should be fixed (along with other issues in the same function). Thank you for reporting it. Regards, -- Nicolas Goaziou