From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: link appearance and soft face properties Date: Mon, 20 Jun 2005 07:55:22 +0300 Organization: JURTA Message-ID: <87zmtlsoqf.fsf@jurta.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1119245203 13039 80.91.229.2 (20 Jun 2005 05:26:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Jun 2005 05:26:43 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 20 07:26:41 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DkEng-0004lm-29 for ged-emacs-devel@m.gmane.org; Mon, 20 Jun 2005 07:26:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DkEtp-0002aX-PT for ged-emacs-devel@m.gmane.org; Mon, 20 Jun 2005 01:32:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DkEtS-0002XF-L4 for emacs-devel@gnu.org; Mon, 20 Jun 2005 01:32:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DkEtP-0002VN-5U for emacs-devel@gnu.org; Mon, 20 Jun 2005 01:32:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DkEtJ-0002PJ-K0 for emacs-devel@gnu.org; Mon, 20 Jun 2005 01:32:13 -0400 Original-Received: from [194.126.101.116] (helo=HOT-Bounce1.hot.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DkEde-0003wJ-0Q for emacs-devel@gnu.org; Mon, 20 Jun 2005 01:16:02 -0400 Original-Received: from mail.neti.ee (Relay5 [192.168.1.24]) by HOT-Bounce1.hot.ee (Postfix) with ESMTP id 86D26144CB3 for ; Mon, 20 Jun 2005 08:00:25 +0300 (EEST) Original-Received: from mail.neti.ee (80-235-32-86-dsl.mus.estpak.ee [80.235.32.86]) by Relayhost1.neti.ee (Postfix) with ESMTP id B3E9F31AA; Mon, 20 Jun 2005 08:12:52 +0300 (EEST) Original-To: "Drew Adams" In-Reply-To: (Drew Adams's message of "Sun, 19 Jun 2005 10:50:46 -0700") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee 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:39150 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39150 > 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/