From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: link appearance and soft face properties Date: Mon, 20 Jun 2005 13:51:11 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1119290697 20286 80.91.229.2 (20 Jun 2005 18:04:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Jun 2005 18:04:57 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 20 20:04:56 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DkQdI-0006Vy-HC for ged-emacs-devel@m.gmane.org; Mon, 20 Jun 2005 20:04:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DkQjY-0001sl-VU for ged-emacs-devel@m.gmane.org; Mon, 20 Jun 2005 14:10:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DkQeu-0000N8-8J for emacs-devel@gnu.org; Mon, 20 Jun 2005 14:06:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DkQet-0000MW-25 for emacs-devel@gnu.org; Mon, 20 Jun 2005 14:06:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DkQer-0000AQ-7s for emacs-devel@gnu.org; Mon, 20 Jun 2005 14:06:05 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DkQU7-0005sK-CN for emacs-devel@gnu.org; Mon, 20 Jun 2005 13:54:59 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DkQQR-0007Y1-48; Mon, 20 Jun 2005 13:51:22 -0400 Original-To: "Drew Adams" In-reply-to: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:39191 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39191 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.