From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Kost Newsgroups: gmane.emacs.help Subject: Re: writing your own theme and tabbar Date: Fri, 29 Aug 2014 08:39:14 +0400 Message-ID: <87ppfjlxjh.fsf@gmail.com> References: <87y4ugwmqk.fsf@skimble.plus.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1409287181 4856 80.91.229.3 (29 Aug 2014 04:39:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2014 04:39:41 +0000 (UTC) Cc: help-gnu-emacs To: Sharon Kimble Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 29 06:39:35 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XNDyJ-0001zM-4s for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Aug 2014 06:39:35 +0200 Original-Received: from localhost ([::1]:40087 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNDyI-0007lZ-NF for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Aug 2014 00:39:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNDy2-0007lH-QW for help-gnu-emacs@gnu.org; Fri, 29 Aug 2014 00:39:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XNDxx-0002FQ-Ca for help-gnu-emacs@gnu.org; Fri, 29 Aug 2014 00:39:18 -0400 Original-Received: from mail-lb0-x232.google.com ([2a00:1450:4010:c04::232]:48663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNDxx-0002FJ-57 for help-gnu-emacs@gnu.org; Fri, 29 Aug 2014 00:39:13 -0400 Original-Received: by mail-lb0-f178.google.com with SMTP id v6so1971793lbi.37 for ; Thu, 28 Aug 2014 21:39:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=slXF46w3kIiXTHIqLUd58xDQyEWjB5Fvw91tFCY5KPU=; b=Zdtmp2mpo8EEwEFHRINcZfR9o+FCydruUn+/k7pAYxpQCelEp5JMBIbqyyN8r3pcH/ 4CXrm8GkQg9sooKCMnV1H1ZOZUyjyx03MDwtjLs1iXMGRw3UZR04/V5cxkEtB+ANcjQS C7U8/b1WmBcW6GNGxIBZx/ExnonNg0u4wqH6VB6kKCMZvCY2OoQiDdqSfQhAQLDSlIKj oj2LdE3LN5eV/8a9N5kTPKb01TNmVu8y+1iHVtIvfe3rF+axlAoYBt+o87Fb3UMbDy2F DvyFtUm9d1561455NvXP0kxB8VBwap0LpJf/wXzIu56FJZ2jeCPzH7vr/slbfh6ntQ9R k+Bg== X-Received: by 10.152.36.37 with SMTP id n5mr365941laj.93.1409287151944; Thu, 28 Aug 2014 21:39:11 -0700 (PDT) Original-Received: from leviafan (128-70-202-180.broadband.corbina.ru. [128.70.202.180]) by mx.google.com with ESMTPSA id b1sm3712963lah.34.2014.08.28.21.39.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Aug 2014 21:39:11 -0700 (PDT) In-Reply-To: <87y4ugwmqk.fsf@skimble.plus.com> (Sharon Kimble's message of "Fri, 22 Aug 2014 16:46:43 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::232 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99498 Archived-At: Sharon Kimble (2014-08-22 19:46 +0400) wrote: > I'm trying to develop/write my own theme which is doing more or less > what I want, except for 'tabbar'. This is what I have - > '(tabbar-selected-highlight ((t (:background "black" :foreground "red" :height 85)))) > '(tabbar-selected-modified ((t (:background "black" :foreground "red" :weight bold :height 85)))) > '(tabbar-default ((t (:inherit variable-pitch :background "gray" :foreground "black" :weight bold :height 85)))) > '(tabbar-selected ((t (:inherit tabbar-default :background "black" :foreground "red" :weight bold :height 85)))) > '(tabbar-modified ((t (:background "black" :foreground "red" :weight bold :height 85))))) > > And what I'm looking for in the tab of the buffer that I'm in is a black > background with red text. But its not happening, instead what I'm > getting is red text on a light green background. > > [...] > > How can I achieve my goal please of red foreground on a black background > for every tab/buffer that is currently in use, i.e. I'm writing in that > buffer. Hello, Do you use tabbar from ? I see there: tabbar-default tabbar-unselected tabbar-selected tabbar-modified tabbar-highlight tabbar-separator tabbar-button tabbar-button-highlight but not `tabbar-selected-highlight' and `tabbar-selected-modified'. But you seem to ask only about `tabbar-selected'. I don't see problems with that part. I tried analagous code in my themes and it works. The only thought I have about that is: perhaps you have another line with "tabbar-selected" somewhere in your theme which overrides that one. If not, try your theme with "emacs -Q". -- Alex