Some of the Irreal posts that make me the happiest are those that reveal a single tip that helps readers improve their workflow. Tony Aldon has an ongoing video project that presents a single piece of Elisp that performs some useful task. These are really useful and worth checking out to see if you learn something new. Mostly, they’re about 2 minutes long so it’s easy to fit one of them in with your morning coffee. So far, he’s been doing one a day.
The list of videos so far is:
- How to match 47 characters in a string with Emacs Lisp
- How to put the value of an Org property in the kill-ring with Emacs Lisp
- Do you know how to generate html strings with Emacs Lisp
- How to add html attributes with the Emacs package Jack
- How to check for a regexp match after point with Emacs Lisp
- How to insert foo at the end of buffer without changing point with Emacs Lisp
- How to check for the states of buffer-local variables in Emacs Lisp
- How to turn a function into a command in Emacs Lisp
- How to insert strings in a given buffer in Emacs Lisp
- How to list files in a given directory in Emacs Lisp
- How to replace regexp in buffers in Emacs Lisp
- How to search for regexp in buffers in Emacs Lisp
- What influence does case-fold-search have on searches in Emacs Lisp
- How to manipulate the match data in Emacs Lisp
- How to replace regexp in buffers in Emacs Lisp
These are really useful and a nice way to learn some Elisp. They serve as an excellent adjunct to Mike Zamansky’s series on Learning Elisp.