emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support f


From: Jim Porter
Subject: Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)
Date: Mon, 29 Apr 2024 21:42:35 -0700

On 4/29/2024 11:14 AM, Ihor Radchenko wrote:
Thanks!
I have a small comment on the docstring of
`forward-thing-provider-alist' - it refers to
`thing-at-point-provider-alist', but the provides here are called with
an argument N, unlike the providers in `thing-at-point-provider-alist'.

Fixed.

I've also added some helper functions for 'forward-thing' and 'bounds-of-thing-at-point' when the "thing" is defined by a text property, and then used those helper functions for EWW and bug-reference-mode.

I've lightly tested this (and added a few automated regression tests), but there could be some bugs lurking in here...

Attachment: 0001-Allow-defining-custom-providers-for-more-thingatpt-f.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]