From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: matching color themes with org mode Date: Sun, 12 Apr 2009 18:53:41 +0200 Message-ID: <66FD8ED5-FD35-45B2-91D6-3548A5626BE8@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lt2wJ-00087M-Vc for emacs-orgmode@gnu.org; Sun, 12 Apr 2009 12:53:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lt2wD-00084H-Q2 for emacs-orgmode@gnu.org; Sun, 12 Apr 2009 12:53:50 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rustom Mody Cc: help-gnu-emacs@gnu.org, emacs-orgmode Hi Rustom, On Apr 11, 2009, at 5:03 PM, Rustom Mody wrote: > The only 'color-theme' Ive been able to use so far is to set > background to wheat. > > I am now trying some more attractive (aka darker) color themes > > Now I have > > (custom-set-faces > '(org-hide ((((background light)) (:foreground "wheat"))))) > > which is done to hide stars in org mode. [That's a fearful number of > '('s even for an ol-lisper!] > > I would like to generalize "wheat" to "whatever is the background > color" I don't think you can do it easily in the face definition, but later you can do (set-face-attribute 'org-hide nil :foreground (face-attribute 'default :background)) HTH - Carsten