Hi, Ihor Sorry for the late reply. Please check the updated patch.
>> 1. Please cleanup trailing spaces across the patch Done. >> 2. in ORG-NEWS, we need to document that >> org-babel-tangle-use-relative-file-links is ignored Done. >> 3. org-babel-tangle-use-relative-file-links is actually not fully >> ignored in the patch: >> (list start-line >> (if org-babel-tangle-use-relative-file-links >> (file-relative-name file) >> file) >> link >> source-name >> params >> (if (org-src-preserve-indentation-p) (org-trim body t) >> (org-trim (org-remove-indentation body))) >> comment) >> (it actually looks like a bug in existing code - we compute relative >> file name vs. current buffer, not vs. tangle file) Yes. I did not touch this part for exactly the reason you mentioned. It does not affect the generation of relative file links if we keep it as is. >> 4. *** New function ~org-babel-tangle--compute-targets~ >> is not needed. We do not announce changes and additions to the >> internal functions (with "--" in their name) I have removed it from the patch. >> 5. We are introducing a breaking change in the return value of >> `org-babel-tangle-single-block'. As discussed earlier, we should >> probably introduce a new optional argument ALLOW-MULTIPLE to >> preserve backwards-compatibility as much as possible. Since relative links are handled by guarding the logic in `org-babel-tangle--unbracketed-link`, there should be no compatibility issues with the current approach. Best regards, llcc On Sun, Feb 8, 2026 at 4:37 PM Ihor Radchenko <[email protected]> wrote: > > Ihor Radchenko <[email protected]> writes: > > > Thanks! > > Several more comments: > > ... > > Any update here? > > -- > 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>
0001-ob-tangle.el-Support-tangling-a-source-block-to-mult.patch
Description: Binary data
