From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrea Crotti Newsgroups: gmane.emacs.help Subject: customizing faces/themes Date: Tue, 21 Dec 2010 17:49:51 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1292950236 17163 80.91.229.12 (21 Dec 2010 16:50:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Dec 2010 16:50:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 21 17:50:32 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PV5Px-000272-I9 for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Dec 2010 17:50:29 +0100 Original-Received: from localhost ([127.0.0.1]:54602 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PV5Pw-0001zd-Ra for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Dec 2010 11:50:28 -0500 Original-Received: from [140.186.70.92] (port=35319 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PV5Pb-0001zU-At for help-gnu-emacs@gnu.org; Tue, 21 Dec 2010 11:50:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PV5Pa-0002M6-Ay for help-gnu-emacs@gnu.org; Tue, 21 Dec 2010 11:50:07 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:59398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PV5Pa-0002LT-5Y for help-gnu-emacs@gnu.org; Tue, 21 Dec 2010 11:50:06 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PV5PX-0001uF-PK for help-gnu-emacs@gnu.org; Tue, 21 Dec 2010 17:50:03 +0100 Original-Received: from 79-024.eduroam.rwth-aachen.de ([134.61.79.24]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Dec 2010 17:50:03 +0100 Original-Received: from andrea.crotti.0 by 79-024.eduroam.rwth-aachen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Dec 2010 17:50:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 79-024.eduroam.rwth-aachen.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) Cancel-Lock: sha1:w6eAgiXXzkX7url5xOWNIZFUbJE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77744 Archived-At: I use 2 or 3 themes, normally dark and I noticed a "problem". I set this faces with the customization framework, and those faces are not defined for the theme X. But they are defined for the them Y, so when I switch to Y they are set to another value, and when I go back to X, they don't revert to my customization. So I guess the only way is to add some faces to one theme I like, correct? But what if I want to use the same faces with more than one theme? What's the best way to solve this? '(diff-added ((t (:inherit diff-changed :background "grey4" :foreground "Yellow")))) '(diff-changed ((nil (:foreground "medium purple")))) '(diff-header ((((class color) (min-colors 88) (background dark)) (:background "grey22" :foreground "red" :height 1.2)))) '(diff-indicator-removed ((t (:inherit diff-removed)))) '(diff-removed ((t (:background "grey5" :foreground "medium spring green"))))