How I write 5-minute hacks in eev with `M-x find-find-links-links-new' - DO try this at home!!!In my presentation at the EmacsConf2020 I showed that many of the functions of eev started as 5-minute hacks and I mentioned that I used `M-x find-find-links-links-new' to create their first versions, but I didn't explain how people can learn how to use find-find-links-links-new themselves, because that's hard... people need to understand apply, backquote, ee-template0, and find-elinks, and there isn't an easy way to check what small changes do. In this video I show a series of exercises - most of them very easy - that people can run to learn how to use find-find-links-links-new. They are all in the file foo.el. ...to be more precise: all the exercises in the first 43 minutes of the video are like "try this sexp and understand what it does", and they only need basic keys - and this include the steps that let us create a function called find-mytaskC-links, that is our 5-minute hack. Then things become harder: we need to see how the behavior of find-mytaskC-links changes after small changes in its code, and for that I define a bizarre hack that makes M-9j eval both the (defun find-mytaskC-links ...) and the sexp that shows its behavior.
This video was inspired by a question by Bruno Macedo. I recorded it in 2021dec25. Important: I don't know if this way of explaining things is clear or not - I haven't tested it on humans yet, and I would love to have feedback on it. So: if you get stuck get in touch, and let's try to arrange a chat by IRC! Index of the video (elisp here):
0:00
|