A utility package to collect various Icon Fonts and propertize them within Emacs.
MIT License
1.48k
stars
177
forks
source link
Every inserted icon from `all-the-icons` turns into unidentifiable character On restart everytime and When inserted inside emacs-lisp block showing window unable to decode "problematic characters in the buffer". #380
Everytime even if I just insert icon into config.org outside the emacs-lisp block, shows icons properly until the emacs is restarted.
When the all-the-icons inserted inside the emacs-lisp throws error: "problematic characters in the buffer".
Illustration: Both are same icons one inserted just now and one After the restart.
:Pic showing before and after restart.
:Pic showing the error message when the all-the-icons character is inserted into babled emacs-lisp block:
:Pic showing all the icons are visible inside
problematic characters in the buffer ‘ *temp file*’:
iso-latin-1-dos 135977 #xE9AB
problematic characters in the buffer ‘ *temp file*’: ?
In bottom prompt giving option: Select coding system (default utf-8):
My doubt is Windows N version causing some problems. Though i installed the Symbola fonts as mentioned in previous issue to work with Centaurtabs.el
Tried installing for the user and for all the users issue is the same.
System Details:
Operating System: Windows 10N (N version Which opts out most of the propriatary tools like media players,Skype and some propriatary and spying tools etc.
Emacs Version: GNU Emacs 29.1 (build 2, x86_64-w64-mingw32) of 2023-07-31
Package Manager: Elpaca
Setup through config.el
all-the-icons.el install block:
(use-package all-the-icons
:if (display-graphic-p)
:init 'all-the-icons ;; added just for trial still no effect.
;; Alternately tried init: (require 'all-the-icons) still no change.
:ensure t
:config
;; (setq inhibit-compacting-font-caches t)
)
(use-package all-the-icons-dired
:hook (dired-mode . (lambda () (all-the-icons-dired-mode t)))
)
Theres an error now on installing all-the-icons-nerd-fonts-family.ttf
Installed and initiated nerd-icons inside emacs and in system using hack and only symbols nerd fonts.
Theres one finding with nerd-icons the items inserted through it stays even after the restart but sadly shows the error of unable to decode and set coding language to utf-8 (Default)
Installed Symbola fonts after that I started seeing the next and previous, as mentioned in other all-the-icons issue/question.
Tried changing default coding language inside config.org (still the problematic characters issue persists)
I understand the problem is complex maybe my system or bad config is causing but am really clueless at this point.
I also know you dont prefer using non-free operating systems like Windows.
Am Good to share my whole config file.
Followed everything in handbook still having this issue.
Any insight or input will be much appreciated.
Warm Regards.
Everytime even if I just insert icon into config.org outside the emacs-lisp block, shows icons properly until the emacs is restarted. When the all-the-icons inserted inside the
emacs-lisp
throws error: "problematic characters in the buffer".Illustration: Both are same icons one inserted just now and one After the restart. :Pic showing before and after restart.
:Pic showing the error message when the all-the-icons character is inserted into babled emacs-lisp block:
:Pic showing all the icons are visible inside
In bottom prompt giving option: Select coding system (default utf-8):
My doubt is Windows N version causing some problems. Though i installed the Symbola fonts as mentioned in previous issue to work with Centaurtabs.el Tried installing for the user and for all the users issue is the same.
System Details:
Operating System: Windows 10N (N version Which opts out most of the propriatary tools like media players,Skype and some propriatary and spying tools etc. Emacs Version: GNU Emacs 29.1 (build 2, x86_64-w64-mingw32) of 2023-07-31 Package Manager: Elpaca Setup through config.el all-the-icons.el install block:
Emacs installed through: Chocolatey package manager.
Am very new to Emacs i built this config from scratch so emacs at core no other distribution.
Setup and Troubleshooting Steps already taken:
all-the-icons-install-fonts
enteredt the output path to desktop installed the provided fonts which are;Theres an error now on installing
all-the-icons-nerd-fonts-family.ttf
Installed and initiated
nerd-icons
inside emacs and in system using hack and only symbols nerd fonts. Theres one finding with nerd-icons the items inserted through it stays even after the restart but sadly shows the error of unable to decode and set coding language to utf-8 (Default)Installed Symbola fonts after that I started seeing the next and previous, as mentioned in other all-the-icons issue/question.
Tried changing default coding language inside config.org (still the problematic characters issue persists)
;; Tried changing everything to utf-8 / utf-8-dos / utf-8-unix / utf-16-le / Windows-1252
IsSingleByte : True BodyName : iso-8859-1 EncodingName : Western European (Windows) HeaderName : Windows-1252 WebName : Windows-1252 WindowsCodePage : 1252 IsBrowserDisplay : True IsBrowserSave : True IsMailNewsDisplay : True IsMailNewsSave : True EncoderFallback : System.Text.InternalEncoderBestFitFallback DecoderFallback : System.Text.InternalDecoderBestFitFallback IsReadOnly : True CodePage : 1252