More posts about: emacs, Emacs Chat, podcast Tags: emacs-chat // 5 Comments »
|0:00:00||Paredit mode. Start with it from day 1! Matching pairs of parentheses, won’t let you delete one without the other. Inserts appropriate newlines, too|
|0:03:56||Emacs as a Lisp environment. (Also, Helm is what’s responsible for the display.) Evaluating a function makes it available in the global scope, which has all these functions and commands you can do. This makes it easy to iteratively develop your functions, because you can just execute things directly.|
|0:05:08||Without (interactive), you can’t call functions with
|0:06:47||pp-eval-last-sexp. Check out http://github.com/jwiegley/dot-emacs for other config things|
|0:09:25||You can also use the (debug) form to go to the debugger.|
|0:10:26||eldoc: Seeing arguments in the minibuffer as you type, because no one remembers all the arguments anyway.
|0:11:30||What functions should you call in the first place? What concepts? Emacs predates many standard terms, so that’s why things are a little confusing. Ex: “frames” and “windows” are not what you might think they are. OS window = frame. Area within Emacs = window. Opposite of HTML. Use the Emacs tutorial
|0:13:04||Read the Emacs Lisp intro, which you can get to with
|0:14:03||Other weird terms: point, mark, marker.
|0:17:46||More in-depth documentation:
|0:18:22||info-lookmore shows you the Info documentation for the symbol under point. Works for other Lisps too (ex: Common Lisp)|
|0:19:46||Sanity-checking paired parentheses with
|0:20:40||Paredit editing capabilities. Ex:
|0:22:38||Maximum barfage and slurpage. Useful for slurping everything in, for example. paredit-slurp-all-the-way-forward.|
|0:24:13||redshank (companion to paredit) for refactoring. Ex:
|0:25:25||redshank: wrap a let, change if to a when, etc.|
|0:27:26||Took a while to get used to paredit, but you eventually get into the zen of paredit.|
|0:29:10||Helm, which shows you all the other stuff that matches your query. Lets you select by regex, multiple patterns, etc. Much nicer and more interactive.|
|0:32:30||Measuring memory consumption. Also, internal representation of lists.
|0:38:55||elint and flycheck? flycheck’s designed for external processes, so that might be a challenge. Possibility: use
|0:48:11||testcover, coveralls.io, undercover.el|
|0:48:13||Read Emacs Lisp manual, etc.|
|0:48:20||Creating a mode. You don’t have to make it from scartch – start by copying someone else, and then strip away everything you don’t want.|
|0:49:58||checkdoc – checks the style of your documentation strings.|
|0:51:30||defining a minor mode|
|0:56:08||when to define a major mode – structure of your buffer|
- 11 April 2015 at 12:04pm
- Sacha Chua and John Wiegley on Elisp Development | Irreal 17 November 2015 at 9:11am
- John Wiegley on Haskell | Irreal
[…] Chua has a great video chat with John Wiegley on Elisp development. If you work ...
[…] you'd expect, Wiegley is an Emacs Lisp export (see this video with Sacha ...