From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Carsten Dominik Newsgroups: gmane.emacs.orgmode,gmane.emacs.help 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: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1239555260 22970 80.91.229.12 (12 Apr 2009 16:54:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Apr 2009 16:54:20 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, emacs-orgmode To: Rustom Mody Original-X-From: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sun Apr 12 18:55:39 2009 Return-path: Envelope-to: geo-emacs-orgmode@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lt2y2-0005ao-Ht for geo-emacs-orgmode@m.gmane.org; Sun, 12 Apr 2009 18:55:38 +0200 Original-Received: from localhost ([127.0.0.1]:42321 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lt2we-00089a-1k for geo-emacs-orgmode@m.gmane.org; Sun, 12 Apr 2009 12:54:12 -0400 Original-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 Original-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 Original-Received: from [199.232.76.173] (port=35962 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lt2wD-00084E-KI; Sun, 12 Apr 2009 12:53:45 -0400 Original-Received: from mail-ew0-f160.google.com ([209.85.219.160]:57129) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lt2wD-0001KE-2a; Sun, 12 Apr 2009 12:53:45 -0400 Original-Received: by ewy4 with SMTP id 4so2137444ewy.42 for ; Sun, 12 Apr 2009 09:53:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=Ccj4xOtNaD6kw0lPuf1FiBuOO/9OGV1Q3xqmKZ1SH6Q=; b=YjHOAqRyj/X8Nnxwe2cCISEQeMDoz0cQ6HgxmKESTaT+YxnAjn+AfDa3nY0xF1X1/u Pg47tNxWlIvsrrHCzuW5kRxIpcsp0HeJKSVa6WJajqOXBuFs8dYMe3fiSe1CU/WC9a2t ByvaZpEIzrixc/93Xs/oNr1qUVcuI8ow5yL2c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=JLuR2YejkVgene39VQ9BY63WfhytkABwHmm1C/BbraAWSG5W2wmCCRGUlcZiTmFvIe ZB/wvo9vD5GJhN9NxdAfRMxJ41Rnt2mAWMZD8+gCTwOL413anfVJyQwqacGaFWzG4Z8b AX7sD8v+r31UOcj8XP5FMaUbRCG+GvGsGxUmo= Original-Received: by 10.216.25.144 with SMTP id z16mr1325342wez.179.1239555223558; Sun, 12 Apr 2009 09:53:43 -0700 (PDT) Original-Received: from ?192.168.1.10? (dc5146846e.adsl.wanadoo.nl [81.70.132.110]) by mx.google.com with ESMTPS id f13sm10145218gvd.11.2009.04.12.09.53.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 12 Apr 2009 09:53:43 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.930.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-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 Xref: news.gmane.org gmane.emacs.orgmode:12875 gmane.emacs.help:63695 Archived-At: 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 _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode 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