[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#42483: 26.1: thing-at-point doesn't recognize org-link urls
From: |
Lars Ingebrigtsen |
Subject: |
bug#42483: 26.1: thing-at-point doesn't recognize org-link urls |
Date: |
Tue, 26 Jan 2021 00:51:25 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
jao <jao@gnu.org> writes:
> Excelent, thanks a lot. I am not sure whether thing-at-point already
> has that, but it'd then be useful to be able to retrieve, together with
> the thing-at-point, its category (and even also have a thing/s/-at-point
> returning all detected things).
I'm not sure I follow you here -- you call thing at point with the
category (or "thing", as thingatpt calls it) as the parameter:
(thing-at-point 'url)
thingatpt doesn't try to guess at what type of thing exists under point,
just what the thing is.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no