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: About the :distant-foreground face attribute Date: Wed, 8 Jan 2014 11:10:57 +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> <5AAF847C-97BF-4BB6-A0A6-CAE665D7523E@swipnet.se> <87fvoy7qcp.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1389175915 1782 80.91.229.3 (8 Jan 2014 10:11:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2014 10:11:55 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 08 11:12:01 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 1W0q7E-00023O-1M for ged-emacs-devel@m.gmane.org; Wed, 08 Jan 2014 11:12:00 +0100 Original-Received: from localhost ([::1]:45960 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0q7D-0007C7-9f for ged-emacs-devel@m.gmane.org; Wed, 08 Jan 2014 05:11:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0q6b-0006kJ-D1 for emacs-devel@gnu.org; Wed, 08 Jan 2014 05:11:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0q6V-0000Kr-ED for emacs-devel@gnu.org; Wed, 08 Jan 2014 05:11:21 -0500 Original-Received: from mailfe06.swip.net ([212.247.154.161]:46260 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0q6J-0000IB-3a; Wed, 08 Jan 2014 05:11:03 -0500 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe06.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 465238538; Wed, 08 Jan 2014 11:11:00 +0100 Original-Received: from c-46-246-121-74.anonymous.at.anonine.com (unknown [46.246.121.74]) (Authenticated sender: jhd) by hosdjarv.se (Postfix) with ESMTPSA id 587801A009D; Wed, 8 Jan 2014 10:10:59 +0000 (UTC) In-Reply-To: <87fvoy7qcp.fsf@gnu.org> X-Mailer: Apple Mail (2.1827) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.247.154.161 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:167720 Archived-At: 8 jan 2014 kl. 10:52 skrev Chong Yidong : > Jan Dj=E4rv writes: >=20 >> On Gtk and NS the region color to use is in that case specified by = the >> system and should not be generated by modifying a color component. >> How do you specify that? >=20 > The reason this feature was introduced was so that Emacs could get = away > with not using the specified *_foreground_color, and use the = underlying > face color instead. It is inconsistent to suddenly want to start > honoring it. Honoring what? Your statement makes no sense. I'm talking about the = fact that your proposal does not do what the current implementation = does. In your proposal, the foreground to use (distant foreground) would be = calculated by Emacs. In the current implementation, the foreground to use is specified by the = system (Gtk+/NS). How do you specify that in your proposal? Jan D.