-
Website
http://sigusr2.net -
Original page
http://sigusr2.net/2009/Apr/30/the-power-that-is-gnu-emacs.html -
Subscribe
All Comments -
Community
-
Top Commenters
-
marriott
1 comment · 1 points
-
llimllib
1 comment · 2 points
-
Steve Purcell
1 comment · 2 points
-
kmike
2 comments · 2 points
-
slig
1 comment · 1 points
-
-
Popular Threads
I know almost as much about VIM as Emacs, but the feeling of an environment of code and sense of live extensibility is far greater in Emacs. It matches what programming is, I think.
Vim, sure does not come with Elisp, but it has a very powerful macro and builtin scripting language too.
If Vim's scripting language is powerful then why is there not much large extensions or applications running inside Vim? Vim extensions rarely go much further than being small convenience wrappers around some existing Vim command set. There are nothing like Emacs's Gnus or Org-mode, for example.
G:\>copy con outfil
test
^Z
1 file(s) copied.
I don't think `set-fill-column' is the traditional way to open a file... perhaps you meant `C-x C-f'.
I work in an environment where the best way for me to work is in emacs in an xterm. An X window (through cygwin...) is just too slow. It's forcing me to do much more in the "proper" way. I was using the mouse far too much. The complexity of minor and major modes still intimidate me, though.
Thanks for the write up. It's improved my life.
After 10 years of Emacs usage, I realized that I would never use another editor and started being a bit more interested in elisp. Previously, I had only added simple customizations. Today, I have my complete set of customizations on github for easy access and synchronization between windows, linux, unix and mac. I do not care about the operating system, as long as emacs is available.
Productivity is the driving force behind using any tool. Emacs undoubtedly stomps all competition in this department.
For example, people are constantly sending me data in Excel files that needs to be used out of Excel. Emacs makes it extremely easy to sort, cut, filter, merge, etc… the pasted rows.
Macros and registers allow me to easily place the given piece of text into the appropriate context (usually some XML or an SQL query).
And then when I save, the XML file is automatically validated. The SQL query, well I can run that too, all without touching the mouse or having to holler at Alt-Tab.
For everyone spewing this "we'll Vi can do it too" crap I'll have to quote that lying incompetent dooshbag Arnold Schwarzenegger and say- "Stop Whining!" We all know Vi is feature packed too OK.
Though I will give Vi credit for its ability to handle large files. Where out-the-box Emacs falls short at (expt 2 27) I believe.
I just need a grow/shrink-window-if-larger-than-buffer mode…
http://www.emacswiki.org/emacs/PyMacs, for extending emacs through Python. This works, but I haven't tried it.
http://code.google.com/p/ejacs/, which Steve Yegge originally wrote for extending emacs through Javascript. I'm not sure the status of this.
That said, comparing Emacs to vi is an apples-to-oranges comparison. Of the three most popular vi-clones (ex-vi, nvi, and Vim) only Vim has significant mindshare and modern features. Emacs and Vim compare quite well and are functionally equal -- it's really just a matter of personal preference. For example, referencing a paragraph in your post, I only ever use one Vim instance for editing many, many files at once and Vim is designed to do that very efficiently -- just like Emacs. :)
Thanks for the interesting read.
I propose a new law of Internet conversation: "Any conversation about text editors eventually diverges into a flame war between emacs and vi(m)."
Of course, you can never *tell* someone why emacs rocks. You can only show them how emacs helps *you*, and let them figure our the rest for themselves.
For what it's worth, Vi is a fine tool and invaluable in some contexts -- think of sysadmins who have to tweak all kinds of scripts on all kinds of machines -- but for the full-time coder, Emacs wins. Modern editors (Visual Studio, Eclipse etc.) certainly *look* better and are much more newbie friendly, but none of them have the Lisp nature.
I wonder what an editor with ... say ... the Javascript nature would be like? https://bespin.mozilla.com/
except that it uses parenthesis a lot. anyway good article. i starter to learn about programming as Im also looking to see which text editor to use and I dont even know yet which programming language I will stick with