Hello, Matthew Lundin <m...@imapmail.org> writes:
> Gustav Wikström <gus...@whil.se> writes: > >> Hi again, >> >> Patch is attached. It's not applied yet as it doesn't include anything >> about user-configuration yet. @Matt Lundin, care to elaborate what you >> had in mind in terms of that? >> >> With this patch a link before first headline is stored with the >> filename (no path) as description. Following the link does what you'd >> expect. Tests ran fine with the patch applied. > > Hi Gustav, > > Sorry it's taken so long to get back to you. Thanks for applying this. > It makes the behavior consistent. > > 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 don't understand what is the meaning of an ID property for a whole document. AFAIK, ID is associated to a file name, and possibly a location in it. In this case, the ID is strictly equivalent to the file name, so why bother? Regards, -- Nicolas Goaziou