Re: [PATCH v4] ol.el: add description format parameter to org-link-parameters

2022-07-10 Thread Max Nikulin
On 08/07/2022 02:57, Hugo Heagren wrote: Since the last version of this patch, I have: Thank you, this version should be more reliable. tl;dr The question is: what is the Good Behaviour when :default-description is set to something, which is meant to return a string and returns 'nil instead?

Re: [PATCH v4] ol.el: add description format parameter to org-link-parameters

2022-07-08 Thread Ihor Radchenko
Hugo Heagren writes: > Since the last version of this patch, I have: > - moved the code which sets `type' in `org-insert-link' to a position > where it covers more cases > - rewritten the macros used in the tests, so that always (and > correctly) restore the original state after running,

[PATCH v4] ol.el: add description format parameter to org-link-parameters

2022-07-07 Thread Hugo Heagren
Since the last version of this patch, I have: - moved the code which sets `type' in `org-insert-link' to a position where it covers more cases - rewritten the macros used in the tests, so that always (and correctly) restore the original state after running, even after errors. Thanks to Max