From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wanrong Lin Subject: Face color change in column view Date: Tue, 16 Oct 2007 00:46:32 -0400 Message-ID: <47144228.6020407@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IheKL-0005M6-G8 for emacs-orgmode@gnu.org; Tue, 16 Oct 2007 00:46:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IheKH-0005K0-Va for emacs-orgmode@gnu.org; Tue, 16 Oct 2007 00:46:45 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IheKH-0005Jx-TF for emacs-orgmode@gnu.org; Tue, 16 Oct 2007 00:46:41 -0400 Received: from py-out-1112.google.com ([64.233.166.183]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IheKH-00039s-JD for emacs-orgmode@gnu.org; Tue, 16 Oct 2007 00:46:41 -0400 Received: by py-out-1112.google.com with SMTP id a73so3863275pye for ; Mon, 15 Oct 2007 21:46:41 -0700 (PDT) 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: emacs-orgmode@gnu.org I wonder whether anyone sees the same thing as I did: I use a light background. When column view is turned on, I got some silver background, but my level 2 headings changed their foreground color from default (black) to my light background color. So I have light color texts on top of silver background, which makes them really difficult to read. The strange thing is, if I set my org-level-2 face to the following (using custom-set-faces): '(org-level-2 ((t (:foreground "#000000")))) I don't have the problem. But if I set org-level-2 to the following: '(org-level-2 ((t nil))) ;; just use default face I got the problem. Both of the settings are black since my default foreground is black for light background. So why is that? I want to avoid hard coding org-level-2 to black because occasionally I need to work in a SSH terminal window with black background. Thanks if someone can give some hints/ideas.