spacemacs

Spacemacs docs: http://develop.spacemacs.org/doc/DOCUMENTATION.html http://develop.spacemacs.org/layers/+lang/clojure/README.html https://practicalli.github.io/spacemacs/
murtaza52 2020-06-25T15:46:16.483Z

the following blog - http://jr0cket.co.uk/2016/07/YASnippets-for-faster-clojure-development.html 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 ?

murtaza52 2020-06-29T05:22:50.000100Z

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

murtaza52 2020-06-25T16:19:34.484900Z

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 ?

practicalli-john 2020-06-25T16:37:52.485200Z

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.

practicalli-john 2020-06-25T16:38:50.485600Z

This is more up to date than the blog post

practicalli-john 2020-06-25T16:41:44.485800Z

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.

murtaza52 2020-06-25T16:44:21.487900Z

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.

practicalli-john 2020-06-25T16:45:23.488Z

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

practicalli-john 2020-06-25T16:54:48.488200Z

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

murtaza52 2020-06-25T16:54:50.488400Z

yes its on the develop branch , just checked it

murtaza52 2020-06-25T17:05:17.488600Z

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

murtaza52 2020-06-25T17:05:28.488800Z

the problem is only with this project ..

practicalli-john 2020-06-25T17:08:24.489Z

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

murtaza52 2020-06-25T17:11:17.489200Z

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

practicalli-john 2020-06-25T17:19:10.489400Z

I get the same as you, very strange

practicalli-john 2020-06-25T17:33:34.489600Z

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

murtaza52 2020-06-25T17:41:56.489800Z

thanks for trying it out