From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: +face-remapping-20040505-0.patch Date: Sun, 09 May 2004 06:38:04 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <874qqwrycm.fsf@tc-1-100.kawasaki.gol.ne.jp> <20040505221256.GB7789@fencepost> <20040508013940.GB6489@fencepost> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1084101157 8134 80.91.224.253 (9 May 2004 11:12:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 May 2004 11:12:37 +0000 (UTC) Cc: bob@rattlesnake.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, miles@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun May 09 13:12:31 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BMmER-000634-00 for ; Sun, 09 May 2004 13:12:31 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BMmER-0006r9-00 for ; Sun, 09 May 2004 13:12:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.33) id 1BMloo-00007O-C0 for emacs-devel@quimby.gnus.org; Sun, 09 May 2004 06:46:02 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.33) id 1BMlho-0005X3-NN for emacs-devel@gnu.org; Sun, 09 May 2004 06:38:48 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.33) id 1BMlhE-0005Pc-7Q for emacs-devel@gnu.org; Sun, 09 May 2004 06:38:44 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.33) id 1BMlh7-0005P7-94 for emacs-devel@gnu.org; Sun, 09 May 2004 06:38:11 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.33) id 1BMlh6-0000Ef-2q; Sun, 09 May 2004 06:38:04 -0400 Original-To: Miles Bader In-reply-to: <20040508013940.GB6489@fencepost> (message from Miles Bader on Fri, 7 May 2004 21:39:40 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22974 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22974 The code currently uses the same function that face-inheritance uses (a face's :inherit attribute may be a list). Unfortunately, the manner in which that works is the _opposite_ of how a list of faces in a face property works. * In a face property, a list of faces is interpreted so that earlier faces in the list _override_ later faces in the list. * In an face-inheritance list, _later_ faces override earlier faces. The order should be reversed for face-inheritance. The face that comes first should always override those that come after.