Hi does anyone have up to date Spacemacs + Alchemist tutorial for noob? I spent over an hour today trying to make it work. I can’t find company-mode nowhere on ELPA or elswhere, is it deprecated? Spacemacs tries to add to my dotfile elixir everytime i open .ex file, and yet not even syntax is colorized I get error about perspectives not being found anywhere on elpa too. Also don’t know and didn’t find any thorough info how to set indentation level, there are just bits of info without concrete information like this: put this line
xxx to that file
xxx.xxx in this function (xxx)( HERE ) :(.
Same, I use solarized dark about everywhere, even as my github theme. ^.^
Would you mind sharing a gist of your .spacemacs file?
I keep meaning to port Elixify over…
Not at all, here it is. https://gist.github.com/sztosz/3b31e2aff9c45e2e204d2788dea3c20c I’d appricieate if you can look it over
I think i may have solved problem the hard way. I deleted .spacemacs and let it recreate on next startup.
I had a quick look. Do me a favor, give my config file a try and see if you like it.
You can also check the differences to see where I enabled alchemist and auto-completion.
Thank you I had to comment out font ligatures substitution, function from line 253 because it freezed on
SPC b b but other then that I have working Alchemist, and a base to start learning emacs Thank you very much
Awesome! Those font ligatures are awesome, might be worth investigating why it is freezing on
spc b b
condense things with tern, generate and setup your tern file, and have intelligent autocomplete for your favorite JS libs (mine are react, redux, rxjs).
It’s also set up for elm and go and rust and clojure and… I play around too much.
I hate JS, really, really hate it When people ask me to help with JS I tell them that I don’t understand it, and even I see an obvious bug I keep my mouth shut and play stupid, they stop bothering me with JS sooner or later. So I appreciate the offer, but I don’t think I need anything JS related to be honest
With the ligatures problem there is this issue https://github.com/syl20bnr/spacemacs/issues/6468 but it’s closed. I’m on mac sierra using emacs macport maybe that is the issue. Don’t have time now to investigate, but If I’ll find solution I’ll post it.
Oh, I had an issue with freezing too when I tried out emacs-plus as suggested on the installation guide. I solved it by brew uninstalling emacs-plus, brew installing emacs-mac. Sounds like you are on emacs-mac though, so dunno.
I didn’t know about Fira Code font, I should check it out, @terakilobyte why do you include
alchemist on the additional-packages, isn’t it included with the Elixir layer?
It might be now, dunno. My config file has changed very little over time. I’ve only changed it when I want something new or need to fix something, and currently “it ain’t broke”.
I wanted to try it out, but it doesn’t seem like it’s actually up on MELPA yet. Do you have an ETA on that? I see that as of writing there was apparently a build going on and they apparently take 4 hours. Do you think it’ll be in the next load on MELPA?
@gonz looks like it’s ready now.
Checking it out now. The obvious downside is that like a lot of dark themes with dark-but-not-black backgrounds it looks wonky in a terminal (odd blue background), but it looks really nice in the GUI version. I’m gonna use it as my main theme for the coming week and we’ll see how it goes. Thanks!
Hi all, I am just updating the wiki, can you please confirm the recommended set-up installation procedure please? Is it as follows:
- Install Emacs
- Install SpaceMacs
- Install Elixir Layer as per https://github.com/syl20bnr/spacemacs/tree/master/layers/%2Blang/elixir (includes Alchemist)
- Install Alchemist via https://github.com/tonini/alchemist.el#installation
What’s the best approach?
Use the first approach. the second one is for pure emacs and might be discovered as an orphan and deleted by Spacemacs.