Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mode-line-buffer-id-inactive face doesn't seem to work #155

Open
muirdm opened this issue May 4, 2018 · 1 comment
Open

mode-line-buffer-id-inactive face doesn't seem to work #155

muirdm opened this issue May 4, 2018 · 1 comment

Comments

@muirdm
Copy link

muirdm commented May 4, 2018

I'm trying to darken the buffer id when the window isn't active by setting mode-line-buffer-id-inactive, but it doesn't seem to have any effect. I tried on emacs 25 and 27.

To test, I started emacs -Q -L <path/to/powerline> version GNU Emacs 25.3.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1911)) of 2017-09-13 and ran something like this:

(require 'powerline)
(powerline-default-theme)
(set-face-attribute 'mode-line-buffer-id nil :foreground "blue")
(set-face-attribute 'mode-line-buffer-id-inactive nil :foreground "red")

And saw this (both buffer ids are blue):

screen shot 2018-05-04 at 16 56 02

Am I doing something wrong?

@c-alpha
Copy link
Contributor

c-alpha commented Mar 3, 2021

I think you should be using/customising the faces powerline-active0 and/or powerline-inactive0 instead.

(NOTE: It seems that mode-line-buffer-id-inactive could be a candidate for being marked as obsolete. But as I'm not the maintainer, that's my very personal point of view only. END NOTE)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants