Closed mattfidler closed 8 years ago
will check once i get home!
I can see the markdown symbol in the messages buffer, but not the mode-line. I know you had got the mode-line to work, so I'm thinking it may be a windows issue.
Perhaps also relevant?: http://fizzed.com/oss/font-mfizz
I agree and font awesome as well. However, I can't get it to work in windows...
This is what I get:
It shows that outside of the mode-line, the font is displayed properly. Otherwise, the font is not displayed.
However @rhoit shows that he got the markdown symbol to work in his screen-shot:
I can't figure out what I'm missing from his code.
@mattfidler: what is the value of mode-name
in a markdown buffer, when you use describe-variable
on it? It looks like it's using the wrong font and can't find the proper glyph in your mode-line.
The value is correct. The message is correct (when evaluating in markdown-mode), but I cannot see in the mode-line.
I think I have to modify mode-line-modes
to get this to work...
I modified mode-line-modes
and it didn't work. I'm assuming its a windows issue, but I would like someone to check to see if it works for them.
It doesn't work with cygwin-w32 either.
kinda working in mine but background is incorrect.
I think the latest will show it correctly for you @rhoit. I think it is a windows issue.
error in after new changes.
Error during redisplay: (eval (tabbar-line)) signaled (error "Invalid image type ‘octicons’") [6 times]
P.S. I'm not sure it the error cause, I'm suspecting tabbar-ruler dependencies, will check it details later.
I think that was fixed in the latest push in tabbar-ruler.
I also think that not displaying is currently a windows-32 issue. If I run it in cygwin, it displays properly
I filed a bug report
Excellent. If it works in linux we could already add it, with proper notes in the readme.
It could also sort of work in windows, if the bug report response is correct.
I got it to work by registering the character.
However, only one character can be registered across all fonts. Therefore, if two modes have the same unicode code, mode-icons cannot display both fonts, just the prefered.
Works perfectly now
Ignore the background its most probably due to my is due to my money-patched-theme, and dim-inactive-buffer-mode
, will look at it this weekend.
I have updated it to work with windows. However, the icons from font don't seem to be clickable.
Cool!
What do you mean they're not clickable? In the mode-line? As far as I know we haven't added any click actions to it.
Click actions should be there. All the images (like yasnippet) bring up the major/minor mode menus. Outside of mode-icons, the text brings up the major/minor mode menus.
I fixed it so the text should now popup major/minor mode menus.
I think that you could use fonts, when they are available.
Markdown may be an example. However, I cannot get the display correct in my Emacs. @rhoit can you check if the branch works for you...
https://github.com/mattfidler/mode-icons/tree/fonts