RE: [Bug] org-store-link should not insert a document level ID property

2020-05-14 Thread Gustav Wikström
Hi, > -Original Message- > From: Nicolas Goaziou > Sent: den 14 maj 2020 23:21 > To: Gustav Wikström > Cc: Matthew Lundin ; Org Mode List > Subject: Re: [Bug] org-store-link should not insert a document level ID > property > > [...] > > Regenerating &

Re: [Bug] org-store-link should not insert a document level ID property

2020-05-14 Thread Nicolas Goaziou
Hello, Gustav Wikström writes: > I see some purposes. They maybe aren't for everyone, but they surely are > there. > 1) Attachments for the whole file without setting the DIR property. OK. This makes sense, thank you. > 2) Link targets, making the file name irrelevant for the links. Again,

RE: [Bug] org-store-link should not insert a document level ID property

2020-05-14 Thread Gustav Wikström
Hi Matt, > -Original Message- > From: Matthew Lundin > Sent: den 7 maj 2020 23:41 > To: Gustav Wikström ; Org Mode List > Subject: RE: [Bug] org-store-link should not insert a document level ID > property > > [...] > > What I was thinking of in terms

RE: [Bug] org-store-link should not insert a document level ID property

2020-05-14 Thread Gustav Wikström
Hi, > -Original Message- > From: Nicolas Goaziou > Sent: den 13 maj 2020 18:45 > To: Matthew Lundin > Cc: Gustav Wikström ; Org Mode List > Subject: Re: [Bug] org-store-link should not insert a document level ID > property > > Matthew Lundin writes: >

Re: [Bug] org-store-link should not insert a document level ID property

2020-05-13 Thread Nicolas Goaziou
Matthew Lundin writes: > Nicolas Goaziou writes: >> >> 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? > > I'm not sure I understand the question. Are you asking: Why bother > generating

Re: [Bug] org-store-link should not insert a document level ID property

2020-05-13 Thread Matthew Lundin
Nicolas Goaziou writes: > Matthew Lundin writes: > >> 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

Re: [Bug] org-store-link should not insert a document level ID property

2020-05-13 Thread Nicolas Goaziou
Hello, Matthew Lundin writes: > Gustav Wikström 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

RE: [Bug] org-store-link should not insert a document level ID property

2020-05-07 Thread Matthew Lundin
Gustav Wikström 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

RE: [Bug] org-store-link should not insert a document level ID property

2020-04-10 Thread Gustav Wikström
gt; To: Matt Lundin ; Org Mode List > Subject: RE: [Bug] org-store-link should not insert a document level ID > property > > Hi again, > > Patch is attached. It's not applied yet as it doesn't include anything about > user-configuration yet. @Matt Lundin, care to elaborat

RE: [Bug] org-store-link should not insert a document level ID property

2020-04-05 Thread Gustav Wikström
the link does what you'd expect. Tests ran fine with the patch applied. Regards Gustav > Hi, > > > -Original Message- > > From: Matt Lundin > > Sent: den 5 april 2020 00:13 > > To: Org Mode List > > Cc: Gustav Wikström > > Subject: [Bug] org-sto

RE: [Bug] org-store-link should not insert a document level ID property

2020-04-04 Thread Gustav Wikström
Hi, > -Original Message- > From: Matt Lundin > Sent: den 5 april 2020 00:13 > To: Org Mode List > Cc: Gustav Wikström > Subject: [Bug] org-store-link should not insert a document level ID property > > The introduction of document-level

[Bug] org-store-link should not insert a document level ID property

2020-04-04 Thread Matt Lundin
The introduction of document-level property drawers (commit 1bdff9f73dc1e7ff625a90e3e61350bdea99f29c from May 2019) introduced inconsistencies in the behavior of org-id and org-store-link. If org-id-link-to-org-use-id is set to t or 'create-if-interactive, calling org-store-link above the first