From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: Finding faces to customize Date: Tue, 28 Jun 2005 14:47:49 -0400 Message-ID: References: <42BEEE4F.8080709@student.lu.se> <8764w0pu61.fsf@jurta.org> <42BF4DAE.9020309@student.lu.se> <87mzpbnsu8.fsf@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1119985678 13617 80.91.229.2 (28 Jun 2005 19:07:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Jun 2005 19:07:58 +0000 (UTC) Cc: lennart.borgman.073@student.lu.se, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 28 21:07:57 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DnLOr-00079s-St for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2005 21:05:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DnLWl-0001MB-GO for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2005 15:13:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DnLM9-0006GP-UZ for emacs-devel@gnu.org; Tue, 28 Jun 2005 15:02:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DnLLr-00065I-5v for emacs-devel@gnu.org; Tue, 28 Jun 2005 15:02:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DnLLp-00061L-5Z for emacs-devel@gnu.org; Tue, 28 Jun 2005 15:02:29 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DnLDc-0005qk-22 for emacs-devel@gnu.org; Tue, 28 Jun 2005 14:54:00 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DnL7d-0004z5-Cb; Tue, 28 Jun 2005 14:47:49 -0400 Original-To: Juri Linkov In-reply-to: <87mzpbnsu8.fsf@jurta.org> (message from Juri Linkov on Tue, 28 Jun 2005 03:00:33 +0300) 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:39813 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39813 1. The `face' property on a character under the point takes precedence over the face name extracted from the buffer. So if the point is located on the face name in the `defface' specification, then the default will be `font-lock-variable-name-face' instead of the face from `defface', because the face name is fontified in that font-lock face. This is funny. Did anyone ever play the trick on you where he holds up a card that says "red", but it's in green letters, and asks you to read the word (or, to say which color you see)? Humans get confused trying to answer. It is funny that Emacs gets confused in the same way.