From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Hong Xu Newsgroups: gmane.emacs.bugs Subject: bug#25096: shr: Add a customizable face for links after being clicked Date: Fri, 02 Dec 2016 13:27:21 -0800 Message-ID: <87polakona.fsf@topbug.net> References: <87y3zyjgua.fsf@topbug.net> <1c92a2f8-beff-4b44-bb59-969f4d600116@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1480714749 22208 195.159.176.226 (2 Dec 2016 21:39:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2016 21:39:09 +0000 (UTC) User-Agent: mu4e 0.9.17; emacs 25.1.90.6 Cc: 25096@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 02 22:39:02 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCvXp-0004Zb-Mx for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Dec 2016 22:39:01 +0100 Original-Received: from localhost ([::1]:36587 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCvXt-00045g-Lg for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Dec 2016 16:39:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCvNF-0004Sa-J1 for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2016 16:28:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCvNC-0007fT-Ei for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2016 16:28:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35261) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cCvNC-0007fK-BF for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2016 16:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cCvNC-0008OV-2v for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2016 16:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Hong Xu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Dec 2016 21:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25096 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25096-submit@debbugs.gnu.org id=B25096.148071404832226 (code B ref 25096); Fri, 02 Dec 2016 21:28:02 +0000 Original-Received: (at 25096) by debbugs.gnu.org; 2 Dec 2016 21:27:28 +0000 Original-Received: from localhost ([127.0.0.1]:50660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCvMe-0008Nh-Gc for submit@debbugs.gnu.org; Fri, 02 Dec 2016 16:27:28 -0500 Original-Received: from sender163-mail.zoho.com ([74.201.84.163]:21339) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCvMc-0008NZ-Vu for 25096@debbugs.gnu.org; Fri, 02 Dec 2016 16:27:27 -0500 Original-Received: from localhost (usc-secure-wireless-088-061.usc.edu [68.181.88.61]) by mx.zohomail.com with SMTPS id 1480714042354184.11760677353982; Fri, 2 Dec 2016 13:27:22 -0800 (PST) In-reply-to: <1c92a2f8-beff-4b44-bb59-969f4d600116@default> X-Zoho-Virus-Status: 1 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:126437 Archived-At: --=-=-= Content-Type: text/plain On 2016-12-02 Fri 11:13 GMT-0800, Drew Adams wrote: >> It is often confusing that after clicking on a link to visit it in >> an external browser, you are not really sure whether it has been really >> clicked. Browsers such as Firefox use a dashed box to indicate that. >> It would be nice if shr also supports this feature. > > Where do you see such links, in Emacs? > > There is already face `link-visited', which is for visited links, > as opposed to face `link', which is for unvisited links. > > And in Info, there is face `info-xref-visited', which is for visited > links, as opposed to `info-xref', which is for unvisited links. > > For another context, Emacs could do something similar. What is > the face you see now, for the links you are interested in? Is it > `link'? `custom-link'? > > No doubt it is the context (mode) where you are clicking the link > that needs to DTRT: use a visited-link face after you use a link. > What is that context? Sorry for the confusion. I'm talking about it in eww. Also, I'm not talking about a "visited-link" -- it is really about indication that a link was just successfully clicked. For example, in eww, visit an arbitrary page and move point to an arbitrary link and then press '&' (eww-browse-with-external-browser). There is no indication that the command has been executed. Even a dashed box lasting a few seconds on the clicked URL would help a lot. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJYQec5AAoJECZsfTOCL4R4+a0P/jjkeePKia37TAaMTTaJeYfB Iva488UPDyNCV9b+Nd5k70jxvb5zTxVToft4c+d3w++2wSy/PUSYXTsoKg23guZx CurvfxjUitij5jL355QFN2ysB9SpDaLg/JGQBdRIDUaqxt+ZoJvqael/VjvoQNJm Ai7/3iWl+FqFbgOmfc/+qzEdC5qcX1HJy7JFqgxYMS4J/0SKPzKpspO3wuvd77on aywb8e850sM2+xsmXd3ncbu7OxqHv4mB7otj9XomcQHPkuJlx9URHPkocjOqanrh JpyIkF+G3Syyw10u1cYSMHcy2BhljJ9DewqSB/fptuBFyzoA6YITS/x5VJOyFiN5 CH76EueCd4W0+Eli+yLLdSImB+igpul5MnVx+pOsusb4U9Rz32O0Nh7P/XLGuMGC xn2a3BV+cnmjza7OBoKkPdOtUdbfczJ96IiIW0Bb3Psl65g0dVSBwPJceMUvk1jb IKF1Sw8HcAQiYU8MS5i5LxOrLZGvij3Yo1MScgBxBa62xHSOAtgvIQwFuFryOQrG YRRuoohkSCNOlre+6J9Xx1tX8GUMm0BS6qFmTHyFmytdIi7ax9B6LHk460HyrMO7 tRrVixKzu44HRgl6aNOBRsA98t5ZsU6xiUgVz4pdLPFGr7BrVlziLh2NYuE1C+c+ XJNJVVCBfy1hHDJDGYaR =rpAp -----END PGP SIGNATURE----- --=-=-=--