From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuchen Pei Newsgroups: gmane.emacs.bugs Subject: bug#50500: Add ways to copy id bookmark link in eww Date: Fri, 10 Sep 2021 23:03:42 +1000 Message-ID: <87sfycwpjl.fsf@ypei.me> References: <87ilz9x74z.fsf@ypei.me> <87o890ptpf.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=====-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40006"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.13; emacs 27.2 Cc: 50500@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 10 15:04:17 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mOgCW-000A1m-GV for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Sep 2021 15:04:17 +0200 Original-Received: from localhost ([::1]:42130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOgCQ-0007Bu-1j for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Sep 2021 09:04:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOgCI-0007Bh-Tz for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 09:04:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53919) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mOgCI-0002Ir-Hm for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 09:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mOgCI-0006KD-EE for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 09:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yuchen Pei Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Sep 2021 13:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50500 X-GNU-PR-Package: emacs Original-Received: via spool by 50500-submit@debbugs.gnu.org id=B50500.163127903624301 (code B ref 50500); Fri, 10 Sep 2021 13:04:02 +0000 Original-Received: (at 50500) by debbugs.gnu.org; 10 Sep 2021 13:03:56 +0000 Original-Received: from localhost ([127.0.0.1]:37232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOgCC-0006Jt-8r for submit@debbugs.gnu.org; Fri, 10 Sep 2021 09:03:56 -0400 Original-Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:48209) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOgCA-0006Jg-LP for 50500@debbugs.gnu.org; Fri, 10 Sep 2021 09:03:55 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 78CAD3200A1C; Fri, 10 Sep 2021 09:03:48 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 10 Sep 2021 09:03:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ypei.me; h= references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm2; bh=om7eUl5G2O6ZdmjMZpF1Mi+Zqn EgRJZRoeek8rA1a5U=; b=qZHDV+31/9QdDXdWJ+av0uF2Z8pSlO/wUJWI0DtJMs 47EyqU/DfWXBCKbxkQ1rS9vm/bCCuhwv2J+72SnIpKSOfn+juys8iHL4E5fqtlJD UdXViT9/nCJzZQcDPVr433n2Frtb/NZJYxuh7rezgWA9GLD6yqg6RZDLspy+ax2+ qHnSIFJkio2d08bYQ6oFe2ZAVmc9bSf2gFZpFBz1vmFp9QmMvfvzunX9StXcN+ji Z2+6PdMpqKWhRwyvLnpYSbIkK0AcsEyPyL4ZI3wCofuRJcmHghFm3mFztOSfKkrJ ZuMiV82BYS07ue7AUFBrPAL+AM03rigDWs24IDM612qw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=om7eUl 5G2O6ZdmjMZpF1Mi+ZqnEgRJZRoeek8rA1a5U=; b=QTjX+oFNAA3SjDvtAoL4aZ XjpKLe9PcikvsGk1NSHQ3l4xJIA5eRxzGZFxP6WMw96Mpn5a9MVFvtmDit4v7HC5 I1ceEFU2/bSE/GSpHELvdQEqG4y24JYFvNrRRTLgedH/3PJRlZ9ld1jw6DACLhJt 9V7tjK/taLzrxrJTrKO+o6dkW7L+N3VwWY9Nbk7CeEaQEeu4W7bae9CPuIle4E5R JYDndd+/Mt3JUCHPeU0p1zQP6CAXGpNtDBaRALnSoJvq52+YORN0t77KsRl+v95H 1H2TGWCdi1/mfgTbb7b8JKswulZADMqEJT48QscH+13ivlG0QZ7chijum+Uo2ztA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeguddgheelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufgjfffkgggtsehgtderredtredtnecuhfhrohhmpegjuhgthhgv nhcurfgvihcuoehhiheshihpvghirdhmvgeqnecuggftrfgrthhtvghrnhepjeeitdelfe fhffehleehveekffehfeeffeetfffgveehvdeihfehvdevuefgkefhnecuffhomhgrihhn pehgnhhurdhorhhgpdihphgvihdrmhgvnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomhephhhiseihphgvihdrmhgv X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 10 Sep 2021 09:03:46 -0400 (EDT) In-reply-to: <87o890ptpf.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:214006 Archived-At: --=====-=-= Content-Type: text/plain; format=flowed Lars Ingebrigtsen writes: > Yuchen Pei writes: > >> I'd like to add a functionality to copy the bookmark link to >> the kill >> ring when the point is on a element with an id attribute. >> >> For example, say I am reading >> , and Section 13 >> looks >> interesting which I want to save for reference. By calling the >> said >> function while the point is at Section 13, the link >> is added >> to the >> kill ring. > > Well, people put ids on all kinds of elements, but they're not > generally > meant to be used for navigation. (I mean, sometimes they are, > but > statistically speaking, they're not.) > > So I'm not sure that `w' in general should be doing this in eww. > Anybody else got an opinion? Makes sense. How about adding it as a customization variable, so that one can customize whether `w` also includes the id bookmark part and by default it does not. It is often useful to save more precise positions in web page documents. -- Best, Yuchen PGP Key: 47F9 D050 1E11 8879 9040 4941 2126 7E93 EF86 DFD0 --=====-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIEEARYIACkWIQRH+dBQHhGIeZBASUEhJn6T74bf0AUCYTtXrgscaGlAeXBlaS5t ZQAKCRAhJn6T74bf0IYbAQD6rtMHE8CUVAUWvDsLK9E3tZ/yzpcOzSmNRzZAqcRc WAEA3C4AKdGc9UIAXQRZb4yYW/mmINSHgGpi7b72oPcFIwM= =CiuQ -----END PGP SIGNATURE----- --=====-=-=--