Fork me on GitHub
#emacs
<
2019-03-28
>
martinklepsch14:03:13

hi all šŸ™‚

martinklepsch14:03:05

I'm playing around with Spacemacs and having some issues, so few questions: - Do you run on master or develop? - Does anyone use just spacemacs-base? On master it includes some project switching/file finding stuff but in develop it seems more minimal? - Do you symlink your ~/.spacemacs file from another location? I've ran into problems with that I think so just wondering if that's something people do

didibus15:03:30

I highly recommend running in develop

didibus15:03:50

Master is really old, and has more issues in my experience

didibus15:03:11

I don't symlink

didibus15:03:20

And I never used spacemacs-base

martinklepsch15:03:13

Thanks, that's helpful to know šŸ™Œ

mccraigmccraig16:03:19

i recently switched to develop - i've had no issues

theeternalpulse17:03:12

I run develop, very few issues major issues that aren't noted or talked about on #spacemacs

ag18:03:19

a) use develop it is ironically more stable. most of the time when things break, they break because of upstream issues - package author (who doesnā€™t use Spacemacs) would update something, that breaks it. Spacemacs devs are usually quick to patch it up so it works with the updated version Currently Spacemacs maintainers are trying to release next version, so more stable and polished update is coming to master soon. But right now Iā€™d suggest develop b) If you have never used Spacemacs before, I would recommend using default distro first, not base c) Spacemacs allows to have its config file in different locations (if thatā€™s why you are trying to symlink) https://emacs.stackexchange.com/questions/20342/how-do-i-specify-a-different-folder-for-spacemacs-file

šŸ‘ 4
martinklepsch18:03:41

@U0G75ARHC (et al) thanks for all the notes, I'll give it another try again later today

ag18:03:19

no problem. please feel free to ask questions thereā€™s #spacemacs here, thereā€™s also spacemacs gitter channel (which gets really crowded at times)

ag18:03:15

I also post Spacemacs and Emacs tips here https://twitter.com/ilemming people find them useful

ā¤ļø 4
practicalli-johnny21:03:40

Although there will be a new release soon, all the bug fixes are available on develop much sooner. I've used develop for the last two years. I tried spacemacs-base on develop recently and its just too minimal. It was enlightening to see how many features of the full distribution I am using. I have a .spacemacs.d directory in the root of my home directory for additional files (snippets, layouts, etc)

practicalli-johnny21:03:49

I also have free book on how I use Spacemacs with Clojure, its work in progress, but has some useful configurations https://practicalli.github.io/spacemacs/

didibus17:03:05

Also, personally, I prefer to use Spacemacs in Holy mode and with Ivy instead of Helm. Ivy is much more responsive for me. And I found that Holy mode allows you to learn more about Emacs more so then Evil. Unless your appeal is VIM bindings. Spacemacs is also an awesome Holy Emacs config, which adds quite a lot of value.

didibus17:03:14

@U05254DQM Also great job on that guide! I shared it with my team

martinklepsch20:03:33

@U0K064KQV thanks, I picked ivy the first time but it seems like that choice was removed the in develop?

practicalli-johnny20:03:33

@U050TNB9F add ivy as a layer entry in dotspacemacs-configuration-layers section of your .spacemacs and ivy will replace helm as the default completion framework. There are some variables you can configure on the Ivy layer in this readme http://develop.spacemacs.org/layers/+completion/ivy/README.html

martinklepsch07:03:11

Thanks for all the tips, I think I might have arrived at something that works for me! šŸ™‚

martinklepsch07:03:18

The discoverability with SPC is really nice

mccraigmccraig09:03:53

i ended up with holy-mode and alt-SPC for the menu

ag19:03:26

@U0524B4UW not the wisest choice since M-SPC is important binding that reveals some nice transients, e.g. it works in any Helm buffer (I think Ivy has the similar thing), in Org-agenda it opens enormously helpful one.

didibus19:03:11

@U0G75ARHC Those can also be opened with S M Spc

didibus19:03:56

So I think it's actually a pretty good choice. Even though I personally stick to the default M m binding and just got used to it.

ag19:03:44

ah, okay then. Iā€™m trying to think other places where M-SPC|`S-M-SPC` works in Spacemacs

didibus19:03:39

I think because Gnome default to using M SPC, most of Emacs and Spacemacs bindings have avoided using that binding. And I'm pretty sure that's why Spacemacs also binds S M SPC for things that use M SPC

