bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#67602: 29.1; [PATCH] Add function eww-copy-point-link-url to eww.


From: Eshel Yaron
Subject: bug#67602: 29.1; [PATCH] Add function eww-copy-point-link-url to eww.
Date: Sun, 03 Dec 2023 18:48:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Juri Linkov <juri@linkov.net> writes:

>> New function eww-copy-point-link-url will copy URL of link pointed by
>> the pointer to the killring in eww. Patch adds also new key binding for
>> the function and also menuitem. I think that key "c" is good for this
>> operation.
>
> Another variant would be to reuse 'eww-copy-page-url' bound to "w",
> and to copy a link with a prefix argument.

I'm think "w" already does that in EWW when point is on a link, no?
That's thanks to the fact that SHR renders links with a `keymap`
property that binds "w" to `shr-maybe-probe-and-copy-url`.


Best,

Eshel





reply via email to

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