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: Sun, 12 Jan 2014 12:40:42 +0100 Message-ID: <0BD35771-1C3E-4108-8DBA-DF4ACD3FA7CB@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> <83wqi9cakl.fsf@gnu.org> <87zjn5584t.fsf@gnu.org> <8738kwydon.fsf@engster.org> <871u0dwiyv.fsf@engster.org> 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: 7bit X-Trace: ger.gmane.org 1389526870 18836 80.91.229.3 (12 Jan 2014 11:41:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Jan 2014 11:41:10 +0000 (UTC) Cc: Eli Zaretskii , Chong Yidong , Stefan Monnier , Drew Adams , emacs-devel To: David Engster Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 12 12:41: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 1W2JPo-0000ia-1s for ged-emacs-devel@m.gmane.org; Sun, 12 Jan 2014 12:41:16 +0100 Original-Received: from localhost ([::1]:37340 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2JPn-0001WV-GK for ged-emacs-devel@m.gmane.org; Sun, 12 Jan 2014 06:41:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2JPf-0001WL-9K for emacs-devel@gnu.org; Sun, 12 Jan 2014 06:41:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W2JPZ-0001sw-8U for emacs-devel@gnu.org; Sun, 12 Jan 2014 06:41:07 -0500 Original-Received: from mailfe01.swip.net ([212.247.154.1]:49136 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2JPL-0001qq-S6; Sun, 12 Jan 2014 06:40:48 -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 mailfe01.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 471063357; Sun, 12 Jan 2014 12:40:42 +0100 In-Reply-To: <871u0dwiyv.fsf@engster.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.1 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:168169 Archived-At: Hello. 12 jan 2014 kl. 12:14 skrev David Engster : > David Engster writes: >> I'm wondering: We already can set different face attributes depending on >> DISPLAY's 'background' property, which can be 'light' or 'dark'. Say the >> user is working with a 'dark' background by default, but we now detect >> that one of the font-lock faces has not enough contrast when highlighted >> by the region: why not simply switch to the face that is defined for >> 'light' background instead? > > Hey look, a tumbleweed! > > I'm assuming everybody's simply stunned by my ingenious proposal? > A theme does not have to suppy colors for properties light or dark. > (;-), etc.) Jan D.