From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EGv5IYjq0mNrZAAAbAwnHQ (envelope-from ) for ; Thu, 26 Jan 2023 22:03:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eKAWIYjq0mNpSgAAG6o9tA (envelope-from ) for ; Thu, 26 Jan 2023 22:03:04 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1454CD5A8 for ; Thu, 26 Jan 2023 22:03:04 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 2ECB75F374; Thu, 26 Jan 2023 20:52:26 +0000 (UTC) Received: from che.mayfirst.org (che.mayfirst.org [IPv6:2001:470:1:116::7]) by mail.notmuchmail.org (Postfix) with ESMTPS id 65E305F36B for ; Thu, 26 Jan 2023 20:52:23 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1674766339; h=from : to : subject : date : message-id : mime-version : content-type : from; bh=2Wyn4g0Z0pq1P9tgUm5Jp3WaaOF/AQw55qfO9LnXxak=; b=grL8Ss0S2pApoWLeYX5MCTgcbwo7Tyw40+irjV3cUVy6wjxH9G0bnbEWCx7JLomOqP042 tGVeW8O69MYnLtTDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1674766339; h=from : to : subject : date : message-id : mime-version : content-type : from; bh=2Wyn4g0Z0pq1P9tgUm5Jp3WaaOF/AQw55qfO9LnXxak=; b=z56ypZF3mY7LtbDGzheTtFkO+cdSNbfCLWgRlxEAOSYN3olRsDtsvOOmk5AQI5cF6LhWc OJohTdVT9UqFHZKFIuFNLHFuEEsVL/9wNMlq4cPDe3YLXmnsM4XWnTdQyMngXsug8ujXz3c +amdbREiWcekvwcD7TJmPF1A/BGmHQHpOX9sPJmFBwxQVnZGHFZMnFwxR3L1NycZQv0qd1T 4fltQpew2YveDGOUWtPDPjQh73VUeH0T9blX1aUxjwKRAlcD9JJNvLbSLAd8+SjR2jLdeh0 0yxlosWrhL3o6fQ3o0uWqm2jygkVYPD3ioD6TFIOB66lJIAE2VOxXqaSu8kw== Received: from fifthhorseman.net (unknown [38.109.115.130]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by che.mayfirst.org (Postfix) with ESMTPSA id 9BA97F9AD for ; Thu, 26 Jan 2023 15:52:19 -0500 (EST) Received: by fifthhorseman.net (Postfix, from userid 1000) id 99D3020429; Thu, 26 Jan 2023 15:52:16 -0500 (EST) From: Daniel Kahn Gillmor To: Notmuch Mail Subject: emacs: keybindings in notmuch-show for copying the target of a link for a text/html part? (M-x shr-copy-url) Autocrypt: addr=dkg@fifthhorseman.net; prefer-encrypt=mutual; keydata= mDMEX+i03xYJKwYBBAHaRw8BAQdACA4xvL/xI5dHedcnkfViyq84doe8zFRid9jW7CC9XBiI0QQf FgoAgwWCX+i03wWJBZ+mAAMLCQcJEOCS6zpcoQ26RxQAAAAAAB4AIHNhbHRAbm90YXRpb25zLnNl cXVvaWEtcGdwLm9yZ/tr8E9NA10HvcAVlSxnox6z62KXCInWjZaiBIlgX6O5AxUKCAKbAQIeARYh BMKfigwB81402BaqXOCS6zpcoQ26AADZHQD/Zx9nc3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tMsMAwEICYjJBBgWCgB7BYJf6LTfBYkFn6YA CRDgkus6XKENukcUAAAAAAAeACBzYWx0QG5vdGF0aW9ucy5zZXF1b2lhLXBncC5vcmcEAx9vTD3b J0SXkhvcRcCr6uIDJwic3KFKxkH1m4QW0QKbDAIeARYhBMKfigwB81402BaqXOCS6zpcoQ26AAAX mwD8CWmukxwskU82RZLMk5fm1wCgMB5z8dA50KLw3rgsCykBAKg1w/Y7XpBS3SlXEegIg1K1e6dR fRxL7Z37WZXoH8AH Date: Thu, 26 Jan 2023 15:52:15 -0500 Message-ID: <874jsd3tog.fsf@fifthhorseman.net> MIME-Version: 1.0 Message-ID-Hash: E3SPDXV4Q6KXMP42KQU26XUSRAB6NFLZ X-Message-ID-Hash: E3SPDXV4Q6KXMP42KQU26XUSRAB6NFLZ X-MailFrom: dkg@fifthhorseman.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============1631816145101531675==" X-Migadu-Country: DE X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674766984; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type:list-id: list-help:list-owner:list-unsubscribe:list-subscribe:list-post: dkim-signature:autocrypt:autocrypt; bh=lYIiqh5w74xfBcPhEEmNs+ARU1pCy1QU13UvbdLIUFE=; b=fLeL/cTjVSANHF+BGpOUvAnbAwyh9GoCi2A9EogoPsrJrKNGl1kL3PeEh0CV+BnzTLoC2r XZiUL3Nii3b9LSwZqcL308186C3Ey+uhLPmpt7XiLHooPUaRXM9Nvunbk9+lGjn7siRleU JLMnSKeFaCOSHUas7NCZjZ8xLT1uuZIb39IwA0slw6XADiAyukFjVNuzODnM490S/Frgrk bdJqKbwLawn3JJawwcZcigDlcnTPgXUQkpLARkYOYsU5491gsaAIOUnrZqxTJuqrtG/ZDx zLl4+hDotVrEc5t4A/FMI69C9TlCekO6e7j6hBm4XMVlAGDm6RRFvUqUB07Prg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=fifthhorseman.net header.s=2019 header.b=grL8Ss0S; dkim=fail ("body hash did not verify") header.d=fifthhorseman.net header.s=2019rsa header.b=z56ypZF3; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fifthhorseman.net (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674766984; a=rsa-sha256; cv=none; b=QNZkFXjbH6y1jyheCign2tHjXYVt3t3AM/5Pg0O/sout/GBgspclpzmi/OWv71APc3WDhJ T/tGQjIBIIgcELAgxLE1+C7GEUuhOou/mT7YM1VR6ZidJfNPGn/cPZrB8xfAZgNUWBrSaB 6YXdoFzyInqjN+Oc4MjtaFwi9Hr+BNdGgUXpM/ZCmQGEXsI1kESPu2aKVQthWoBwossndO RHZdjrQRLTB1s3TtVMriuG6NQDXQvhVTgDPnkMAlMZ474v34die3xu3NnS4cCjt9An9v0p XBWm1qSG/ypQR/BrZ1tzuO1aqBMUK0scyAWrGExSu/6XsUSKZvmfUy9cKSLo2Q== X-Spam-Score: 5.34 X-Migadu-Spam-Score: 5.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=fifthhorseman.net header.s=2019 header.b=grL8Ss0S; dkim=fail ("body hash did not verify") header.d=fifthhorseman.net header.s=2019rsa header.b=z56ypZF3; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fifthhorseman.net (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 1454CD5A8 X-Migadu-Scanner: scn1.migadu.com X-TUID: 34TEJVrXmNMq --===============1631816145101531675== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQttUkcnfDcj0MoY88+nXFzcd5WXAUCY9LoAAAKCRA+nXFzcd5W XBLfAQCOcr1aVEfSEjK5YTyYaQ72ttxQ7+9lccnsIQgCaskVBgEA5J5mfhSq+m+F F1Zdd5rq2YrD//tm7D1Pcju6mhSU4AM= =XFb7 -----END PGP SIGNATURE----- --=-=-=-- --===============1631816145101531675== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============1631816145101531675==--