gergelypolonkai-web-jekyll/_posts/2016-11-03-how-i-started-with-emacs.md

4.0 KiB
Raw Blame History

layout title date tags published authon
post How I started with Emacs 2016-11-03 09:58:41
emacs
true
name email
Gergely Polonkai gergely@polonkai.eu

Sacha Chua has a nice Emacs chat intro article back from 2013. I write this post half because she asks there about my (OK, anyones) first Emacs moments, and half because I plan to do it for months now.

I wanted to start using Emacs 6(ish) years ago, and I was like “C-x what”? (Note that back around 1998, I was among the people who exited vi by killing it from another terminal after a bunch of tries & fails like these.)

I tried to come back to Emacs a lot of times. And I mean a lot, about every two months. I suddenly learned what these cryptic key chord descriptions mean (C is for Control and M is for Meta, which is actually Alt), but somehow it didnt click. I remained a ViM power user with a huge pile of 3rd party plugins. Then [I found Nyan-macs]({% post_url 2014-09-17-nyanmacs %}), which converted me to Emacs, and it is final now. Many of my friends thought Im just kidding this being the cause, but Im not. Im a huge fan of Nyan cat (did you know there is even a site called nyan.cat?) and since then I have it in my mode line:

![Nyan modeline]({% link images/nyan-modeline.png %})

…in my eshell prompt:

![eshell prompt with a Nyan cat]({% link images/nyan-eshell.png %})

…and I also zone out with Nyan cat:

![a text-based animation with Nyan cat]({% link images/nyan-zone.png %})

Now on to more serious stuff. After browsing through all the packages provided by ELPA, I found tons of useful (and sometimes, less useful) packages, like Helm, company, gtags (which introduced me to GNU Global, removing Exuberant ctags from my life), magit, Projectile, and Org (OK, its actually part of Emacs for a while, but still). I still use these few, but in a month or two, I started to version control my .emacs.d directory, so I can easily transfer it between my home and work machine (and for a few weeks now, even to my phone: Im using Termux on Android). Then, over these two years I wrote some packages like GobGen, and a small addon for Calendar providing Hungarian holidays, and I found a lot more (in no particular order): git-gutter, multiple-cursors, origami, ace-window, avy, beacon, and a lot more.

What is more important (to me) is that I started using the use-package package, which can automatically download packages that are not installed on my current local system. Together with auto-package-update, it is very practical.

In addition, I started to follow the blogs of a bunch of Emacs users/gurus. Ive already mentioned Sacha Chua. Shes a charming, cheerful person, writing a lot about Emacs and project management (among other things). Another one is Bozhidar Batsov, who, among other things, had an initiate to lay down the foundation of a common Elisp coding style. Another favourite of mine is Endless Parentheses, whence I got a lot of ideas.