From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Frame background mode Date: Mon, 27 Dec 2004 22:15:08 +0200 Organization: JURTA Message-ID: <87y8fjcxbn.fsf@jurta.org> References: <877jn4suf5.fsf@jurta.org> <01c4ebea$Blat.v2.2.2$db76ff20@zahav.net.il> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1104178881 15043 80.91.229.6 (27 Dec 2004 20:21:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Dec 2004 20:21:21 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 27 21:21:15 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cj1Mh-0006NN-00 for ; Mon, 27 Dec 2004 21:21:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cj1XV-00067y-L6 for ged-emacs-devel@m.gmane.org; Mon, 27 Dec 2004 15:32:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Cj1Wz-0005we-IN for emacs-devel@gnu.org; Mon, 27 Dec 2004 15:31:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Cj1Wx-0005vB-PI for emacs-devel@gnu.org; Mon, 27 Dec 2004 15:31:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cj1Wx-0005uU-7V for emacs-devel@gnu.org; Mon, 27 Dec 2004 15:31:51 -0500 Original-Received: from [194.126.101.98] (helo=MXR-5.estpak.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cj1Kq-0002y4-SI; Mon, 27 Dec 2004 15:19:21 -0500 Original-Received: from mail.neti.ee (80-235-41-238-dsl.mus.estpak.ee [80.235.41.238]) by MXR-5.estpak.ee (Postfix) with ESMTP id 4E7FF11C0EE; Mon, 27 Dec 2004 22:19:16 +0200 (EET) Original-To: Eli Zaretskii In-Reply-To: <01c4ebea$Blat.v2.2.2$db76ff20@zahav.net.il> (Eli Zaretskii's message of "Mon, 27 Dec 2004 10:04:37 +0200") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:31475 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31475 "Eli Zaretskii" writes: > The new formula will certainly change some backgrounds from dark to > light and vice versa, The new formula will affect only users who have background color set to one of 98 colors I listed in the previous message. > which will potentially annoy some users whose color customizations > will need to be reworked. No color customization needs to be reworked. The only change needed for users affected by the new formula is to customize frame-background-mode user option. If even such small change is undesirable then maybe it's better to leave the old formula alone, and to add a new condition keyword (e.g. `min-background') that will specify the minimum color intensity (a fraction between 0 and 1) and will use the new formula, for instance: ((class color) (min-colors 88) (min-background 0.5)) -- Juri Linkov http://www.jurta.org/emacs/