0

I am trying to configure emacs powerline, after trying multiple times, i still can't get it working correctly as shown in the figure below.

enter image description here

It seems to me that some font is missing in my system, but i don't know which one. I am using Mac El Capitan, the emacs version is 24.5.1.

Shumin Guo
  • 184
  • 1
  • 3
  • 11
  • 1
    Can you evaluate `(image-type-available-p 'xpm)` ? It is most likely your emacs build is missing `xpm` image support. – Yuri Steinschreiber Aug 06 '16 at 05:09
  • Try patch font see if it helps – Enze Chi Aug 06 '16 at 10:10
  • Can you try to evaluate ``powerline-default-separator`` value ? – Mandar Vaze Sep 22 '16 at 12:18
  • Questions about *using* programs such as Emacs are off-topic for Stack Overflow unless they are specific to programming modes; you may be able to get help on [emacs.se] or [su]. If your question is about programming Emacs, then please [edit] to include a [mcve] of the Lisp or C code you're having trouble with. – Toby Speight Dec 20 '17 at 18:24

2 Answers2

2

try use following command

# clone
git clone https://github.com/powerline/fonts.git
# install
cd fonts
./install.sh
# clean-up a bit
cd ..
rm -rf fonts

You may need to manually select your favorite powerline font

picture -> select your favorite powerline font

0

You may be missing these settings:

(setq powerline-arrow-shape 'curve)
(setq powerline-default-separator-dir '(right . left))
 '(right . left))
Toby Speight
  • 27,591
  • 48
  • 66
  • 103