From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aLh5LpLe12OYeQEAbAwnHQ (envelope-from ) for ; Mon, 30 Jan 2023 16:13:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wGh2LpLe12Py2QAA9RJhRA (envelope-from ) for ; Mon, 30 Jan 2023 16:13:22 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7CAD43690F for ; Mon, 30 Jan 2023 16:13:22 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 0896A5F3E7; Mon, 30 Jan 2023 15:06:48 +0000 (UTC) X-Greylist: delayed 361 seconds by postgrey-1.36 at yantan; Mon, 30 Jan 2023 15:06:44 UTC Received: from avid-nisien.relay-egress.a.mail.umich.edu (relay-egress-host.us-east-2.a.mail.umich.edu [13.59.128.245]) by mail.notmuchmail.org (Postfix) with ESMTPS id BC5A45F35E for ; Mon, 30 Jan 2023 15:06:44 +0000 (UTC) Received: from sagacious-griffin.authn-relay.a.mail.umich.edu (ip-10-0-73-77.us-east-2.compute.internal [10.0.73.77]) by avid-nisien.relay-egress.a.mail.umich.edu with ESMTPS id 63D7DB9A.C99B995.66629DE7.2968004; Mon, 30 Jan 2023 10:00:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2018-08-29; t=1675090841; bh=yceUwFXjeYfmtDnUnCfcucc1hbtqFEcDg57Ea1V3oTE=; h=To:cc:From:Subject:In-reply-to:References:Date; b=nXkZgd+2V2pN4EAvQr+cd543bHYWWho1tWPe1xjrE/Qb+gDHH2bo2jgScv1ftF659 FAtmIYHWVyne9eHW0ErepeOSX+/otZQzO00eUYBazZiVd+e0sEdR+DF3LVH1in6LzK w2S9s93H1wXUzEoy2sIUg/AEvO07IXQCCygZgrmXILGEwbyF5ixx09n0eX9KXItqw/ GKuelmYtkKaWzori9TbuVuMp8yH0RpiN4LeOI51wdnjx5g3uzGJBptkuADQClCdWZt T3TQvvPvc2wp3o2meUZg0qXzqVloD3k+GWRv4aXCUU2/mB0bNf+oGIcp2w6i9IWoFe Qvy5irg1OkpBQ== Received: from localhost (Mismatch [85.103.28.184]) by sagacious-griffin.authn-relay.a.mail.umich.edu with ESMTPSA id 63D7DB98.17F8F038.4EF71721.1075319; Mon, 30 Jan 2023 10:00:41 -0500 To: Daniel Kahn Gillmor From: Greg Minshall Subject: Re: emacs: keybindings in notmuch-show for copying the target of a link for a text/html part? (M-x shr-copy-url) In-reply-to: <2089268.1674828328@archlinux> References: <874jsd3tog.fsf@fifthhorseman.net> <2089268.1674828328@archlinux> Comments: In-reply-to Greg Minshall message dated "Fri, 27 Jan 2023 17:05:28 +0300." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 28.1.91 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2181435.1675090836.1@archlinux> Date: Mon, 30 Jan 2023 18:00:36 +0300 Message-ID: <2181436.1675090836@archlinux> Message-ID-Hash: 6IMF3UVOC2SDIVHVQ5ZSYHFZS6DMYCER X-Message-ID-Hash: 6IMF3UVOC2SDIVHVQ5ZSYHFZS6DMYCER X-MailFrom: minshall@umich.edu 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 CC: Notmuch Mail 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-Transfer-Encoding: 7bit X-Migadu-Country: DE X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675091602; a=rsa-sha256; cv=none; b=hrEku+ohQ14paG3zzFT6q8G7dxboPaCmqS79nJjYE1hQCNqFSPDUYSD/jJCtnkSO39gdpr O6KzDkcNXUF3f3YRt8rRIpDj+oixuc3At+Ie0YUQ4fehzayvki2JPUrcQXcirImUZdRBBv OEy3ZNy8Lf385Btq01z1ZX6uD22nXX6t/Gol+cEempgFWBlDJFCcQ35ZtqNrrV4bIKqU5i BsZhfnCVHhDO0reilsdutUS87JutPz/d4TpVVzo5PN3vFnIPXtO/5TS0T5O/taC5nh5u0A zzUCFqnB9+lYYKxiAEUiyDhDGYgHVku4QJrb6myAbAlw5QggDzYuh221nX7SJQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=umich.edu header.s=relay-2018-08-29 header.b=nXkZgd+2; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=fail reason="SPF not aligned (relaxed)" header.from=umich.edu (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675091602; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=UffQFwlwEZRMoVuQ4AGX2F8Wr0yn7CAiKbJbwIBGUpE=; b=uceS8gAdkSTKZ4Cp+cHbxYkd6ZTREANOCLBSREEqNg6yxUia55R/LiddtSN/aLqKv6zj3x CRIrpqpIzzrP4f94rl+YTzB412NcV+pBV3UuuAbW9x6KEW9frfjh8jyJMlAqrPIdEIHPhF 8bGm/FuIq4GiqiJZwgkVdlrQfV9O4nh9J5mUkF57gzdOSK3GdkU42hURL3P6SdSaRrN34j DeUSeKyOOTpn3VI5AByrQ+oiMTKTRgVkUM+aOSKs2CF0qn3QhmiiBulJOvTSUtu8BA4CU9 N7ObxNL788XfKjAGQX7NJV+EOEJ9Sw8aGnbKBy6i9bYhBWKZM9rMiDrrgKZ6aA== X-Spam: Yes X-Migadu-Spam: Yes X-Spam-Score: 8.09 X-Migadu-Spam-Score: 8.09 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=umich.edu header.s=relay-2018-08-29 header.b=nXkZgd+2; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=fail reason="SPF not aligned (relaxed)" header.from=umich.edu (policy=none) X-Migadu-Queue-Id: 7CAD43690F X-TUID: 0l9zEGZ5EZYl Daniel, too late, i realized that my suggestion of link-hint isn't exactly a match, as it is "missing" a "link-hint-display-hint" (or some such) function. i just now suggested such a function, but the below, which is *not* fully formed, might occasionally be helpful if you do install link-hint (which i also find very useful in daily use). cheers, Greg ---- (defun link-hint-display-link () "Display a visible link of a supported type." (interactive) (require 'link-hint) (avy-with link-hint-display-link (let* ((link-hint-types (link-hint--valid-types :copy)) (links (link-hint--get-links)) link) (when links (setq link (link-hint--process links)) (when link (message (format "link: %s" (plist-get link ':args)))))))) ----