all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: link appearance and soft face properties
Date: Mon, 20 Jun 2005 13:51:11 -0400	[thread overview]
Message-ID: <E1DkQQR-0007Y1-48@fencepost.gnu.org> (raw)
In-Reply-To: <DNEMKBNJBGPAOPIJOOICAEHJCJAA.drew.adams@oracle.com>

    If you are questioning whether such properties are really "hard" today, that
    is, whether they do not in fact allow for alternative display or
    interpretation as, say, sound, then I think the answer is "yes" - out of the
    box, Emacs does not allow for any alternative treatment for such properties:
    :underline always means "underline". The :underline text property simply
    determines whether or not the text in question is underlined. From Info:

That's right.

If you want something to underline in certain circumstances and do other
things in other circumstances, the way to do that is to define a face
with a conditional definition.

    In particular, I wanted to distinguish link text from underlined text. Just
    because some text might be underlined does not make it a link. To be a link,
    it must behave as a link. I suggested we provide a way to make a portion of
    text appear as a link - in whatever way that appearance might be manifested.

It is useful to have one way to say "make this text look like a link",
and the right way to do it is by defining a face called `link' and using
it in those places.

  parent reply	other threads:[~2005-06-20 17:51 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
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 [this message]
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

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

  git send-email \
    --in-reply-to=E1DkQQR-0007Y1-48@fencepost.gnu.org \
    --to=rms@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.