Live data from Hacker News

Start Using Emacs – A Thorough Guide for Beginners

braveclojure.com

11–20 of 138 posts

Re: Start Using Emacs – A Thorough Guide for Beginners

#11
post #10

Great work with this tutorial! It's a nice intro guide to Emacs. One thing I'd recommend adding in the introduction is that even though Emacs can be daunting to learn in the beginning, the effort is worth it because it will eventually become your editor for everything, not just Clojure. Have to start programming in a different language? Emacs is there for you. Want to write an e-mail message? Emacs is there for you.…

Great feedback, thanks! I'll work it in.

Re: Start Using Emacs – A Thorough Guide for Beginners

#13
post #9
post #4

After about a year developing a love/hate relationship with Vim I've finally had enough. After reading this post I think I'm ready to make the switch. Very good writing. Thanks for posting it.

Install evil-mode and you can use all the vim movement shortcuts you're familiar with.

I've tried using emacs/slime with evil but currently I prefer vim/slimv. Evil just felt a little bit "off" compared to regular vim, or maybe it was the slime integration. Anyhow, I recommend giving slimv a try, there's a nice tutorial here: http://kovisoft.bitbucket.org/tutorial.html

Re: Start Using Emacs – A Thorough Guide for Beginners

#14
What benefits does Emacs have over something like Sublime? All I can see is you can customize a million key binds so you don't have to use the mouse. Sorry but I'm not racing type to as fast as possible when I write code, I don't mind spending an extra second and using a cursor.

Re: Start Using Emacs – A Thorough Guide for Beginners

#15
When I was in college I had the privilege to work on a project with a developer that understood emacs as on operating system and used it as a way of life. When we started the project he would yell at me whenever I took my hand off the keyboard and tried to use the mouse. Finally he started to hit my hand with a ruler when I would lift it up.

My emacs skills are still probably only 1% of his, but after working that short time with him I have never been able to fully feel comfortable using textmate or sublime text. I always come back to emacs, even though the learning curve even years later is still there. Just feels like the right tool to me.

Re: Start Using Emacs – A Thorough Guide for Beginners

#17
post #14

What benefits does Emacs have over something like Sublime? All I can see is you can customize a million key binds so you don't have to use the mouse. Sorry but I'm not racing type to as fast as possible when I write code, I don't mind spending an extra second and using a cursor.

Emacs also binds almost any REPL (Python, Lisp dialects, Erlang...) There's also AucTeX if you need to write TeX (the best thing for LaTeX out there.) Emacs is also completely configurable with emacs lisp: you can write your own "things." For example, I have a mode I used to format posts for my blog: with just a few custom keybindings I had it formatted to my tastes and special CSS rules.

PS: Also, leaving the keyboard easily breaks the flow, specially when you are in the "damn, delete this whole line and start again" frenzy that is just milliseconds away from your neat idea. C-a C-k (this also works in most text boxes in Mac OS, though) is extra fast for this kind of things.

As for leaving the mouse, that's not the point. I'm a heavy emacs user, but my latest dwelling with Go have been using Acme (which is a mouse-heavy text editor) and it is very enjoyable, as a change of pace. But being in emacs is not "for the keyboard" as much as being in Acme is not "for the mouse."

Re: Start Using Emacs – A Thorough Guide for Beginners

#18
I tried to get into Emacs on OS X a few times, but one of the things I don't like is the awkwardness of not having the Meta key mapped to a direct simple key press.

Activating the "Use option as meta key" isn't a good solution because I sometimes need to type accented characters that require the option key.

How do people deal with this when using Emacs in the OS X Terminal app?

Re: Start Using Emacs – A Thorough Guide for Beginners

#19
post #8
post #3

> There are other options, like Aquamacs, which are supposed to make Emacs more "Mac-like", but they're problematic in the long run because they're set up so differently from standard Emacs that it's difficult to use the Emacs manual or follow along with tutorials. Having used emacs on linux, windows and now mac I disagree with this - though aquamacs introduces some (annoying, to me) functionality, you can simply tur…

When you say vanilla emacs, do you include the Cocoa version? ( http://emacsformacosx.com/ ) I'm using that many hours every day and have zero problems. Regarding fullscreen, if you use a recent build both native and non-native fullscreen are supported.

+1 so funny, vanilla=cocoa...

Re: Start Using Emacs – A Thorough Guide for Beginners

#20

I tried to get into Emacs on OS X a few times, but one of the things I don't like is the awkwardness of not having the Meta key mapped to a direct simple key press. Activating the "Use option as meta key" isn't a good solution because I sometimes need to type accented characters that require the option key. How do people deal with this when using Emacs in the OS X Terminal app?

One workaround could be to install Evil-mode so you can use Vim bindings in Emacs. Vim, and thus Evil, doesn't use Meta in any of its mappings. Though you'll still need a way to type Meta for some Emacs-mode-specific mappings.
Post reply on HN