From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: About the :distant-foreground face attribute Date: Thu, 09 Jan 2014 19:57:58 +0200 Message-ID: <83vbxtca1l.fsf@gnu.org> 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1389290298 5283 80.91.229.3 (9 Jan 2014 17:58:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jan 2014 17:58:18 +0000 (UTC) Cc: cyd@gnu.org, jan.h.d@swipnet.se, emacs-devel@gnu.org To: Josh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 09 18:58:24 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 1W1Js7-00084q-EQ for ged-emacs-devel@m.gmane.org; Thu, 09 Jan 2014 18:58:23 +0100 Original-Received: from localhost ([::1]:53417 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1Js7-0003S3-59 for ged-emacs-devel@m.gmane.org; Thu, 09 Jan 2014 12:58:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1Js0-0003Rw-RU for emacs-devel@gnu.org; Thu, 09 Jan 2014 12:58:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1Jrw-0000PS-1F for emacs-devel@gnu.org; Thu, 09 Jan 2014 12:58:16 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:62359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1Jrm-0000OC-Fz; Thu, 09 Jan 2014 12:58:02 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MZ500E00AYS3V00@a-mtaout22.012.net.il>; Thu, 09 Jan 2014 19:58:01 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MZ500DF5B8OV270@a-mtaout22.012.net.il>; Thu, 09 Jan 2014 19:58:01 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:167957 Archived-At: > From: Josh > Date: Thu, 9 Jan 2014 09:39:43 -0800 > Cc: Chong Yidong , Jan Dj=E4rv ,= =20 > =09emacs-devel >=20 > Instead of explicitly specifying alternative foreground colors, > whether by introducing a new face attribute or extending the > current :foreground attribute, perhaps we could introduce a new > `minimum-color-distance' user preference that would be used > something like this: First, such preferences should be per face, not global, for the reasons already explained in this thread. And second, this is not necessarily a user-level issue. It could be = a requirement that text in a certain face be legible, come what may. I= n that case, we would like to give the Lisp programmer a way to put thi= s requirement into the face definition.