Should I learn to use Emacs with no intention to learn Lisp, if my other option is to get familiar with vi?
-
2Would you plan to learn Vimscript, then?Ken– Ken2010-04-06 05:10:43 +00:00Commented Apr 6, 2010 at 5:10
-
2Emacs is a platform for writing Lisp, while vim is just an editor. Moreover, a pro of vim is that it supports several other languages for scripts (including Ruby). While Emacs was designed to be extended using Lisp insofar as having its own dialect of it, vim was designed to be an extension to vi. Also, the following link expounds on this further in-depth than I will here: items.sjbach.com/97/writing-a-vim-plugin .Yktula– Yktula2010-04-06 06:03:58 +00:00Commented Apr 6, 2010 at 6:03
-
2Emacs is a platform for writing lisp in almost exactly the same sense that vim is a platform for writing lisp. It just so happens taht if you want to add functionality to emacs, doing so in emacs-lisp is easier than almost any other way (but, there's nothing that stops someone from writing either an interpreter or compiler to emacs bytecode for another language).Vatine– Vatine2010-04-06 06:30:49 +00:00Commented Apr 6, 2010 at 6:30
-
2Emacs is, fundamentally, a Lisp implementation optimized for text processing. It comes with numerous programs already written for it, including a text adventure, a version of Eliza, a mail client, and a text editor (by far the most popular component). There's no problem with running any of these without knowing Lisp, although if you want to do any customization you should learn it.David Thornley– David Thornley2010-04-06 14:10:01 +00:00Commented Apr 6, 2010 at 14:10
-
1See also: <stackoverflow.com/questions/3210135/…>Drew– Drew2011-08-21 17:04:58 +00:00Commented Aug 21, 2011 at 17:04
8 Answers
Yes. With all the resources out there (FAQ, Emacs wiki, and the Stack Exchange Emacs site) and custom (M-x custom). You don't need to know Lisp. You just cut/paste what you find.
You can drive a Ferrari/Yugo without knowing the internals of the combustion engine or how a Formula One transmission works...
1 Comment
Why not?
You can still learn vi (probably Vim or Elvis). You can learn jEdit. Or nano and Pico. Or whatever other editor, environment, and language-host you fancy.
Why put such an arbitrary restriction on things? While your Emacs experience will be better if you learn at least basic Emacs Lisp (a .. derelict .. Lisp implementation), it's not required. But at the end of the day, it's a tool. Get as many useful tools as you can. "Useful" also really depends on context.
2 Comments
I have used Emacs for several years with next to no knowledge of Lisp and it served me well for all of the projects I used it for.
You can always simply assume that the configuration you're writing is not in Emacs Lisp and that it is just some funny configuration format - there a lot stranger examples out there (such as Sendmail).
I should warn you though that once I started learning Emacs Lisp my Emacs mastery expanded extremely rapidly - now that I understand the details of the language I can easily bend any configuration to my needs and more importantly I started writing my own extension to Emacs, which add to it even more capabilities.
If you decided to start with Emacs, I recommend to read first this great book - it taught me a lot of things for Emacs at the beginning and it assumes no Lisp knowledge. It won't teach you any Lisp either. Afterwards my advice would be read the official Emacs manual and start exploring the Emacs Wiki and #emacs on Freenode.
Learning Emacs truly is a journey that is not for the faint of heart, but it is journey that is most certainly worth it...
1 Comment
Configuring Emacs is a journey, and it's something that you're going to want to do. Being able to customize your developing environment is one of Emacs' greatest strengths. It's almost unavoidable. You pick up bits and pieces just by looking at other people's .emacs files.
Knowing just a little bit of Lisp goes a long way in Emacs.
Comments
You don't need to learn Lisp to use Emacs. Even basic customization of Emacs works fine without Lisp knowledge. If you need something beyond your capabilities, there are many helpful Emacs users.
Learning a bit Emacs Lisp will later enhance your understanding of Emacs.
Emacs Lisp is a relatively simple Lisp dialect. Basic Emacs Lisp is not that difficult to learn. As an experienced Lisp user I have to say that Emacs is available quite some time and the users have written some amazing things in Emacs (like Org-mode). Some of the Emacs extensions are very very well written and it is a pleasure to read the code.
1 Comment
Well, if you don't want to customize your Emacs, you won't need Lisp, either. And you can also do some basic modifications using the build-in customize functionality and by copy&pasting code of others. But truth being: I have written several hundreds of lines of code to customize Emacs to suit my needs. On the other side, as far as I know, vi is not as customizable as Emacs, so in the end it is probably more about what editor you like more and you should try both.
Comments
I've been using Emacs for a year and a half, and really only picked up whatever Emacs Lisp came without trying. I have a heavily extended set of configurations (first in a .emacs file, and now in ~/.emacs.d/init.el and friends), which are totally a result of cutting and pasting from the excellent resources found online.
Aside from, of course, the EmacsWiki, you should see the fine Emacs Starters Kit and subscribe to Planet Emacsen --- preferably in a feed reader. It's prettier.
Having said that, after you have a working setup you might yield to the temptation to learn a little Emacs Lisp. I've just started the free Introduction to Programming In Emacs Lisp, which comes with Emacs and is best read from within Emacs Info. It assumes neither programming ability nor Lisp knowledge, and is a friendly introduction to the 'vibe' of Emacs Lisp which I find to be well-written in the extreme, friendly and concise, and worth 10x every minute I have spent with it.