all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eshel Yaron via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Juri Linkov <juri@linkov.net>
Cc: Osmo Karppinen <osmkarp@gmail.com>, 67602@debbugs.gnu.org
Subject: bug#67602: 29.1; [PATCH] Add function eww-copy-point-link-url to eww.
Date: Sun, 03 Dec 2023 18:48:41 +0100	[thread overview]
Message-ID: <m1a5qri3d2.fsf@dazzs-mbp.home> (raw)
In-Reply-To: <86bkb79r6w.fsf@mail.linkov.net> (Juri Linkov's message of "Sun,  03 Dec 2023 19:02:47 +0200")

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	other threads:[~2023-12-03 17:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-03 15:13 bug#67602: 29.1; [PATCH] Add function eww-copy-point-link-url to eww Osmo Karppinen
2023-12-03 17:02 ` Juri Linkov
2023-12-03 17:48   ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-12-03 18:02 ` Osmo Karppinen
2023-12-03 18:16   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1a5qri3d2.fsf@dazzs-mbp.home \
    --to=bug-gnu-emacs@gnu.org \
    --cc=67602@debbugs.gnu.org \
    --cc=juri@linkov.net \
    --cc=me@eshelyaron.com \
    --cc=osmkarp@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.