unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: link appearance and soft face properties
Date: Mon, 20 Jun 2005 07:55:22 +0300	[thread overview]
Message-ID: <87zmtlsoqf.fsf@jurta.org> (raw)
In-Reply-To: <DNEMKBNJBGPAOPIJOOICAEHHCJAA.drew.adams@oracle.com> (Drew Adams's message of "Sun, 19 Jun 2005 10:50:46 -0700")

> Providing a link face (that inherits etc.) and using it for all
> links (i.e.  places where the code in fact "follows a link" upon
> click) would let users customize, in a single place, how links
> appear.  (If we provided buffer-local faces, users would also be
> able to easily customize link appearance on a per-buffer basis.)

I can't imagine other useful face attributes for the `link' face
than underline.  For example, changing its foreground color will
make different faces inheriting from it indistinguishable (like
visited and unvisited links in Info, or file names and line numbers
in grep and compilation).

So I see the `link' face mainly as a way to turn link underlining off.
But then it should be possible to do that on a per-buffer basis to
turn underlining off in some modes (e.g. in grep and compilation)
but leaving it in others (e.g. in Info).

-- 
Juri Linkov
http://www.jurta.org/emacs/

  reply	other threads:[~2005-06-20  4:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-17 14:42 mouse-1-click-follows-link LENNART BORGMAN
2005-06-17 15:32 ` link appearance and soft face properties Drew Adams
2005-06-18  2:21   ` Richard Stallman
2005-06-18 13:47     ` Juri Linkov
2005-06-19  3:51       ` Richard Stallman
2005-06-19 17:50       ` Drew Adams
2005-06-20  4:55         ` Juri Linkov [this message]
2005-06-20 16:53           ` Drew Adams
2005-06-19 17:47     ` Drew Adams
2005-06-19 20:06       ` Robert J. Chassell
2005-06-19 22:01         ` Drew Adams
2005-06-20  0:57           ` Robert J. Chassell
2005-06-20 16:53             ` Drew Adams
2005-06-20  1:45           ` Daniel Brockman
2005-06-20 17:51           ` Richard Stallman
2005-06-17 15:36 ` mouse-1-click-follows-link Stefan Monnier

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=87zmtlsoqf.fsf@jurta.org \
    --to=juri@jurta.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).