From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: About the :distant-foreground face attribute Date: Thu, 9 Jan 2014 13:12:59 -0800 (PST) Message-ID: <35efc77e-e132-4700-ae0f-d95079293ff5@default> 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>> <> <> <<83wqi9cakl.fsf@gnu.org>> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1389302012 18484 80.91.229.3 (9 Jan 2014 21:13:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jan 2014 21:13:32 +0000 (UTC) Cc: cyd@gnu.org, monnier@iro.umontreal.ca, jan.h.d@swipnet.se, emacs-devel@gnu.org To: Eli Zaretskii , Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 09 22:13:37 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 1W1Muy-0005Yi-Lq for ged-emacs-devel@m.gmane.org; Thu, 09 Jan 2014 22:13:32 +0100 Original-Received: from localhost ([::1]:54128 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1Mux-0001pY-T2 for ged-emacs-devel@m.gmane.org; Thu, 09 Jan 2014 16:13:31 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34909) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1Muo-0001ou-7v for emacs-devel@gnu.org; Thu, 09 Jan 2014 16:13:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1Muf-0008MQ-F9 for emacs-devel@gnu.org; Thu, 09 Jan 2014 16:13:22 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:47492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1MuW-0008Le-CB; Thu, 09 Jan 2014 16:13:04 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id s09LD2uA009552 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 9 Jan 2014 21:13:03 GMT Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s09LD0Y1013796 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 9 Jan 2014 21:13:00 GMT Original-Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id s09LD0ao006517; Thu, 9 Jan 2014 21:13:00 GMT In-Reply-To: <<83wqi9cakl.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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:167978 Archived-At: > > > > been a source of annoyance over the years. Introducing > > > > another such situation should, in my view, be avoided as > > > > far as possible. > > > > > > That's a good point. Basically, what you're saying is that > > > instead of :distant-foreground we could have a :foreground that > > > can be of the form (NORMAL-FOREGROUND . ALTERNATE-FOREGROUND), > > > where ALTERNATE-FOREGROUND is used when NORMAL-FOREGROUND would > > > lead to a lack of contrast. > > > > Please don't. That too would break code that expects :foreground > > to be as it is now. >=20 > Why do you assume that the previous form will not be accepted? Of > course, it will be. Accepted by what? Are you thinking of `defface'? Why would you assume that I assume that? I'm sure you will make `defface' etc. work. I'm sure that you will make all distributed `emacs -Q' code work, for this. That's not the point. It's about being accepted by, recognized by, and useful for other, existing code. If code expects a string foreground value then it is not designed to DTRT with a cons etc. This should be obvious, no?