Xah Talk Show 2026-06-21 Ep796. emacs lisp. add width height to image thumbnails html. part 3
Video Summary (Generated by AI, Edited by Human.)
In this episode (Ep796), Xah Lee spends the livestream coding an Emacs Lisp script to automatically add width and height attributes to image thumbnail HTML markup across his vast website, which contains over 13,000 pages (0:03-2:38).
Key activities and topics covered:
- Web Development and Emacs: Xah demonstrates the power of his custom Emacs setup, including his Xah Fly Keys system, to efficiently process files, convert images to WebP format (19:51), and perform bulk updates on his HTML files (1:50:23).
- Technical Workflow: He walks through writing and testing an Emacs Lisp script that uses regular expressions to find image tags missing dimension attributes and insert them dynamically (56:12 - 1:22:38).
- Reflections on Tools: Throughout the stream, Xah shares his strong opinions on various tech topics, including:
- Comparing his workflow to "typical Unix idiots" who rely on manual bash commands (18:40).
- His preference for the Wolfram Language (Mathematica) as the most powerful programming language (22:46).
- His experience with image viewers like ImageGlass (11:34).
- Project Progress: By the end of the stream, he successfully tests his script on local files (1:46:42-1:50:04), refines it to handle multiple occurrences in a single file using a while loop (1:50:45), and explains how he would scale this to process his entire website (1:54:47-2:00:48).
- The stream is informal, featuring Xah sharing personal anecdotes about his life and coding history while enjoying red wine (0:26, 55:51).
- write a emacs lisp script, that adds width height to all thumbnail html markup, in about 13 thousand html files.
- ImageGlass
- Microsoft Windows Tutorial. Index
- Windows: Keyboard Shortcuts Tutorial
- Microsoft PowerToys
- AutoHotkey Tutorial
emacs lisp. add width height to html image thumbnail markup
- Xah Talk Show 2026-05-28 Ep787. emacs. add width height to all thumbnails. Cumulative Layout Shift
- Xah Talk Show 2026-06-19 Ep795. emacs lisp. add width height to image thumbnails html. part 2
- Xah Talk Show 2026-06-21 Ep796. emacs lisp. add width height to image thumbnails html. part 3
- emacs lisp, add width to image thumbnails (2026-06)