emacs-orgmode
[Top][All Lists]
Advanced

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

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


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

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.

Attached is a patch with a regression test for it. Should this also get a NEWS entry?

[1] https://lists.gnu.org/archive/html/bug-gnu-emacs/2023-10/msg01628.html

Attachment: 0001-Add-support-for-thing-at-point-to-get-URL-at-point.patch
Description: Text document


reply via email to

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