Rudolf Adamkovič <rud...@adamkovic.org> writes: > So, I started (de-)tangling heavily, to get some "IDE" support, and > oh-my, what a buggy mess it is. Not only are tangling comments > super-noisy, the `org-babel-detangle' function is *unreliable*. If > multiple sections have the same title, such as "Implementation", it > leads to *data loss*.
> I think we should rethink this functionality with *readability* and > *reliability* in mind. The best solution, perhaps, would be to use IDs > for `:comments yes' if `org-id-link-to-org-use-id' is set. Otherwise, `org-id-link-to-org-use-id' should be respected once you use :comments link > Also ... anyone with some spare time on their hands? :) Usually, it is the person most annoyed by the lack of feature ;) > P.S. As a cherry on top, it would be also nice to have a minor mode that > highlights tangling comments, jumps back to the relevant Org heading, > etc. Maybe. But I'd prefer the more fundamental problems to be solved first. See https://list.orgmode.org/orgmode/20211017021707.horde.p9ib-mmooanjoruucbc5...@www.vfemail.net/ https://list.orgmode.org/orgmode/87h6poqq75.fsf@localhost/ https://list.orgmode.org/orgmode/87bk8gk15d....@ucl.ac.uk/ Here is a potential idea on how to make detangling more robust: https://leo-editor.github.io/leo-editor/appendices.html#the-mulder-ream-update-algorithm -- Ihor Radchenko // yantar92, Org mode contributor, 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>