1

I am pretty new to emacs. does anyone how to turn off special character, such as 渘 ? I tried to search online but no luck.

  • emacs 28 enter image description here
Drew
  • 77,472
  • 10
  • 114
  • 243
eric123
  • 11
  • 2
  • 2
    It’s hard to tell what we’re looking at from such a minimal screenshot, but is that your modeline? If so, you have definitely customized it (or used someone else’s customizations), so the answer is to examine those customizations and understand what they do. – db48x Aug 16 '22 at 23:27
  • I'd hazard a guess that the custom mode line is intending to display a particular icon, but that the font uses that codepoint for the "special character" shown in the screenshot rather than the icon that was intended. So changing fonts might also have the desired effect. (If changing fonts is an option -- if not, you'll have to change it in the mode line customisations.) – phils Aug 17 '22 at 01:19
  • thanks for the replay. and yes. i do use the someone else init.el (https://github.com/MatthewZMD/.emacs.d). But, unable to find the root cause. – eric123 Aug 17 '22 at 02:07
  • 1
    If you don't use that init.el file, do you see a problem? If not, you can bisect that file to zero in on what is causing it. IMO, it's always a bad idea to try somebody else's initialization wholesale. You are much better off starting with nothing and then adding in what you want one thing at a time. – NickD Aug 17 '22 at 02:23
  • This is purely guessing, but I'd suggest you start with https://github.com/MatthewZMD/.emacs.d#doom-modeline and disabling those "icon" options. – phils Aug 17 '22 at 03:05
  • 1
    As @Phil say - (setq doom-modeline-icon nil) if your config is for emacs or (setq doom-modeline-modal-icon nil) if you use evil. – Ian Aug 17 '22 at 07:53
  • 1
    thank you all! will try them out. – eric123 Aug 17 '22 at 22:30
  • Try running both M-x all-the-icons-install-fonts and M-x nerd-icons-install-fonts. – Muir Sep 06 '23 at 16:17

0 Answers0