Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don't know how to make a good report? See
https://orgmode.org/manual/Feedback.html#Feedback
Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------
When I have multiple subtree of same name(hereby foo as example)
I tangle source code with :comments link and I got comment link like:
```
// [[file:../../zettelkasten/20231002092234-completeness.org::*foo][foo:1]]
```
This lead to an error that org-bable-detangle will detangle the source
to incorrect src block(src block under first subtree with name foo).
I expect the generated link to have full breadcrumbs instead of only the
nearest subtree name, so detangle can detangle code to correct block.
Emacs : GNU Emacs 30.2 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60
Version 12.6.1 (Build 21G217))
of 2025-08-15
Package: Org mode version 9.7.11 (release_9.7.11 @
/Applications/Emacs.app/Contents/Resources/lisp/org/)
current state:
==============
(setq
org-yank-image-file-name-function 'org-yank-image-autogen-filename
org-persist-before-write-hook '(org-element--cache-persist-before-write)
org-html-format-headline-function 'org-html-format-headline-default-function
org-reveal-start-hook '(org-decrypt-entry)
org-html-format-drawer-function #[514 "\207" [] 3
("/Applications/Emacs.app/Contents/Resources/lisp/org/ox-html.elc" . 22502)]
org-latex-format-inlinetask-function
'org-latex-format-inlinetask-default-function
org-use-property-inheritance t
org-plantuml-jar-path "/opt/homebrew/opt/plantuml/libexec/plantuml.jar"
org-babel-tangle-lang-exts '(("awk" . "awk") ("fortran" . "F90") ("groovy" .
"groovy") ("haskell" . "hs") ("java" . "java")
("julia" . "jl") ("latex" . "tex")
("LilyPond" . "ly") ("lisp" . "lisp") ("lua" . "lua") ("maxima" . "max")
("ocaml" . "ml") ("perl" . "pl")
("processing" . "pde") ("ruby" . "rb") ("sed" . "sed") ("D" . "d")
("C++" . "cpp") ("clojurescript" .
"cljs") ("clojure" . "clj") ("python" . "py") ("emacs-lisp" . "el")
("elisp" . "el"))
org-speed-command-hook '(org-speed-command-activate
org-babel-speed-command-activate)
org-persist-after-read-hook '(org-element--cache-persist-after-read)
org-confirm-elisp-link-function 'yes-or-no-p
org-latex-format-headline-function 'org-latex-format-headline-default-function
org-latex-format-drawer-function #[514 "\207" [] 3
("/Applications/Emacs.app/Contents/Resources/lisp/org/ox-latex.elc" . 36340)]
org-mode-hook '(#[0
"\305\306 >\203 \307\n\310\311#\210\307\312\313#\210\307
\314\315#\210\306 >\203, \307\n\316\317#\210\307\n\320\321#\210\322
>\203>