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

Colored rectangluar #16

Closed
kczapla opened this issue Mar 30, 2016 · 4 comments
Closed

Colored rectangluar #16

kczapla opened this issue Mar 30, 2016 · 4 comments

Comments

@kczapla
Copy link

kczapla commented Mar 30, 2016

Any airline theme I set, changes modeline to colored rectangle. Can u give more details how to setup it correctly?

@hackel
Copy link

hackel commented Sep 14, 2016

I'm experiencing this as well. Appears to be similar to #10. The odd thing is that I initially set everything up by cloning the packages into my ~/.emacs.d manually and it all worked fine. Then I switched to Melpa and started experiencing this blank line issue. I don't get any error messages or anything.

If I tate (load-theme 'airline-dark) out of my init.rc, powerline loads fine. If I then manually load a theme, it kind-of displays correctly. If I then run airline-themes-set-modeline it disappears again completely. Here's my init.rc:

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(custom-enabled-themes (quote (tango-dark)))
 '(custom-safe-themes
   (quote
    ("fbcdb6b7890d0ec1708fa21ab08eb0cc16a8b7611bb6517b722eba3891dfc9dd" default)))
 '(save-place t nil (saveplace))
 '(show-paren-mode t)
 '(tool-bar-mode nil))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )

(require 'package)
(add-to-list 'package-archives
             '("melpa" . "https://melpa.org/packages/"))
(when (< emacs-major-version 24)
  ;; For important compatibility libraries like cl-lib
  (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
(package-initialize) ;; You might already have this line

(require 'evil)
(evil-mode 1)

(require 'powerline)
(powerline-center-evil-theme)

(require 'airline-themes)
(load-theme 'airline-dark)

(setq airline-utf-glyph-branch              #xe0a0
      airline-utf-glyph-readonly            #xe0a2
      airline-utf-glyph-linenumber          #xe0a1)

Edit: Here are the versions I'm using (from ~/.emacs.d/elpa)
airline-themes-20160907.922
async-20160711.2235
dash-20160820.501
evil-20160827.1510
git-commit-20160821.1338
goto-chg-20131228.659
magit-20160907.945
magit-popup-20160821.1338
powerline-20160702.1931
undo-tree-0.6.5
with-editor-20160828.1025

@jacobHclarkson
Copy link

I have the same issues. The whole mode-line is just one rectangle of a single color.

@AnthonyDiGirolamo
Copy link
Owner

I just pushed some changes that may help. I think the problem was I using a function called reduce it's actually cl-reduce and I didn't include a (require 'cl-lib).

The new builds should be on melpa in a few hours. Try installing version 1.7 from melpa-stable and see if that works better.

@kczapla
Copy link
Author

kczapla commented Sep 27, 2016

It solved my issue. I will wait for the other guys response and then I will mark as solved :)

Thanks!

@kczapla kczapla closed this as completed Sep 30, 2016
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

4 participants