3 ms·
If you know some Common Lisp, Emacs Lisp isn't hard to learn (and they're even closer than when I learned elisp 15-20 years ago). Some minor gotchas with litera
by Jtsummers 5y ago
If you know some Common Lisp, Emacs Lisp isn't hard to learn (and they're even closer than when I learned elisp 15-20 years ago). Some minor gotchas with literal syntax (literal arrays/vectors and chars are represented differently in each) and some differences in their standard libraries. A more major gotcha is elisp's dynamic scope, which comes up if you're used to lexical scope.
https://www.gnu.org/software/emacs/manual/html_node/elisp/Dynamic-Binding.html https://www.gnu.org/software/emacs/manual/html_node/elisp/Dy...
In practice, I've never been bitten by this except when I tried to do some fancier functional programming things in elisp that I normally would use another language for. And you can specify that you want lexical scope:
https://www.gnu.org/software/emacs/manual/html_node/elisp/Lexical-Binding.html https://www.gnu.org/software/emacs/manual/html_node/elisp/Le...
The whole section those two come from: https://www.gnu.org/software/emacs/manual/html_node/elisp/Variable-Scoping.html https://www.gnu.org/software/emacs/manual/html_node/elisp/Va...
- wara23arish 5y agoVery cool. Thanks for the info. https://www.cs.utexas.edu/users/novak/cs31436.html https://www.cs.utexas.edu/users/novak/cs31436.html this is the book i mentioned earlier if you’re interested. e.g. of building a linked list I might go through some of it purely in lisp for the heck of it.