Open shackra opened 6 years ago
Yeah, I'm aware of this but I'm not sure that there's any way I can fix it. If you propertize a string, it loses all its previous properties, and the colored segments (accent and evil) work by propertizing them.
(my personal solution is to put the segments where this sort of thing matters into a nil
supersegment, but I dunno if that'll work for you)
(It actually does, I did that as a workaround)
I've been debugging this for a while thinking this is fault of all-the-icons package, but by accident I found that
accent
face won't respect propertized strings, in the following screenshot you can see something like a cloud and at its right an exclamation mark, the icons are supposed to be the same --an exclamation mark inside a circle-- but on theaccent
"side" the character is not rendered propertly using the FontAwesome font, take a look:Since in the source code
accent
is composed of two faces that inherits from themode-line
face we should see improperly shown characters on the mode-line sans telephone-line-mode, right? wrong!:The check inside a circle, the exclamation mark inside a red-ish triangle and the Git inside a square are shown perfectly.
This is what
describe-face RET mode-line RET
shows for my Emacs configuration: