TheBB / spaceline

Powerline theme from Spacemacs
GNU General Public License v3.0
534 stars 60 forks source link

New face `mode-line-active` with variable pitch in emacs git/29.1 #230

Open real-or-random opened 2 years ago

real-or-random commented 2 years ago

With the current emacs 29.1 (unreleased), the font in the mode-line is not monospace anymore: image

This is due to a recent addition of a face mode-line-active which inherits from variable-pitch. I could describe the issue in more detail but the friends at doom have a great bug report: https://github.com/doomemacs/themes/issues/689

I reported this in spacemacs first (https://github.com/syl20bnr/spacemacs/issues/15206) but here is the better place. Maybe this should be fixed in (all?) themes. But I can imagine that some workaround in spaceline could be helpful because this will affect a lot of themes until they've all been fixed.

In doom, they recommend this workaround for the user: (set-face-attribute 'mode-line-active nil :inherit 'mode-line)