rougier / nano-modeline

GNU Emacs / N Λ N O Modeline
GNU General Public License v3.0
176 stars 31 forks source link

Weird CJK character in modeline #78

Open meritamen opened 1 month ago

meritamen commented 1 month ago

macOS 10.15.7 GNU Emacs 29.4 (build 1, x86_64-apple-darwin19.6.0, NS appkit-1894.70 Version 10.15.7 (Build 19H2026)) of 2024-09-18

Screen Shot 2024-09-29 at 4 39 34 PM

Hello, I appreciate this modeline, however It seems that my os doesn't support displaying this character?

juniorxxue commented 1 month ago
Screenshot 2024-10-12 at 2 17 18 PM

same issue here.

juniorxxue commented 1 month ago

I tried with simpler branch and this problem disappeared

jonathanmfung commented 3 weeks ago

That's some private-use Unicode codepoint, which for some reason Emacs renders as this CJK character. For my config, I just made my own modeline format and supplied (nano-modeline-git-info ""), where the arg is prefixed to the git branch name.

See https://github.com/rougier/nano-modeline/blob/04676d57a1e602123a593836745a744d1b2028fb/nano-modeline.el#L618C53-L618C57