Aah, good idea. Perhaps that's it.
I use Emacs and nim-mode which does use nimsuggest.
Yes, you are right.
I took a look. In nimsuggest.el there is implemented a deletion of those directories. But for whatever reason it doesn't work properly.
@ManfredLotz Could you update nim-mode? recently I changed the place of temporary directory to /tmp/emacs-nim-mode/dirty-xxx and little bit improved process management for nimsuggest. (I hope)
I also recommend updating nimsuggest because I added this feature (you can see the configuration in flycheck-nim-async.el)
@yuutayamada
Thanks a lot for this. I updated nimsuggest to revision 6e17051424d29eb4bd35eea43e42433cf4ad8436, and nim-mode to the newest available.
Now, the stuff goes into /tmp/emacs-nim-mode, and when exiting emacs the directory will be deleted. So this looks good now.
Thanks again, Manfred