unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Dan Nicolaescu <dann@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: The `link' face.
Date: Fri, 08 Jul 2011 12:06:37 -0400	[thread overview]
Message-ID: <jwvwrfssr7c.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <yxqhb6wddzs.fsf@fencepost.gnu.org> (Dan Nicolaescu's message of "Fri, 08 Jul 2011 10:49:11 -0400")

>> - it begs the question "what's the intended difference between the button
>> and the link faces".

I'd like to hear what people think about this issue.

>> - while the "blue underlined" might be considered "the standard link
>> appearance", when I look at web pages in my browser (with default
>> config), I see that old-style plain pages indeed use "blue underlined"
>> (and even bold for debbugs), whereas more modern designs
>> (e.g. wikipedia and many more) use something more subdued such as just
>> "blue with an underline for mouse highlighting", or even "nothing +
>> mouse highlighting" when the context makes it clear that it's a link
>> (e.g. for tab-like thingies, or menus, ...).
>> So I'm tempted to change the `link' face by removing "blue" from it
>> (most of the links use button.el so they used to appear as just
> This doesn't quite follow from your wikipedia argument above.

It does in the sense if you ignore the examples and focus on the "more
subdued".

>> "underline" without any blue, so it would leave the appearance mostly
>> unchanged compared to Emacs-23).
> You have said here in the past that your personal preference is to not
> use colors for faces, but other attributes (bold/underline,etc).  Most
> users use colors, so it seems that your personal preference doesn't
> quite match what most people do, and this proposed change suits more
> your personal taste than anything else...

That's true, although in this case my motivation is also to just revert
to the old appearance.

AFAICT nobody complained about the appearance of those buttons, just
about the fact that the button face should inherit from the link face,
so there are two ways to address the issue:
- just inherit from link and hence change the appearance (what we have now).
- inherit from link but also change link to what button used to be so as
  not to change the appearance.

IIUC in web-design, different faces are used for different links mostly
based on things like:
- if context makes it clear that you can click on it, use something very
  subdued or even nothing at all (usually this is for menus and tabs
  which already have a different appearance).
- if it's for links within some text and there might be many such links
  on words which aren't syntactically meant to be links (e.g. wikis),
  then use something subdued that tries not to render the text difficult
  to read.
Also, I have the impression that as the notion of "hypertext" has become
mainstream, links have become more discrete since you don't need them to
be loud for people to find them, now that people know to expect
them pretty much everywhere.
  

        Stefan



  reply	other threads:[~2011-07-08 16:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-08 14:15 The `link' face Stefan Monnier
2011-07-08 14:33 ` Lennart Borgman
2011-07-08 14:46   ` Bastien
2011-07-08 16:08   ` Stefan Monnier
2011-07-08 16:33     ` Lennart Borgman
2011-07-08 14:49 ` Dan Nicolaescu
2011-07-08 16:06   ` Stefan Monnier [this message]
2011-07-08 15:32 ` Chong Yidong

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=jwvwrfssr7c.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=dann@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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).