Christian Barthel <[email protected]> writes: > On Monday, October 06, 2025, Dr. Arne Babenhauserheide wrote: >>> --8<---------------cut here---------------start------------->8--- >>> * something >>> :PROPERTIES: >>> :ID: 12345 >>> :END: >>> >>> ... some <<anchor>> >>> ^ >>> --8<---------------cut here---------------end--------------->8--- >>> >>> When cursor is at the above line of "^", it stores a link with >>> the ID and org-insert-link would be something like that: >>> >>> [[id:12345::anchor]] >> >> If I understand that correctly, it would break cross-linking between >> several org-mode documents that get exported to HTML. >> >> Did I misunderstand you? > > Hm, I am almost never exporting to HTML. Yes, that might be a > problem. Is there some other way to solve this?
I think you may need a specialized link type. > To clarify a bit further: I am working with a small set of *.org > files and use org-refile to move items between the files. > Therefore, the file based reference is not really useful because > the org-item gets moved several times until it is archived some > day. Since IDs are only guaranteed to be unique within the file (as far as I know, please correct me if I’m wrong), that doesn’t sound like a fix. I’d guess you need a hash for the ID and then navigate with a custom prefix. Best wishes, Arne -- Unpolitisch sein heißt politisch sein, ohne es zu merken. draketo.de
signature.asc
Description: PGP signature