ag19:03:43

but do you know any other things besides org-agenda and helm/ivy buffers where that binding is used?

didibus20:03:01

Nope, those were the only two and I learned it from your Twitter šŸ˜‹šŸ‘

didibus20:03:37

I'm guessing maybe when the ? is needed to be typed. Then the transient states goes to M Spc ?

didibus20:03:01

Most other layers have ? bound to the transient state

didibus20:03:26

It's weird though, because I've seen ? used a lot more

didibus20:03:34

Or . as well

mathpunk15:04:08

I symlink --- I keep my dotfiles in one system directory and symlink them to where they need to be. It is not perfect, because I'm sometimes unclear on what wants to be symlinked in $HOME vs in $HOME/.config or whatever

mathpunk15:04:55

i haven't had any problems, once I twiddled my .spacemacs (rather, my spacemacs.symlink) to get version control to follow symlinks

dpsutton14:03:19

there's also a #spacemacs channel if no responses here

šŸ‘ 4
orestis15:03:39

I gave up on spacemacs due to frequent breakage

ag18:03:56

Most of the time when things break, they break due to upstream issues - someone (who unaware of Spacemacs) updates their package, the contract gets broken. Or, spacemacs maintainers update the way how it works with a third-party package (because it was updated), that requires package to be updated on your machine, but you have no clue. You canā€™t simply have over 300 packages with bunch of strings attached to them and hope that theyā€™d ā€œplay nicely with each otherā€. One thing I learned early on - you need to be able to triage whatā€™s breaking and decide if you need that thing, if not - then simply remove it from your system. If you need it - then find a workaround and create an issue, most of the time thereā€™s already an issue on github and someone would post a workaround. In my experience (Iā€™ve been using Spacemacs for a few years now) it let me down only handful of times and it took me no longer than 10-20 minutes to figure out a workaround

šŸ‘ 4
runswithd6s15:03:39

I use spacemacs in holy mode at work and my own .emacs.d/init.el at home. I enjoy the consistency and discover-ability of the keymapping in spacemacs, but find that I disagree with some of the layer choices they've made. Additionally, hiding the configuration behind layers and the hoops I need to jump through for customizing my environment drove me to rolling my own config. Generally, I track the current tagged versions of spacemacs rather than following develop.

ag18:03:04

> I disagree with some of the layer choices theyā€™ve made then roll your own layers. It is not as hard as it looks. You can even make layers based on ā€œofficialā€ layers. e.g. : https://github.com/agzam/dot-spacemacs/tree/master/layers/ag-clojure

runswithd6s18:03:19

always a possibility

runswithd6s15:03:25

Plus, there's value in knowing each of the components you've added to your emacs setup. Certainly, spacemacs pioneered packaging a consistent, curated experience for users, and I encourage it for first-time users of Emacs, especially those coming from Vi.

martinklepsch15:03:59

I've been running with my own emacs config for a while and it's alright but also I don't understand a lot of it and wanted to try something I could maybe use myself and/or recommend to friends who are considering emacs for some stuff

theeternalpulse17:03:03

I think spacemacs is great. Though it can keep you in the dark as to how emacs works. I have my own config I use at home and hope to migrate it to work once I have the javascript/reacy portion down fully. I use spacemacs at work but slowly note what I need from it and bring it to my config

ag18:03:21

> Though it can keep you in the dark as to how emacs works YMMV. I have had used Emacs for two years having numerous attempts to build my own config (I am die-hard Vimmer). Then Iā€™ve discovered Spacemacs. In a few months using Spacemacs I learned more about Emacs than I did before. Spacemacs implements some nice ideas, IMO every self-respected emacsen should at least try it.

ag18:03:46

The big hurdle in learning Emacs is discoverability - you just need to know whatā€™s available there. Once you learn you can do something using a package X, you can then learn more about it and improve your workflow. But if you donā€™t know thatā€™s even possible you simply unaware thereā€™s more efficient way of doing something. Spacemacs makes it easy to find things and ways around Emacs

bozhidar19:03:55

Well, you can achieve the same with a curated list of the top 50-something packages in Emacs as well. šŸ™‚

ag19:03:16

But it is hard to develop an educated opinion if you are a newbie and you have to start with ingredients. But if someone hands you a recipe book that may make things easier. And who knows, maybe youā€™d like some of those recipes in that book, even though it is hard to imagine anyone would like all of them