all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: Sharon Kimble <boudiccas@skimble.plus.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: writing your own theme and tabbar
Date: Fri, 29 Aug 2014 08:39:14 +0400	[thread overview]
Message-ID: <87ppfjlxjh.fsf@gmail.com> (raw)
In-Reply-To: <87y4ugwmqk.fsf@skimble.plus.com> (Sharon Kimble's message of "Fri, 22 Aug 2014 16:46:43 +0100")

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 <https://github.com/dholm/tabbar>?  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



  reply	other threads:[~2014-08-29  4:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-22 15:46 writing your own theme and tabbar Sharon Kimble
2014-08-29  4:39 ` Alex Kost [this message]
2014-08-29 17:07   ` Sharon Kimble
     [not found] <mailman.7393.1408722425.1147.help-gnu-emacs@gnu.org>
2014-08-22 18:56 ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ppfjlxjh.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=boudiccas@skimble.plus.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.