Skip to content
0:00 / 0:00

#emacslisp#elisp#emacs

LEARN EMACS LISP - Mostly The Strange Parts

Gavin Freeborn

15K subscribers • 27 videos on Hallway

YouTube

Intermediate. Assumes working knowledge.

21K views4 years ago2 recommendations

Programming languagesTools and practiceLisp and ClojureVim, Emacs and editors

Gavin Freeborn explains the unique and often confusing aspects of Emacs Lisp, such as its dual namespaces.

This tutorial is focused on the strange parts of Emacs Lisp. Hope it helps some of you better grasp the language and write some better code I can later grab for my own config ;). Generate A Basic Emacs Config For Learning Purposes: emacs.amodernist.com/ A more in depth series I recommend taking a look at for more: youtube.com/watch?v=RQK_DaaX34Q&list=PLEoMzSkcN8oPQtn7FQEF3D… Org File used for this video gist.github.com/Gavinok/e68a21b0e72607b20a1e0255b3aeb9fe Let me know what you think and if there is anything specific you would like to learn about. ----------------► Wanna Support Me? ◀︎---------------- Github: github.com/sponsors/gavinok Patreon: patreon.com/gavinfreeborn ----------------► Wanna Checkout My Dots? ◀︎---------------- Vimrc: github.com/Gavinok/dotvim Emacs Config: github.com/Gavinok/emacs.d ----------------► Come Join The Community◀︎---------------- LBRY: open.lbry.com/@GavinFreeborn:d?r=FVxxdjxLmbpPS5K4EdMsLjBjkxv… Matrix Space: matrix.to/#/%23gavinfreeborn:matrix.org Discord: discord.gg/JJk5KKU Intro Start Of Video Intro To Emacs Intro To Emacs Lisp Defining Variables Defining a Function Function Calls Lists (sorta) Lists are a little strange Quote Plot Twist Quasiquoting Quick Review Functions are also strange (why all the #') Conclusion

Why it's here

2 people recommend this

What people say. Recommended as a helpful guide for clearing up confusing concepts in Emacs Lisp.

u/a-concerned-motherin r/emacs • Recommends

Learn Emaca Lisp - Mostly The Strange Parts

u/Shimmy-chooin r/emacs • Recommends

Am I understanding Elisp right? I watched this video recently and it was great, really helped clear up some concepts that have always confused me. I wanted to post my current understanding here, to check whether my understanding is correct? I feel like I'm still not 100% getting it. In elisp there are two distinct namespaces: one for functions and one for variables. This means I can have a variable called `foobar` and also a function called `foobar`, and they won't interfere with one another. If I want to evaluate a variable, then I just write the variable - eg `foobar`. If I want to evaluate a function, then I include it within parentheses (with arguments as needed) - eg `(foobar arg1…