Hi Matt, > -----Original Message----- > From: Matthew Lundin <m...@imapmail.org> > Sent: den 7 maj 2020 23:41 > To: Gustav Wikström <gus...@whil.se>; Org Mode List <emacs-orgmode@gnu.org> > Subject: RE: [Bug] org-store-link should not insert a document level ID > property > > [...] > > What I was thinking of in terms of configuration is being able to > preserve path-based links (instead of IDs) if creating a link above the > first headline. This is the behavior that existed in the past when > org-id-link-to-org-use-id was set to t or > 'create-if-interactive-and-no-custom-id. > > I've attached a patch that implements this. However, I also know that we > are trying to avoid configuration/feature creep in Org, so I'm > submitting this here for comments. Is this a configuration other people > want?
This is a very specific customization. If it was to be implemented I would probably rename it a bit for its purpose to be more clear. My personal opinion of course. Name could be something in the line of "org-id-inhibit-id-before-first-heading" and make it clear in the docstring that the customization really only takes effect if org-id-link-to-org-use-id is not nil. That way one won't wonder as much about the interplay between the functions. What say you? :) Kind regards Gustav