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: Face color changes Date: Wed, 29 Dec 2004 07:04:08 +0200 Organization: JURTA Message-ID: <87k6r1r7bb.fsf@jurta.org> References: <01c4ec3a$Blat.v2.2.2$24b7cc60@zahav.net.il> <87oegf5974.fsf@jurta.org> <01c4ed1a$Blat.v2.2.2$4b8d4aa0@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 1104299877 13049 80.91.229.6 (29 Dec 2004 05:57:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Dec 2004 05:57:57 +0000 (UTC) Cc: drew.adams@oracle.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 29 06:57:50 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 1CjWqE-0007th-00 for ; Wed, 29 Dec 2004 06:57:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CjX17-0007f0-GF for ged-emacs-devel@m.gmane.org; Wed, 29 Dec 2004 01:09:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CjX0x-0007d7-2i for emacs-devel@gnu.org; Wed, 29 Dec 2004 01:08:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CjX0t-0007aq-Gz for emacs-devel@gnu.org; Wed, 29 Dec 2004 01:08:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CjX0t-0007an-En for emacs-devel@gnu.org; Wed, 29 Dec 2004 01:08:51 -0500 Original-Received: from [194.126.101.98] (helo=MXR-3.estpak.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CjWn7-0006lj-7w; Wed, 29 Dec 2004 00:54:37 -0500 Original-Received: from mail.neti.ee (80-235-33-132-dsl.mus.estpak.ee [80.235.33.132]) by MXR-3.estpak.ee (Postfix) with ESMTP id 173C4AB26D; Wed, 29 Dec 2004 07:54:32 +0200 (EET) Original-To: Eli Zaretskii In-Reply-To: <01c4ed1a$Blat.v2.2.2$4b8d4aa0@zahav.net.il> (Eli Zaretskii's message of "Tue, 28 Dec 2004 22:16:32 +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:31566 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31566 "Eli Zaretskii" writes: >> In `custom-set-faces' it loses all conditions from the face >> definition except the current one. This means that saved faces are >> the same on different environments. > > I think this is by design. To make it behave differently, we need > first to design the desired result. What would you like it to do, > exactly? modify only the definition that corresponds to the current > background mode, number of colors, display type, etc., and leave the > other definitions intact? Exactly. > In general, Customize does not support customizations that are > portable across environments and/or platforms. E.g., if you customize > something on Windows, the result is not conditioned by the appropriate > value of system-type. Isn't the issue you raise similar? No, the issue I raised concerns only conditions of the face definition. All conditions should be preserved with changes made only in the condition for the current environment. This would allow not only to keep conditions for other environments in the saved face, but also to customize them independently on different environments (most frequently switched of which are light and dark backgrounds, where such improvement will be most useful). -- Juri Linkov http://www.jurta.org/emacs/