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:50:43 +0100 Message-ID: <52CEE173.8060203@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> <87fvoxxe73.fsf@engster.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 1389289870 31714 80.91.229.3 (9 Jan 2014 17:51:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jan 2014 17:51:10 +0000 (UTC) Cc: Eli Zaretskii , Chong Yidong , emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 09 18:51:16 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 1W1JlC-0000G4-9i for ged-emacs-devel@m.gmane.org; Thu, 09 Jan 2014 18:51:14 +0100 Original-Received: from localhost ([::1]:53368 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1JlB-0000gC-VG for ged-emacs-devel@m.gmane.org; Thu, 09 Jan 2014 12:51:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1Jl3-0000dU-FN for emacs-devel@gnu.org; Thu, 09 Jan 2014 12:51:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1Jkx-0005TT-FE for emacs-devel@gnu.org; Thu, 09 Jan 2014 12:51:05 -0500 Original-Received: from mailfe08.swip.net ([212.247.154.225]:36272 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1Jkk-0005QG-Cu; Thu, 09 Jan 2014 12:50:46 -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 mailfe08.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 468470289; Thu, 09 Jan 2014 18:50:44 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.247.154.225 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:167956 Archived-At: Hello. Lars Magne Ingebrigtsen skrev 2014-01-09 18:27: > David Engster writes: > >> I still wonder why it is necessary in the first place. > color.el has functions for calculating "different enough" colours. I > think using that (or something like that) for computing new foreground > colours when the background changes would be a better idea... Generated colors don't usually go well with custom themes. For the default theme it might be OK, but if you are defining a new theme you should be able to specify all colors. Jan D.