From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#50500: Add ways to copy id bookmark link in eww Date: Sat, 11 Sep 2021 14:34:28 +0200 Message-ID: <87zgsjmgtn.fsf@gnus.org> References: <87ilz9x74z.fsf@ypei.me> <87o890ptpf.fsf@gnus.org> <87sfycwpjl.fsf@ypei.me> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25970"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 50500@debbugs.gnu.org To: Yuchen Pei Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 11 14:35:20 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 1mP2E4-0006ZS-7E for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Sep 2021 14:35:20 +0200 Original-Received: from localhost ([::1]:47336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mP2E2-000334-9J for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Sep 2021 08:35:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mP2Dn-00032S-1K for bug-gnu-emacs@gnu.org; Sat, 11 Sep 2021 08:35:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56368) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mP2Dm-0006RS-QB for bug-gnu-emacs@gnu.org; Sat, 11 Sep 2021 08:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mP2Dm-00008i-Ne for bug-gnu-emacs@gnu.org; Sat, 11 Sep 2021 08:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Sep 2021 12:35: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.1631363680493 (code B ref 50500); Sat, 11 Sep 2021 12:35:02 +0000 Original-Received: (at 50500) by debbugs.gnu.org; 11 Sep 2021 12:34:40 +0000 Original-Received: from localhost ([127.0.0.1]:39680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mP2DP-00007t-OA for submit@debbugs.gnu.org; Sat, 11 Sep 2021 08:34:39 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:36156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mP2DN-00007f-Fd for 50500@debbugs.gnu.org; Sat, 11 Sep 2021 08:34:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6RKe5OCYm7vDuAfpFhojlEDQqYqvw/fDkwy8bUBsaz0=; b=WA2LZhFTw/FaVTtxhooDXKBtZF lb6WQ5vMdbk0rmhIXdW0gdYHZ0ohSevKuZCcRCMQTYXHFQ2V+Axq7mfnuUzc6l7Dh6Pm06Sp52Ncm TnIbD6s/hsHyF7IHS2JGd6BAA4UhUEXSfmZXjOMtZMPp7oGi4fzhY72cWakKH0G77w38=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mP2DF-0008Sx-AW; Sat, 11 Sep 2021 14:34:31 +0200 In-Reply-To: <87sfycwpjl.fsf@ypei.me> (Yuchen Pei's message of "Fri, 10 Sep 2021 23:03:42 +1000") 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:214063 Archived-At: Yuchen Pei writes: > 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. Hm... I think it would vary whether a user would want to do this or not. Hm... Perhaps a `C-u' to `eww-copy-page-url' could make the command do this? I don't think any other web browsers offer to make links to random id'd elements in the DOM, do they? id's aren't displayed visually -- they're an internal DOM thing, so the user has no idea whether an element has an id, or whether that id has a semantic meaning or not (they're usually just put on elements so that they can be manipulated from Javascript). So I'm sceptical that this would be useful in practice. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no