Forgive for the noise, I just double checked the patch and noticed the
`current-prefix-arg' was still being used. Fixed.
* org-capture.el (org-capture-fill-template): fill %K values using link
value from `org-store-link', which respects `org-id-link-to-use-id'.
* doc/ORG-NEWS: (Template variable expansion %K) Document new behavior.
Reported-by: Nathaniel W Griswold
Signed-off-by: Kenny Ballou
Li
* org-capture.el (org-capture-fill-template): fill %K values using link
value from `org-store-link', which respects `org-id-link-to-use-id'.
* doc/ORG-NEWS: (Template variable expansion %K) Document new behavior.
Reported-by: Nathaniel W Griswold
Signed-off-by: Kenny Ballou
Li
On 2023-12-11 19:16 GMT, Ihor Radchenko wrote:
>
>> +*** Capture template expansion now supports ID links
>> +
>> +The capture template expansion element `%K' creates links using
>> +`org-store-link', which respects the values of
>> +`org-id-link-to-use-id'.
>
> Here, we simply use Org markup. So
* org-capture.el (org-capture-fill-template): fill %K values using link
value from `org-store-link', which respects `org-id-link-to-use-id'.
* doc/ORG-NEWS: (Template variable expansion %K) Document new behavior.
Reported-by: Nathaniel W Griswold
Signed-off-by: Kenny Ballou
Li
On 2023-12-10 12:19 GMT, Ihor Radchenko wrote:
> Kenny Ballou writes:
>
>>
>> I ended up using `org-store-link-plist'. For some reason that I don't
>> understand, the `save-excursion' -> `org-store-link' was not updating
>> `org-stored-
* org-capture.el (org-capture-fill-template): fill %K values using org
ID's if `org-id-link-to-org-use-id' is non-nil.
* doc/ORG-NEWS: (Template variable expansion %K) Document new behavior.
Reported-by: Nathaniel W Griswold
Signed-off-by: Kenny Ballou
Link:
https://list.orgmode.or
On 2023-12-08 19:01 GMT, Ihor Radchenko wrote:
> Kenny Ballou writes:
>
>> I'm currently struggling through modifying it to work with
>> `org-store-link'. Something, save-excursion -> org-clock-goto ->
>> org-store-link -> org-insert-link is what
On 2023-12-08 13:56 GMT, Ihor Radchenko wrote:
> Kenny Ballou writes:
>> + (if org-id-link-to-org-use-id
>> + (org-link-make-string
>> + (format "id:%s" (org-id-get org-clock-marker))
>> +