Paul Bryan <[email protected]> writes: > Ihor Radchenko <[email protected]> writes: >> >> Note that this still won't work with the original reproducer. > > You mean the original report? It works okay for me with that source block. > > If the search forward doesn't find a closing delimiter, the if test evaluates > to nil and the while runs again, widening the search. The next time, the > search forward finds the closing delimiter and sets `end' as in the previous > code. Then everything continues as expected and it jumps to the correct > location in the original source block. > > Am I missing something?
Nope. I was missing that the jump is not supposed to work from comment lines. Applied, onto main, with small amendments to the commit message. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=4ec885840 Fixed. I also added you to the contributor list. https://git.sr.ht/~bzg/worg/commit/904b60be -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
