Hi, > -----Original Message----- > From: Nicolas Goaziou <m...@nicolasgoaziou.fr> > Sent: den 14 maj 2020 23:21 > To: Gustav Wikström <gus...@whil.se> > Cc: Matthew Lundin <m...@imapmail.org>; Org Mode List <emacs-orgmode@gnu.org> > Subject: Re: [Bug] org-store-link should not insert a document level ID > property > > [...] > > Regenerating ".org-id-locations" is not magical. It looks into > a predefined set of files. If the renaming moves the file out of this > set, there is no way it can associate again the ID to that file.
The same argument could be made for ID on a heading, if that heading is refiled into a location outside of that predefined set of files. > IOW, I wouldn't trust an ID more than a file name. But I would. Not entirely unlikely for files to be renamed within my folders. Using ID's helps for that. Be it to a file or a heading. But of course, YMMW. Kind regards Gustav