milkypostman / powerline

emacs powerline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blank powerline while opening a javascript source file (js2-mode)

jilen opened this issue · comments

commented

screenshot from 2015-09-04 14-34-40

Undeclared variable or function 'define'
Error during redisplay: (eval (let* ((active (powerline-selected-window-active)) (separator-left (intern (format "powerline-%s-%s" (powerline-current-separator) (car powerline-default-separator-dir)))) (separator-right (intern (format "powerline-%s-%s" (powerline-current-separator) (cdr powerline-default-separator-dir)))) (mode-line-face (if active (quote mode-line) (quote mode-line-inactive))) (visual-block (if (featurep (quote evil)) (and (evil-visual-state-p) (eq evil-visual-selection (quote block))) nil)) (visual-line (if (featurep (quote evil)) (and (evil-visual-state-p) (eq evil-visual-selection (quote line))) nil)) (current-evil-state-string (if (featurep (quote evil)) (upcase (concat (symbol-name evil-state) (cond (visual-block "-BLOCK") (visual-line "-LINE")))) nil)) (outer-face (if (powerline-selected-window-active) (if (featurep (quote evil)) (cond ((eq evil-state (intern "normal")) (quote airline-normal-outer)) ((eq evil-state (intern "insert")) (quote airline-insert-outer)) ((eq evil-state (intern "visual")) (quote airline-visual-outer)) ((eq evil-state (intern "replace")) (quote airline-replace-outer)) ((eq evil-state (intern "emacs")) (quote airline-emacs-outer)) (t (quote airline-normal-outer))) (quote airline-normal-outer)) (quote powerline-inactive1))) (inner-face (if (powerline-selected-window-active) (if (featurep (quote evil)) (cond ((eq evil-state (intern "normal")) (quote airline-normal-inner)) ((eq evil-state (intern "insert")) (quote airline-insert-inner)) ((eq evil-state (intern "visual")) (quote airline-visual-inner)) (t (quote airline-normal-inner))) (quote airline-normal-inner)) (quote powerline-inactive2))) (center-face (if (powerline-selected-window-active) (if (featurep (quote evil)) (cond ((eq evil-state (intern "normal")) (quote airline-normal-center)) ((eq evil-state (intern "insert")) (quote airline-insert-center)) ((eq evil-state (intern "visual")) (quote airline-visual-center)) (t (quote airline-normal-center))) (quote airline-normal-center)) (quote powerline-inactive2))) (lhs-mode (if (featurep (quote evil)) (list (powerline-raw (concat " " current-evil-state-string " ") outer-face) (funcall separator-left outer-face inner-face) (powerline-raw "%" inner-face (quote l))) (list (powerline-raw "%" outer-face (quote l)) (powerline-raw " " outer-face) (funcall separator-left outer-face inner-face)))) (lhs-rest (list (powerline-vc inner-face) (powerline-raw " " inner-face) (funcall separator-left inner-face center-face) (when (eq airline-display-directory (quote airline-directory-shortened)) (powerline-raw (shorten-directory default-directory 50) center-face (quote l))) (when (eq airline-display-directory (quote airline-directory-full)) (powerline-raw default-directory center-face (quote l))) (when (eq airline-display-directory nil) (powerline-raw " " center-face)) (powerline-raw "%b" center-face) (when (and (boundp (quote which-func-mode)) which-func-mode) (powerline-raw which-func-format center-face (quote l))) (when (boundp (quote erc-modified-channels-object)) (powerline-raw erc-modified-channels-object center-face (quote l))))) (lhs (append lhs-mode lhs-rest)) (rhs (list (powerline-raw global-mode-string center-face (quote r)) (powerline-minor-modes center-face (quote l)) (powerline-raw (char-to-string airline-utf-glyph-subseparator-right) center-face (quote l)) (powerline-major-mode center-face (quote l)) (powerline-process center-face) (powerline-raw " " center-face) (funcall separator-right center-face inner-face) (when powerline-display-buffer-size (powerline-buffer-size inner-face (quote l))) (when powerline-display-mule-info (powerline-raw mode-line-mule-info inner-face (quote l))) (powerline-raw " " inner-face) (funcall separator-right inner-face outer-face) (unless window-system (powerline-raw (char-to-string airline-utf-glyph-linenumber) outer-face (quote l))) (powerline-raw "%4l" outer-face (quote l)) (powerline-raw ":" outer-face (quote l)) (powerline-raw "%3c" outer-face (quote r)) (powerline-raw "%6p" outer-face (quote r)) (when powerline-display-hud (powerline-hud inner-face outer-face))))) (concat (powerline-render lhs) (powerline-fill center-face (powerline-width rhs)) (powerline-render rhs)))) signaled (args-out-of-range "" 0 1)