[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Killing org hyperlinks with one key
From: |
Emanuel Berg |
Subject: |
Re: Killing org hyperlinks with one key |
Date: |
Thu, 09 Jun 2022 11:11:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Alexandros Prekates wrote:
>>> Trying to kill an org link+description
>>
>> You have an example what that looks like/is?
>
> That's how it look complete: [[LINK][DESCRIPTION]]
>
> And Org by default displays only the Description part.
> So i'd like a function to kill the complete hyperlink while
> it's not visible completely.
Yes, but how does it look in its original context?
One can't write a function without it ...
But you can do it yourself ... use `kill-new' and
`thing-at-point',
(kill-new (thing-at-point 'url t))
Lousy that Org cannot do this already!
--
underground experts united
https://dataswamp.org/~incal