unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* emacs: keybindings in notmuch-show for copying the target of a link for a text/html part? (M-x shr-copy-url)
@ 2023-01-26 20:52 Daniel Kahn Gillmor
  2023-01-27 11:42 ` David Bremner
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Daniel Kahn Gillmor @ 2023-01-26 20:52 UTC (permalink / raw)
  To: Notmuch Mail


[-- Attachment #1.1: Type: text/plain, Size: 781 bytes --]

Hey notmuch folks--

When using notmuch-emacs, and looking at a text/html part, i sometimes
want to know where a given link is pointing to without clicking on it --
e.g. to open it in an alternate browser.

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.

This seems useful enough to me (and i'm now receiving enough
text/html-only messages) that i'd like to have some sort of keybinding
to make that easier to operate.

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?

       --dkg

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-01-30 15:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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).