From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: writing your own theme and tabbar Date: Fri, 22 Aug 2014 20:56:09 +0200 Organization: Aioe.org NNTP Server Message-ID: <87y4ugmjzq.fsf@debian.uxu> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1408734039 11672 80.91.229.3 (22 Aug 2014 19:00:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Aug 2014 19:00:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 22 21:00:34 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 1XKu4d-00073O-CY for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Aug 2014 21:00:31 +0200 Original-Received: from localhost ([::1]:38867 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKu4d-0007IP-19 for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Aug 2014 15:00:31 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 64 Original-NNTP-Posting-Host: P0uMB9BthHuWo8+BJXB4Mw.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:NMjCyk7AbvltFbVgrWg8BJos5mA= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:207077 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:99354 Archived-At: Sharon Kimble writes: > I'm trying to develop/write my own theme ... Before you do that, be sure you got the right face. 1. What is the name of the face you would like to change? 2. Change that face, either with custom-set-faces or `set-face-attribute'. Did that work? Here, you can find a method to do step one, and an example how custom-set-faces can be used: http://user.it.uu.se/~embe8573/conf/emacs-init/faces.el > 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. Have you confirmed you are setting the correct face? If so, can you confirm that you can set the face at all? Set it to some arbitrary color - did it change? > But, in buffers like *org-agenda-mode* or > *org-agenda* it is showing _exactly_ what I'm looking > for. Red text on a black background. If you have confirmed you are setting the correct face, and that it responds to a change, you can use describe-face in those modes that you mention to check out the faces that you like (first, find out what those faces are). Now set the face that you don't like to the same values. > Tabbar default is black text on a light-green > background, and this seems to be the code-source for > it as its the only place where 'green' is mentioned, > from "tabbar.el" That's too reverse a way of doing it. I prefer the method I describe (surprise). But If you do it your way, sure, change tabbar-modified and see if it changes what you want to change. But even if it does, it doesn't mean that's the face - the sought-after face can be inheriting from tabbar-modified and not setting that property itself. > How can I achieve my goal please of red foreground on > a black background for every tab/buffer that is > currently in use Find out what that face is, see if you can change it, find out what you want to change it to, change it. Good luck! -- underground experts united