From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: changing tabbar font color... Date: Mon, 22 Mar 2010 16:18:24 -0700 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1269299956 21909 80.91.229.12 (22 Mar 2010 23:19:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Mar 2010 23:19:16 +0000 (UTC) To: "'Brendan Miller'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 23 00:19:12 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 1Ntqtr-0004GV-K0 for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Mar 2010 00:19:11 +0100 Original-Received: from localhost ([127.0.0.1]:60911 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ntqtq-00010U-V9 for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Mar 2010 19:19:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NtqtT-00010P-Ue for help-gnu-emacs@gnu.org; Mon, 22 Mar 2010 19:18:47 -0400 Original-Received: from [140.186.70.92] (port=36768 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NtqtR-00010H-I9 for help-gnu-emacs@gnu.org; Mon, 22 Mar 2010 19:18:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NtqtQ-0005wn-5N for help-gnu-emacs@gnu.org; Mon, 22 Mar 2010 19:18:45 -0400 Original-Received: from acsinet12.oracle.com ([141.146.126.234]:52550) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NtqtQ-0005wT-0Z for help-gnu-emacs@gnu.org; Mon, 22 Mar 2010 19:18:44 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet12.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o2MNIara029975 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 22 Mar 2010 23:18:38 GMT Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o2M8s5kf002086; Mon, 22 Mar 2010 23:18:35 GMT Original-Received: from abhmt003.oracle.com by acsmt353.oracle.com with ESMTP id 101850081269299906; Mon, 22 Mar 2010 16:18:26 -0700 Original-Received: from dradamslap1 (/10.175.204.81) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 22 Mar 2010 16:18:26 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcrKFBQrt9kpQZfvQWmIBhR17R+VywAAFR2QAABOrLA= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt353.oracle.com [141.146.40.153] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090206.4BA7FACC.00CB:SCFMA4539814,ss=1,fgs=0 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:72454 Archived-At: > I have tabbar, but the gray on gray colors are a little hard to see, > so I wanted to customise the font color... I got some example code > from google to start out from, but it generates this error: > > error: Invalid face, tabbar-default-face Perhaps it depends on your version of tabbar.el. FWIW, I just customize tabbar faces using M-x customize-face. This is the relevant part of my custom-file: '(tabbar-unselected-face ((t (:inherit tabbar-default-face :box (:line-width 1 :color "white" :style pressed-button))))) If you do this interactively, starting with emacs -Q, what happens? emacs -Q M-: (add-to-list 'load-path ) M-x load-library RET tabbar M-x customize-face RET tabbar-default-face If your version of tabbar.el has `tabbar-default-face' then that should work. You should be able to customize it and save your changes. > The relevant section of my .emacs looks like this: > > (require 'tabbar) > (tabbar-mode) > (global-set-key [(s-right)] 'tabbar-forward) > (global-set-key [(s-left)] 'tabbar-backward) > (set-face-attribute > 'tabbar-default-face nil :background "gray60") ...