nim-lang / nim-mode

An emacs major mode for the Nim programming language
138 stars 46 forks source link

creation of nimsuggest.log in home directory #162

Open samdmarshall opened 7 years ago

samdmarshall commented 7 years ago

Information

ProductName:    Mac OS X
ProductVersion: 10.12.5
BuildVersion:   16F73

GNU Emacs 25.2.1 via brew

nim-mode 20170409.1737 via https://melpa.org/packages/

contents of ~/.config/nim.cfg:

--verbosity: "2"

Bug

So far I haven't had any issues with using nim-mode, however it does seem to create a nimsuggest.log file in my user home directory. I don't mind this log file being created if i was able to control where it was being written to. Is there any options around how this file is created and where it is placed?

krux02 commented 7 years ago

Interesting I did not know about nimsuggest.log. It had a size of 1839172114 bytes on my system. I just deleted it. Maybe that is the reason for some problems. I would like to turn it off if I can, because I don't need it.

I think the file is created by nimsuggest. So maybe if you look in the nim projet you can find something there. I found an option called --log to enable verbose logging, but that is the opposite of what I want to do. Nothing else yet.

yuutayamada commented 7 years ago

nim-mode doesn't explicitly specify the "--log" option, so I have no idea about the nimsuggest.log... maybe you could get meaningful answer at nimsuggest repository's issue tracker. (or maybe nimsuggest's bug?)

yuutayamada commented 7 years ago

https://github.com/nim-lang/Nim/issues/6199

samdmarshall commented 5 years ago

hi, it looks like the sister issue to this has been closed; has anyone tried the fix to see if it works? (i believe it would require using devel version of nim)