From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Re: About the :distant-foreground face attribute Date: Tue, 14 Jan 2014 19:06:32 +0100 Message-ID: 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> <52D3E689.6050902@dancol.org> <8E16225F-53EF-498A-AB35-66EB9B33B859@swipnet.se> <52D43360.6050605@dancol.org> <9BD01B88-AF13-44DD-8DBE-4598BAC136DD@swipnet.se> <52D45C73.6090906@dancol.org> <52D4EBA9.8050802@swipnet.se> <52D4F2C2.8080800@dancol.org> <52D504A7.80104@swipnet.se> <52D514FF.7010404@dancol.org> <52D52312.6070106@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1389722813 4842 80.91.229.3 (14 Jan 2014 18:06:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jan 2014 18:06:53 +0000 (UTC) Cc: Chong Yidong , emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 14 19:06:59 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 1W38OA-0006kb-65 for ged-emacs-devel@m.gmane.org; Tue, 14 Jan 2014 19:06:58 +0100 Original-Received: from localhost ([::1]:49904 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W38O9-0002Rm-FC for ged-emacs-devel@m.gmane.org; Tue, 14 Jan 2014 13:06:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W38O0-0002Le-Fy for emacs-devel@gnu.org; Tue, 14 Jan 2014 13:06:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W38Nu-00045g-Lv for emacs-devel@gnu.org; Tue, 14 Jan 2014 13:06:48 -0500 Original-Received: from mailfe02.swip.net ([212.247.154.33]:41539 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W38No-00044q-5u; Tue, 14 Jan 2014 13:06:36 -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 mailfe02.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 469145858; Tue, 14 Jan 2014 19:06:33 +0100 In-Reply-To: X-Mailer: Apple Mail (2.1827) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.247.154.33 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:168374 Archived-At: Hello. 14 jan 2014 kl. 18:56 skrev Stefan Monnier : >> The most concrete objection is the case of inheriting faces Yidong = brought >> up in another mail, which indeed is a real problem. >=20 > Can someone clarify the problem? The region face defines :distant-foreground. A face that inherits = region can not override that attribute so that is undefined, it can only = be overridden to another color. > Is there an alternative suggestion which solves the original problem > while at the same time fixing this one? Yidong hinted at a fix, i.e. let nil be a valid value, like for = :stipple. The argument against was that :distant-foreground would have = nil as a valid value, but :foreground does not, i.e. they do not have = the same values. The authors of the alternate implementations must answer for their = cases. Jan D.