Emacs From Scratch, An Emacs Tutorial for Beginners - 06 Property & Association Lists

preview_player
Показать описание
Learn #Emacs from scratch. In this Emacs #tutorial, I'll discuss two different types of lists
in #elisp. Property & Association Lists are super useful data structures that you might come across almost all the time while working with Emacs Lisp.

00:00 Introduction
02:49 eq vs equal
05:07 Property List
18:08 Association List
Рекомендации по теме
Комментарии
Автор

I see you are only using C-x C-e for evaluation, which requires you to navigate to the end of the sexp.
However, there is a built-in, default function for evaluating top-level forms: eval-defun.
Not sure why ppl are not using it more often, but here are some observations:

1. it's a bit of a misnomer, since its effect is not limited to function definitions, but any top-level form.

2. the default keybindings is C-M-x, which might be considered a bit of a hand/finger twister. However, the Meta modifier can be communicated via pressing and releasing Esc, so this keycombo can be entered as a 2 step sequence: Esc C-x
if you happen to have both Esc and Ctrl bound to Caps-Lock, then this combo becomes a very convenient, rhythmic finger dance of Caps-Lock Caps-Lock-x

netom