2 ms·
Just before I saw this post on HN, I realized that the first editor I was presented to when I was being taught Java at university was emacs. Emacs felt slow, c
by josteink 14y ago
Just before I saw this post on HN, I realized that the first editor I was presented to when I was being taught Java at university was emacs.
Emacs felt slow, clunky, last-century and everything which could be light, nimble and cool Emacs made feel boring and hard. I did not get to like Emacs back then.
In fact I've gone years and years and years actually never fully liking emacs, beyond it being simpler to use than vim (which I still consider insane) while readily available on most shells. It was a safe haven, although a unpleasant one.
Recently though, I've dabbled in clojure. Eclipse is really not good for clojure development. Especially not so for learning how things works under the hood. So emacs is seemingly the lingo-franco in clojure circles, and I was forced to return to my old Java-related enemy. Or at least so I thought.
Out of the box, almost nothing is optimal for clojure development. So you have to add packages (emacs supports packages? nice!), you may have to tweak init.el to do so (emacs is configurable and programmable through its own lisp-dialect? nice!), oh and you may want to add some repos and map package-install over this collection of useful pacakages (no way!).
Once you're there and getting productive, you might encounter things you don't like. Google it and find ready-made lisp-code to import into your init.el, and your problem is solved.
I guess that's not really directly related to this article, but before heading to HN now, I had the realization that emacs, despite it being the horrible tool which Java made me hate, is actually pretty awesome.
You need the right perspective to fully appreciate something. This is crucial and something Java taught me this, although in the wrong way. And just as I realize this, then I see an article about Java and perspective.
I like cute litle coincidences like that :)
- chris_wot 14y agoHave you considered adding your configurations to a GitHub repo?
- josteink 14y agoI'd say it's not warranted and it's not needed. After meddling about for a bit, I did a reset and I did it using "emacs starter kit" by technomancy (of leiningen fame): https://github.com/technomancy/emacs-starter-kit https://github.com/technomancy/emacs-starter-kit On top of this I've added some tweaked versions of yank-indent and indent.el from the emacs-wiki: http://emacswiki.org/emacs/AutoIndentation http://emacswiki.org/emacs/AutoIndentation On top of that, I've just added whatever tweaks and hacks necessary to get screen & emacs behaving properly in a FreeBSD shell, since currently my best and most powerful internet-facing host is a FreeBSD machine. So as you can see, most of it is repo'd already :)