Fork me on GitHub
#spacemacs
<
2018-06-17
>
Drew Verlee16:06:14

I seem to have both a /.spacemacs.d/init.el file and a /.spacemacs file that contain the same thing. I’m trying to figure out why…

practicalli-johnny09:06:11

The Spacemacs installation will create the .spacemacs configuration file. It shouldnt have created the ~/.spacemacs.d/init.el file, however, that file is an alternative to the .spacemacs file. You should not need both. I believe that it checks for .spacemacs first. Unless you add other configurations in ~/.spacemacs.d/, like your own snippets or layers, then you can safely delete. I have a .spacemacs and a ~/.spacemacs.d/ directory, but not the ~/.spacemacs.d/init.el file. I just have my own snippets in that directory. Hope that helps.

Drew Verlee16:06:59

i guess it just looks in both

Drew Verlee16:06:20

Is anyone successfully using babel right now with spacemacs? I just get “evaluation of clojure code block is disabled”. I googled this error and immediately was hit with a like 4 year issue on github. Not comforting. Paging @mathpunk as he seemed to be in the thick of it…

mathpunk16:06:25

@drewverlee Nah, I decided that the trouble of keeping tangles straight during refactoring wasn't worth it. These days I create .repl files with lots of comments while I'm experimenting, then I extract reusable code to a .clj file and useful writing to a http://index.org or other prose file

mathpunk16:06:26

I use send-to-repl more or less constantly. I also tried developing a repl-to-test workflow with https://github.com/cognitect-labs/transcriptor and I think there's some nice possibility there

Drew Verlee16:06:45

> I extract reusable code to a .clj file and useful writing to a http://index.org or other prose file Do you have an example i could glance at?

Drew Verlee16:06:28

Thanks btw! i wanted to try out literate programming via babel but it doesn’t seem to be err well supported and i’m not sure the idea is universal enough to spend a lot of energy on 🙂

Drew Verlee17:06:02

installing new version of emacs on mac. Linkapps doesn’t seem to be available anymore so these instructions need some modification:

The recommended way of installing Emacs on macOS is using homebrew:

$ brew tap d12frosted/emacs-plus
$ brew install emacs-plus
$ brew linkapps emacs-plus
https://github.com/syl20bnr/spacemacs#macos

Drew Verlee17:06:12

ln -s /usr/local/opt/emacs-plus/Emacs.app /Applications