Fork me on GitHub

the following blog - mentions that the ns get added when a new file is created, this used to work for me some time back, but currently does not happen, any leads on what could be the issue ?


Yes, it is clj-refactor that automatically adds the namespace when creating a new file. There is an ns snippets, so if you type ns then expand it will populate with the current namespace. Both need the REPL running to work.


This is more up to date than the blog post


thanks that worked I did not know about M-/ for completions. I need to read up on the clj-refactor for spacemacs.


I installed spacemacs on a new machine, and I keep getting the below error -

Starting new Ispell process /usr/bin/aspell with default dictionary...
Error enabling Flyspell mode:
(Error: No word lists can be found for the language "en_US".)
How do I configure flyspell ?


Not sure if it's flyspell error or if the binary flyspell uses, e.g aspell. I would first check aspell or similar is installed and runs on the command line, then check the path of that command and that Emacs is using the path the spelling binary is on.


ok this really strange, I have a new clj project, and in that when I try to navigate the file Spc p f, it shows all files starting with ./src/.... basically add files and dirs are prepended with`./`, this is also causing the .gitignore rules to be ignored.


Did you change to the develop branch when installing Spacemacs? Just a thought.


Or maybe some packages didn't download properly. Try restarting Emacs and check the message buffer


yes its on the develop branch , just checked it


restarted, created the project again from a template, same problem.


the problem is only with this project ..


What command is used to create the project? I assume the template used contains a .gitignore file


clj -A:new dv.fulcro-template com.sevenolives/hisaab +all


I get the same as you, very strange


I tried setting it to a clojjure project with a .dir-locals.el file but id didnt make any difference. I dont have any other ideas. Maybe asking in the #emacs channel as to why projectile would add leading ./ to its output for a particular project


thanks for trying it out