Learn Emacs Lisp in 15 minutes
11–20 of 71 posts
Re: Learn Emacs Lisp in 15 minutes
#12Re: Learn Emacs Lisp in 15 minutes
#13Basic Emacs lisp is well worth learning. It takes Emacs from being an editor to being your editor. With something like Eclipse, even adding a little bit of functionality is an undertaking. You have to create a project, write a bunch of boilerplate, load it and so on. With Emacs, it's basically effortless: a line or two of elisp can do wonders. Sometimes I add functionality by just executing elisp directly (with M-:),…
An excuse to dive into lisp like that just might pull me away from Vim (Vimscript is terrible, sigh).
Re: Learn Emacs Lisp in 15 minutes
#14Basic Emacs lisp is well worth learning. It takes Emacs from being an editor to being your editor. With something like Eclipse, even adding a little bit of functionality is an undertaking. You have to create a project, write a bunch of boilerplate, load it and so on. With Emacs, it's basically effortless: a line or two of elisp can do wonders. Sometimes I add functionality by just executing elisp directly (with M-:),…
This is taken from John Wiegley's talk at emacs conf, here's a little summary of his emacs environment btw : https://gist.github.com/jwiegley/5277578
Re: Learn Emacs Lisp in 15 minutes
#15Re: Learn Emacs Lisp in 15 minutes
#16Earlier quoted context omitted.
Have a Look at Evil, really good vim bindings for emacs
+1. Evil is great. I think it's made Emacs my favourite implementation of Vi yet.
A few years ago I tried some emacs vim simulator and it had glaring flaws in multiple categories. Vimpulse or Viper or something, I think.
It seems like it's a catch 22 because anyone sufficiently skilled with emacs to design a perfect vim simulator also has no reason to do so, since they're emacs masters.
(I'm on a phone else I'd check out evil now.)
Re: Learn Emacs Lisp in 15 minutes
#17Ha, this is perfectly timed. After years of being a vi/vim user (not for any particular reason, it's just what I learned a few years back and just stuck with), I decided to start running through the Emacs tutorial for the hell of it yesterday. I really miss Lisp from my college days, and being able to work it back into my regular workflow just sounded like a fun idea. I read through this tutorial and its really a gre…
vi is the god of editors. emacs is the editor of gods.
Re: Learn Emacs Lisp in 15 minutes
#18Basic Emacs lisp is well worth learning. It takes Emacs from being an editor to being your editor. With something like Eclipse, even adding a little bit of functionality is an undertaking. You have to create a project, write a bunch of boilerplate, load it and so on. With Emacs, it's basically effortless: a line or two of elisp can do wonders. Sometimes I add functionality by just executing elisp directly (with M-:),…
Emacs has had an astonishing run but is just slightly too opinionated for me to have taken the plunge. The promise of light table has kept me working in sublime for now (with a bit of Catnip IDE on the side).
Re: Learn Emacs Lisp in 15 minutes
#19Earlier quoted context omitted.
+1. Evil is great. I think it's made Emacs my favourite implementation of Vi yet.
Well, the problem is that these bindings don't usually implement the corner case Vim functionality I've come to rely on over the years. Can it record macros perfectly? Does :%s/foo/bar/ work? How about selecting, then :s/foo/bar/gi? Does the period key reproduce all actions properly? How about :%s/foo\([0-9]+\)/bar\1/ ? Do all of the basic actions do exactly the same thing as they do in a vim editor? Does % take you…
Macros
Repeat
:'s/foo/bar/gi
:%s/foo\(bar\)/bar\1/
It is very actively developed and quite stable. There are of cause Vim features that are not implemented yet, but the core seams to be very well covered.Re: Learn Emacs Lisp in 15 minutes
#20Earlier quoted context omitted.
vi is the god of editors. emacs is the editor of gods.
emacs is the editor of sore wrists.
A: Foot pedals.
http://bc.tech.coop/blog/041024.html
http://www.cb1.com/~john/computing/emacs/handsfree/pedals.ht...