emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH] Add support for 'thing-at-point' to get URL at point


From: Jim Porter
Subject: Re: [PATCH] Add support for 'thing-at-point' to get URL at point
Date: Mon, 6 Nov 2023 11:56:23 -0800

On 11/6/2023 11:45 AM, Jim Porter wrote:
This is similar to Emacs bug#66752[1]. It would be nice if "(thing-at-point 'url)" would return the URL when point is over an Org link. With this, it's easier to write a function that copies (or browses to) the URL at point without coding so many special cases.

Actually, this code should probably be a bit more selective: is there a good way to tell when an Org link is an absolute URL, as opposed to some relative path or internal target?

Maybe we should check 'thing-at-point-uri-schemes'?



reply via email to

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