From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: About the :distant-foreground face attribute Date: Thu, 09 Jan 2014 18:49:32 +0100 Message-ID: <52CEE12C.3080706@swipnet.se> References: <87bnzo9cja.fsf@gnu.org> <59B7E7FC-48D0-4737-B1BB-FFAC5BA9E07A@swipnet.se> <874n5f3162.fsf@gnu.org> <83fvozf86g.fsf@gnu.org> <87r48javwe.fsf@gnu.org> <83bnzmfjxe.fsf@gnu.org> <87bnzlyvwb.fsf@gnu.org> <83zjn5cch3.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1389289807 30993 80.91.229.3 (9 Jan 2014 17:50:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jan 2014 17:50:07 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 09 18:50:11 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W1JkB-0006JY-OK for ged-emacs-devel@m.gmane.org; Thu, 09 Jan 2014 18:50:11 +0100 Original-Received: from localhost ([::1]:53364 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1JkB-000871-CX for ged-emacs-devel@m.gmane.org; Thu, 09 Jan 2014 12:50:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45786) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1Jk1-0007tv-JC for emacs-devel@gnu.org; Thu, 09 Jan 2014 12:50:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1Jju-0004nP-Ag for emacs-devel@gnu.org; Thu, 09 Jan 2014 12:50:01 -0500 Original-Received: from mailfe01.swip.net ([212.247.154.1]:42501 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1Jje-0004gC-BH; Thu, 09 Jan 2014 12:49:38 -0500 X-T2-Spam-Status: No, hits=0.0 required=5.0 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe01.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 470458295; Thu, 09 Jan 2014 18:49:33 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: <83zjn5cch3.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.247.154.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:167955 Archived-At: Eli Zaretskii skrev 2014-01-09 18:05: > The solution should be able to cope with the need to dynamically > decide which color is used as a foreground, based on the current > background. It also needs to support the possibility that a face will > want to force use of a specific fixed foreground color, regardless of > the background. (Jan, did I miss some additional requirements?) If you > can propose a cleaner solution that satisfies these requirements, > please do, and let's discuss that. If you have :foreground as a list and can specify the normal foreground as nil, that is equivalent to :distant-foreground. Jan D.