unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>,
	Notmuch Mail <notmuch@notmuchmail.org>
Subject: Re: emacs: keybindings in notmuch-show for copying the target of a link for a text/html part? (M-x shr-copy-url)
Date: Fri, 27 Jan 2023 07:42:24 -0400	[thread overview]
Message-ID: <87lelokxun.fsf@tethera.net> (raw)
In-Reply-To: <874jsd3tog.fsf@fifthhorseman.net>

Daniel Kahn Gillmor <dkg@fifthhorseman.net> writes:

> it appears that by positioning the point somewhere within the link and
> doing "M-x shr-copy-url" i can copy the target of the link to the kill
> ring.

> I think it can be added to the mode-map in emacs/notmuch-show.el.  does
> anyone have a preference about what keybinding to use for it?  Or is
> there some reason to not provide a default keybinding to this
> functionality in notmuch-show mode at all?

Having a key-binding seems reasonable enough. What about "c u" ? It's
not exactly like the other "c" bindings of course, because it depends on
the cursor position, but maybe that is less important than general
mnemonic of 'c' for copy.

d

  reply	other threads:[~2023-01-27 11:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-26 20:52 emacs: keybindings in notmuch-show for copying the target of a link for a text/html part? (M-x shr-copy-url) Daniel Kahn Gillmor
2023-01-27 11:42 ` David Bremner [this message]
2023-01-27 13:33 ` Gregor Zattler
2023-01-27 14:05 ` Greg Minshall
2023-01-28 11:02   ` inwit
2023-01-30 15:00   ` Greg Minshall

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

  List information: https://notmuchmail.org/

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

  git send-email \
    --in-reply-to=87lelokxun.fsf@tethera.net \
    --to=david@tethera.net \
    --cc=dkg@fifthhorseman.net \
    --cc=notmuch@notmuchmail.org \
    /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 public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).