Re: Can no longer org-set-link-parameters with "fuzzy" link types

2021-04-07 Thread Nicolas Goaziou
Hello, Adam Sneller writes: > Nicholas - can you recommend how to best implement this with > font-lock-add-keywords? I think you can add a function as a matcher. The function could probably be what you wrote already. See `org-set-font-lock-defaults' for examples. Regards, -- Nicolas Goaziou

Re: Can no longer org-set-link-parameters with "fuzzy" link types

2021-04-06 Thread Adam Sneller
Thank you both for the replies! Nicholas - can you recommend how to best implement this with font-lock-add-keywords? Best regards, -Adam > On 6 Apr 2021, at 13:06, Nicolas Goaziou wrote: > > Hello, > > Kyle Meyer writes: > >> [ Sorry for the slow response. ] >> >> Adam Sneller writes: >> >>>

Re: Can no longer org-set-link-parameters with "fuzzy" link types

2021-04-06 Thread Nicolas Goaziou
Hello, Kyle Meyer writes: > [ Sorry for the slow response. ] > > Adam Sneller writes: > >> I have a function that searches for broken fuzzy links in org-mode and >> applies org-warning face to anything it finds: >> >> (org-link-set-parameters >> "fuzzy" >> :face (lambda (path) >> (let ((org-link

Re: Can no longer org-set-link-parameters with "fuzzy" link types

2021-04-05 Thread Kyle Meyer
[ Sorry for the slow response. ] Adam Sneller writes: > I have a function that searches for broken fuzzy links in org-mode and > applies org-warning face to anything it finds: > > (org-link-set-parameters > "fuzzy" > :face (lambda (path) > (let ((org-link-search-inhibit-query t)) > (if (condition

Can no longer org-set-link-parameters with "fuzzy" link types

2021-02-24 Thread Adam Sneller
I have a function that searches for broken fuzzy links in org-mode and applies org-warning face to anything it finds: (org-link-set-parameters "fuzzy" :face (lambda (path) (let ((org-link-search-inhibit-query t)) (if (condition-case nil (save-excursion (save-match-data (org-link-search path (poin