jtbm37 / all-the-icons-dired

Adds dired support to all-the-icons
GNU General Public License v3.0
197 stars 26 forks source link

forces emacs to freeze when inside a directory with uncommon file types #44

Open yilkalargaw opened 4 years ago

yilkalargaw commented 4 years ago

How to recreate the bug

git clone https://github.com/kanaka/mal.git

cd mal/impls/forth  && emacs . &
# or
cd mal/impls/dart && emacs . &

I chose this repo because it specifically has many files in many formats. Even after rendering the icons navigation becomes very slow. I was wondering if the rendering process is restarting after every command and if there might be a better way to handle the issue with time outs or async.

conao3 commented 4 years ago

Thanks, I see the direcotry like below. But I cannot feel any performance issue in the directory. However, that "icon" doesn't help to recognize the file type, so if the Emacs can't display it, we might want to show another icon.

Screenshot_2020-08-15_20-11-59

yilkalargaw commented 4 years ago

Try the forth or other uncommon directories. The issue I face is that emacs hangs if all-the-icons-dired can't detect file type of most of the files. I might attach a gif.

conao3 commented 4 years ago

Same thing in forth directory. I can't see "meaningful" icons but there're no performance issues.

Screenshot_2020-08-19_14-07-41