Closed mashu closed 6 years ago
I guess (setq moe-theme-mode-line-color 'orange)
and (moe-dark)
are the reason.
Try to remove the two lines, just use (load-theme 'moe-dark)
.
I try this
As suggested I removed those lines and use only what you state on your website. Theme looks good when in focus (except of white strip which I dont like) but when buffer is not active see attached picture rectangle around buffer name.
If you want to use (powerline-moe-theme)
, use (moe-dark)
.
If you don't want to use (powerline-mode-them)
, use (load-them 'moe-dark)
I also feel this is so annoying...
Thanks, however my problem is still present. (first inactive, second active buffer)
Here is config
(use-package powerline
:ensure t
;;:init (powerline-default-theme)
:config
;; (setq powerline-default-separator 'wave)
(use-package moe-theme
:ensure t
:config
;;(setq moe-theme-mode-line-color 'orange)
(moe-dark)
;;(load-theme 'moe-dark)
(powerline-moe-theme)
;; Highlight block with matching parens
(show-paren-mode t)
(setq show-paren-style 'expression)
)
)
Sorry, I cannot reproduce your issue on my system. (Both console & GUI Emacs. Emacs 25.1, latest moe-theme & powerline) with only two lines of settings:
(moe-dark)
(powerline-moe-theme)
BTW, There are a lot of implements of powerline, are you sure the powerline you're using is this one?
Hi, Looks like i have exactly the same version.
Steps to reproduce.
When I click inside Emacs on each buffer, it selects blue correctly and inactive is also correct. But when I lose focus on Emacs window and come back with Alt+Tab, previously active buffer is not highlighted correctly.
I made a short 57 sec screencast of the problem seen at the end of movie https://vimeo.com/189513267
Ugh! If the issue involve the WM/DE on your system...It seems beyond the range which I can handle.
Your screencast looks indeed very bizarre, it looks you're using GNOME3 + GUI version Emacs. I just tested on KDE5 & OS X + GUI Emacs, but both cannot reproduce the phenomenon you encountered.
I'm not sure this issue is due to Emacs itself or moe-theme... Because I still cannot reproduce what you've encountered, maybe you can try to take a look of the code of the related part and modifying by yourself until it solve the problem, L475~482 handle powerline faces. If really solved, feel free to share your patch. ;)
(BTW, your issue only occurs when Emacs losing its focus, I don't think that's a unacceptable problem. :sweat: . But about Helm... I also encountered. It may be unsolveable, or more precisely --- I have no patience and free time to see what Helm have done on mode-line for such a subtle flaw.)
I can confirm the issue.
I'm using emacs 24. M-x emacs-version
shows :
GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.21.5) of 2016-09-05 on trouble, modified by Debian
I'm on gnome 3 (version 3.22.1).
@kuanyui in your screenshot you have the same problem as me and @choma The scratch has grey right triangle which should be forest green color.
I disabled loading of helm completely, and problem persists, so it's not Helm fault I think. Then I disabled loading of every package except for powerline and moe-theme, same problem.
@choma I am also using Debian, would it be possible to try on Ubuntu by someone ?
This issue should not be related to distro, window manager instead, I guess.
@kuanyui in your screenshot you have the same problem as me and @choma The scratch has grey right triangle which should be forest green color.
You were misunderstood. At lease on KDE5 & OSX 10.11, I don't have any problem you've encountered, except for Helm.
I disabled loading of helm completely, and problem persists, so it's not Helm fault I think. Then I disabled loading of every package except for powerline and moe-theme, same problem.
Sorry, I don't have any idea.
Take a look:
I guess this is not a moe-theme issue, but a powerline one, see:
I think this should be closed.
Same issue, it's a powerline problem, close this issue...
Hi,
Attached screen shows that buffer name "emacs-init.org" has not consistent orange color when not in focus. The square around it looks ugly.
My config you can also see in the attached screenshot or here
Thanks for help!