Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"set-buffer-file-coding-system" to "utf-8-auto-unix" leads to "?" in the modeline #79

Open
liar666 opened this issue Jul 28, 2021 · 0 comments
Assignees

Comments

@liar666
Copy link

liar666 commented Jul 28, 2021

Hi,

Thanks for the mode, it make Emacs a lot more user-friendly.

When I open a file, which is in "utf-8-auto-dos" (resp. "utf-8-auto-mac") I get a pretty Windows (resp. MacOS) icon in the mode-line. But when I open a file in "utf-8-auto-unix" encoding, I get a "?" in the mode-line...

This is quite strange (and a bit surprising for a software like Emacs, that is born in the Unix world!)

Even if I take any file in any encoding and change it (either by clicking the modeline icon or using set-buffer-file-coding-system and selecting "utf-8-auto-unix"), I still get "?" in the modeline...

See attached picture:
modeline

FYI, I use:
mode-icons 20200920.2031 dependency from MELPA

Also I have some fonts installed as recommended:

fonts-font-awesome/focal,focal,now 5.0.10+really4.7.0~dfsg-1 all [installed]
fonts-octicons/focal,focal,bionic,bionic,now 4.4.0-2 all [installed]
texlive-fonts-extra/focal,focal,now 2019.202000218-1 all [installed,automatic]

(last one is what I get with apt search mfizz)

Also, I've verified in /home/user/.emacs.d/elpa/mode-icons-20200920.2031/icons, I have file FontAwesome-f17c.xpm which is the Linux icon.

@ryuslash ryuslash self-assigned this Jul 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants