Hello all, The patches attached in this email fix the issue reported in https://lists.gnu.org/r/emacs-orgmode/2022-04/msg00373.html. They are based off the master branch of https://git.sr.ht/~bzg/org-contrib. patch 1: Minor cleanup in the function that I am touching for the fix in patch 2: re-indent, untabify patch 2: Fix for the inf-loop Can someone please review and apply these patches to the org-contrib repo? [I am unable to commit using ssh/git: protocol (only https is allowed) based on the network restrictions at work.] Thanks! -- Kaushal Modi