#1 – Introduction to Emacs Lisp (08.01.2021)
In this stream, you’ll learn the basics of Emacs Lisp and how it can be used to configure and extend Emacs to do amazing things! We will cover the core concepts of the language so that you have a good foundation for understanding future videos about more specific and practical concepts.
The show notes can be found here: https://github.com/daviwil/emacs-from-scratch/blob/master/show-notes/Emacs-Lisp-01.org
#2 – Types, Conditionals and Loops (15.01.2021)
In this stream, we’ll continue learning the fundamentals of Emacs Lisp:
- Primitive types and how to use them
- Sequence types and how to use them
- Conditional expressions and logic operators
This will give you a solid foundation for configuring and extending Emacs!
The show notes can be found here: https://github.com/daviwil/emacs-from-scratch/blob/master/show-notes/Emacs-Lisp-02.org
#3 – Defining Functions and Commands (22.01.2021)
In this stream, we’ll continue learning the fundamentals of Emacs Lisp by showing how to define functions and commands:
- Basic function definitions
- Function argument types (optional, rest)
- Unnamed (lambda) functions
- Invoking functions stored in variables and parameters
- Adding documentation strings
- Defining interactive functions (commands)
We’ll also start working on the basic steps of the Emacs package that we’ll be creating for the rest of this series!
The show notes can be found here: https://github.com/daviwil/emacs-from-scratch/blob/master/show-notes/Emacs-Lisp-03.org
#4 – Defining Variables and Scopes (29.01.2021)
In this stream, we’ll continue learning the fundamentals of Emacs Lisp by going more in depth about variables and variable scopes:
- The many ways to set the value of a variable
- Defining variables
- Creating buffer-local variables
- Understanding variable scopes
- Creating variable scopes with ‘let’
- Defining and setting customization variables
We’ll briefly apply what we’ve learned to our project!
The show notes can be found here: https://github.com/daviwil/emacs-from-scratch/blob/master/show-notes/Emacs-Lisp-04.org
#5 – Reading and Writing Buffers in Practice (01.03.2021)
In this video, we’ll work on a practical example of writing Emacs Lisp to read and write contents of buffers! We continue the work on our dotfiles management package, now called “dotcrafter.el”, to add the ability to extract all tangled configuration paths from our Org Mode files and then write out those paths to the ‘.gitignore’ file of the dotfiles repository.
The package code from this episode can be found here: https://github.com/daviwil/dotcrafter.el/blob/8d507eda31e08a789c38a5d729866eb4cda6abaf/dotcrafter.el
The show notes can be found here: https://github.com/daviwil/emacs-from-scratch/blob/master/show-notes/Emacs-Lisp-05.org