Zamansky: Learning Elisp #9

Mike Zamansky is back with the concluding video in his function header project. It’s the 9th video in his Learning Elisp series. This video ties up the loose ends in the previous videos in the project and provides a serviceable function to generate header comments for C-like languages. The final function generates javadoc formatted headers but it’s trivial to change the form by altering the format strings to be what you need.

The new ideas in this video include:

  1. Using string-split, string-join, and mapcar to parse and format the individual parameters and recombine them into a printable string.
  2. Using save-excursion to return the point back to where it was when the function was invoked.

The next project will involve inserting emojis by name into Emacs text but that will have to wait until Zamansky gets back from a European trip. He says that will be in mid October but that he might fit in a short video before he leaves.

In any event, the current video is 24 minutes, 20 seconds so you’ll definitely need to schedule some time. This video presents the development of a real function that an Emacs user might want to write to aid in their day-to-day development. Indeed, the function is a recreation of an actual function that Zamansky wrote years ago when he was an active developer.

This entry was posted in General and tagged . Bookmark the permalink.