top | item 10837833

Spacemacs 0.105.0 released

212 points| psibi | 10 years ago |github.com | reply

97 comments

order
[+] jcoffland|10 years ago|reply
I've been using emacs for about 20yrs as my main coding editor and vi regularly as a fast command line editor. Can some one explain in clear terms why I would want to learn a new set of key bindings? What are the advantages of spacemacs other than a better configuration system and nifty graphics? Both the Github page and website do a terrible job of explaining this, IMO. Maybe the answer is that it was not made for me.
[+] osener|10 years ago|reply
I've been using Emacs for the past decade and I switched to Spacemacs after declaring my second .emacs bankruptcy sometime last year after it got support for regular Emacs keybingings, (setq-default dotspacemacs-editing-style 'emacs).

First one was four years ago, my configuration was rendered completely useless after starting to use OS X and I didn't know where to start, so I forked https://github.com/purcell/emacs.d and rebuilt my config on top of it.

Second one was because every time I take a break from a language like Clojure and Haskell for three months and then get back to it my config for the relevant modes get obsolete. Spacemacs has a big community that continuously adapts language layers to the changes on upstream and provides the best experience for development behind a few flags like "(haskell-enable-ghc-mod-support t)".

After switching to spacemacs my configuration went from 2023 lines of code in the original config I forked + 1005 lines of my own to a .spacemacs.d/init.el file that's 243 lines long (without comments). It provides 90% of stuff I want out of box, and provides many more features I never discovered/configured and most importantly it takes the burden of maintaining stuff I only occasionally use from my hands.

If you are not happy with some stuff fundamental to Spacemacs such as Helm I don't recommend it but otherwise give it a try, it is really easy disable Evil integration if you are used to regular Emacs keybindings.

[+] KurtMueller|10 years ago|reply
I like spacemacs because pressing spacebar brings up the command palette and lets me preview all the various menus I can bring up via a keypress (e.g. w for window, p for projectile, h for helm, s for search, k for evil lisp, m for major mode, etc). I never have to bring my hands up from my keyboard to get anything done. That's awesome.

Spacemacs still leaves a lot to desire. But it's pretty damn close to be the perfect all-in-one text editor I've been looking for.

[+] sawwit|10 years ago|reply
I've been using Emacs for 1.5 years or so, then switched to VIM for a brief time period and I fell in love with the way it uses keybindings in a grammatical manner, using verbs, prepositions, subjects and objects. For example, the key sequence di" means "delete in parentheses", and similarly diw means "delete current word". It's also very intuitive to switch back and forth between a 'text insertion' (INSERT) and a 'command' (NORMAL) mode, because quite often you do multiple commands at once (e.g. cutting things here, pasting them there). It seems very natural to have completely changed keyboard bindings for a command mode (instead of relying on finger stretches for each command). I also very much prefer line-wise editing (e.g. in visual line mode) now, even though I thought I would never like it. Then I heard about Spacemacs, that it gives you some peer-reviewed configurations and VIM keybindings and I was immediately sold.
[+] pekk|10 years ago|reply
> I've been using emacs for about 20yrs as my main coding editor and vi regularly as a fast command line editor.

It was not made for you. If you want to change or automate something, you have the option of either getting Emacs or Vim to do that for you, but only whatever you need.

[+] thedz|10 years ago|reply
Do you prefer VI/VIM keybindings to Emacs keybindings?

That's what spacemacs is, in a nutshell. It attempts to marry the keybindings of vim with the technical advantages of emacs (better process handling, server/client setup, etc)

[+] pantulis|10 years ago|reply
Well, "having a better configuration system and nifty graphics" is no small feat. I've been using Emacs since '97, but lately it's been hard to keep up with the configuration of all modern Emacs extensions. Spacemacs solves this easily.
[+] jhbadger|10 years ago|reply
Basically that's exactly what it is -- a wrapper around the configuration system of emacs to make it more manageable, plus the vi keys option (the normal emacs keys are still there).
[+] ak1394|10 years ago|reply
I switched to spacemacs because its key bindings don't use ctrl key as much as normal emacs does.
[+] pyre|10 years ago|reply
> Can some one explain in clear terms why I would want to learn a new set of key bindings?

The whole point of Spacemacs is integrating things together around evil-mode in its only little package that's ready to go. If you don't have any interest in evil-mode, then I doubt that Spacemacs is for you.

[+] DannoHung|10 years ago|reply
I feel like it's more for vim users who need a gentle introduction to emacs (me) and really don't want to leave modal editing and more advanced vi features behind. It goes a lot further in emulating the day-to-day vi experience than literally anything I've ever tried before. But it's also a pretty nicely managed set of extra packages that are all smacked around to play nicely with each other.

