unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Hong Xu <hong@topbug.net>
To: Drew Adams <drew.adams@oracle.com>
Cc: 25096@debbugs.gnu.org
Subject: bug#25096: shr: Add a customizable face for links after being clicked
Date: Fri, 02 Dec 2016 13:27:21 -0800	[thread overview]
Message-ID: <87polakona.fsf@topbug.net> (raw)
In-Reply-To: <1c92a2f8-beff-4b44-bb59-969f4d600116@default>

[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]


On 2016-12-02 Fri 11:13 GMT-0800, Drew Adams <drew.adams@oracle.com> 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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

  reply	other threads:[~2016-12-02 21:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-02 19:01 bug#25096: shr: Add a customizable face for links after being clicked Hong Xu
2016-12-02 19:13 ` Drew Adams
2016-12-02 21:27   ` Hong Xu [this message]
2016-12-03  0:02     ` Drew Adams
2016-12-03  3:42       ` Clément Pit--Claudel
2016-12-03 15:41         ` Drew Adams
2016-12-03 16:30           ` Clément Pit--Claudel
2017-01-24 20:27 ` Lars Ingebrigtsen
2017-01-24 21:39   ` Hong Xu
2017-01-24 21:44     ` Lars Ingebrigtsen
2017-01-25  3:12       ` Hong Xu
2018-04-13 12:18         ` Lars Ingebrigtsen
2018-04-13 13:49           ` Basil L. Contovounesios
2018-04-13 14:48             ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87polakona.fsf@topbug.net \
    --to=hong@topbug.net \
    --cc=25096@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).