If you've been using emacs for 20 years and already know how to do stuff and maybe even write your own modes, then it's proooobably not for you. (I mean, you coulda been using evil a long time ago).

[+] shadeless|10 years ago|reply
Also a great addition is the new Spacemacs website which went live today: http://spacemacs.org/
[+] JoshMnem|10 years ago|reply
I love Spacemacs, but the old site looked better. Why all the animation? It's like the Web is devolving back to how it was when it was covered in animated gifs, marquee, and blink elements. Animation doesn't catch my attention -- it makes me want to close the page.
[+] jacobmoe|10 years ago|reply
People like to say that emacs isn't an editor but a platform, or just a lisp interpreter that comes with text editing libraries. But is it? The emacs development team sees it as a text editor, I think. If it was just an interpreter, I can imagine many editors built on top of it, with spacemacs being just one. If it's an editor, than wouldn't you expect the good ideas from projects like spacemacs to make its way into the emacs core? I wonder if the emacs core team should go all in with the emacs-as-a-platform idea and focus on just the core features, letting projects like spacemacs to create an appealing editor.
[+] ambulancechaser|10 years ago|reply
well, that's kinda been the way emacs has been for a while now. They recently added a really easy package managing system which allows for emacs to look and behave drastically different from each other. About making its way into the core, the dev team won't really put anything into the core unless other things in the core require them.

Getting the dev email list to agree to a change of something that is easily added through packages or just init.el/emacs.d/ is difficult if not impossible. But this is a good thing: opinionated workflows are adaptable but not forced on seasoned veterans and newbies alike. Getting good packages into elpa or tasteful additions into core that augment emacs is always welcomed it seems.

Join the development list and just follow discussions. It's always fun to see really smart people talking about new code, extensions, opinions, and the new maintainer John seems to want to do a good job and produce some nice software. I've got it going to my gmail under a label and never filling my inbox so it gives a nice reading break every now and then at work.

[+] swhipple|10 years ago|reply
Emacs core requires FSF copyright assignment. Most of the configurations in Spacemacs use third party extensions which don't have the assignment.

But being non-core is not really a barrier to installation in my opinion. In many ways it is a plus, allowing for out-of-cycle releases and to experiment / break compatibility at their own pace.

[+] pyre|10 years ago|reply
It's already this way in a sense. There are many things that seem more "solid" to me in Vim because there is a default implementation that is baked into the editor. In Emacs, there are several different libraries and various language modes may interact with one or another of those libraries. Many of the various libraries are included in the default Emacs distribution. For example, (IIRC) there are 2 or 3 "folding" libraries that are in Emacs, while Vim just has folding baked in. Sometimes this makes Emacs seem less consistent to me than Vim does.
[+] desireco42|10 years ago|reply
That is excellent idea. I am learning now and using spacemacs and it makes total sense to have focus on core and allow other teams to be focused on ui and usability.
[+] jasonjackson|10 years ago|reply
I love Spacemacs, I'm a total convert I barely ever use vim now -- best of both worlds.
[+] robertcarter|10 years ago|reply
How long did it take you to convert? Did you relinquish vim key-bindings and cross to straight emacs? I still prefer out of habit vim keystrokes, but I'm having to relearn everything else (buffer navigation, searching, definition navigation etc)
[+] xutopia|10 years ago|reply
Which both worlds?
[+] fizixer|10 years ago|reply
Slightly off-topic. I'm looking for a tutorial/article/project to create a toy (or even feature-full) emacs-like text editor from the ground up.

Using two languages: C and scheme (preferably R7RS-small).

I have quite a few resources to create a vi/vim like editor from scratch (vis, some python projects, etc) but non in the scheme+C arena along emacs lines.

Emacs project itself is a bad example of studying the architecture of such an editor because of its humongous codebase (~250 kloc C, ~1.2 Mloc e-lisp) unless someone has done a good write-up about how to get familiar with architecture and extensibility infrastructure.

[+] Naomarik|10 years ago|reply
Been using this for a few months now and this configuration of emacs has made coding and note taking a pleasure.
[+] iLemming|10 years ago|reply
Spacemacs is awesome! Anyone who still using Vim should at least try it.
[+] ubercow|10 years ago|reply
1.2 What is the official pronunciation of Spacemacs?

As it is written, that is space then macs.

I was wrong this whole time. I always pronounced it like "space emacs" or "spacey-macs" if you will.

[+] michaelhoffman|10 years ago|reply
I pronounce it spuh-CHEE-max, like the pronunciation of Dr. Spaceman's name on 30 Rock.
[+] benjaminmikiten|10 years ago|reply
Let's take a page from 30 Rock's "Dr. Spaceman" and pronounce it "spah-chem-aks"

But really, I thought it was just "space-macs"

[+] jophde|10 years ago|reply
Easily the best editor going imo.
[+] pzone|10 years ago|reply
If it were just an editor I would agree, but the #1 killer app, org-mode, puts it in a different class of application.
[+] codygman|10 years ago|reply
For me Spacemacs is perfect:

7~ years using vim 4 years using emacs

enjoyed modal editing in vim, got very good with it enjoyed how easy it was to program/debug emacs tried setting up evil, wasn't up to the task of configuring it

With both Emacs and Vim I had trouble having to upgrade my configs too often, but that's not necessarily their fault.

It could just be a coincidence of timing, but Spacemacs gives me most of what I want by default and makes it easy for me to customize.

I will say that the Emacs graphic rendering bug which causes pathologically bad performance on long lines has been biting me a lot using Spacemacs to do Golang development.

[+] davidw|10 years ago|reply
A colleague is using it and I had a look, but it seems kind of weird because it doesn't seem like Emacs any more to the point where I couldn't easily do Emacs stuff with it.

I've been using regular old Emacs for about 20 years. For those more familiar with Spacemacs, how hard is it to accomplish some of what it does, or transition to a more normal Emacs setup once you get to like Emacs?

Edit - this is just out of curiosity. I hope to use Emacs for another 20 years at least :-)

[+] robto|10 years ago|reply
I've been using Emacs daily for about 2.5 years. This summer I decided to try Spacemacs. While I found the setup pretty smooth, I was unable to get certain behaviors to function like I was used to, so I ended up just going through the package lists and stealing liberarally from their config. The end result is an Emacs that's pretty and has a config I can understand. Plus I learned a lot about elisp.

The important things that simulated the Spacemacs feel for me were these packages: helm, hydra, and powerline. I haven't yet grokked modal editing, so I don't have any experience with vim/evil.

[+] pzone|10 years ago|reply
The biggest benefit of Spacemacs is not possible to replicate any other way: you can cd ~/.emacs.d/ and git pull and upgrade your whole configuration directory with new features and nifty additions and provided with org-mode. No more searching "how do I...?" on Emacs StackExchange, because it's very likely whatever feature you're looking for has already been set up for you.
[+] _ouxp|10 years ago|reply
I think you can now configure it to run in "holy mode". In both modes you can still type meta-x (also via `<space>:`).

I think if you had a very customized emacs setup, you'd have to put some effort organizing it into custom "layers", which is how spacemacs organizes its config and making sure you don't have big conflicts in mapped keys.

[+] syl20bnr|10 years ago|reply
Pressing `SPC (or M-m) t E e` will switch the editing style to Emacs (cursor becomes blue) and you should be at home :-) From there the Spacemacs key bindings are available behind `M-m`.
[+] gcao|10 years ago|reply
How well does Spacemacs work in a terminal (e.g. iTerm)? I've been using iTerm+Tmux+vim and don't want to give up iTerm+tmux just yet.
[+] piotrrojek|10 years ago|reply
I don't have any experience in neither Vim, nor Emacs. Should I try it? Looks awesome. Also - is there any way to add Go (golang) support?
[+] platz|10 years ago|reply
everyone talks about spacemacs=vim. this is nice, but what turned me off of spacemacs was the layers config abstractions. It breaks the normal configuration of emacs.

Just install evil mode and a few contrib packages.. that's spacemacs lite.

[+] rhaps0dy|10 years ago|reply
>Just install evil mode and a few contrib packages.. that's spacemacs lite.

Yes. However one of the most attractive features of spacemacs is... that somebody has selected the packages and installed them for you! You don't have to do anything!

[+] eruditely|10 years ago|reply
This is really cool, I've been using bbatsov's one and I'm going to try this. One thing I really suggest is installing the seethru plugin here's a screenshot, it makes emacs transparent.

http://imgur.com/DUCv2UK

I also use webstorm 11 as my emacs skill is insufficient to graduate to apprentice neckbeard. my apologies.

[+] StreakyCobra|10 years ago|reply
Come to the dark side of Emacs. We have cookies.
[+] shriphani|10 years ago|reply
I used spacemacs for a bit a few months ago but launch-times were really long. I use emacs as my default editor and I really hated the bootstrapping process when I fired up emacs to edit a config from the command line.

If someone has a simple fix to this problem I would gladly use it since they seemed to have the right ingredients for a top notch experience.

[+] human_error|10 years ago|reply
I tried it for couple of weeks but returned back to emacs. It has some cool features but I couldn't get used to its keybindings. I'm sure they're customizable but I wasn't motivated enough to do so.