Xah Talk Show 2025-08-31 Ep695 emacs lisp, most commonly used functions, fill region problems, etc


video summary
by ai
- The video covers several topics related to Emacs Lisp and text editing.
- It begins with a discussion on the most frequently used Emacs Lisp functions and shows a script to identify them (1:52).
- The main part of the video focuses on the fill-region command in Emacs (5:48).
- The speaker explains that this command reformats paragraphs to fit a specified width (like 80 characters per line) and traces this convention back to punch cards and early Unix systems (7:53).
- A key point is that while fill-paragraph can shorten lines, there isn't a built-in command to easily revert them to a single long line, which the speaker addresses with their custom reformat-lines command (12:56).
- The speaker also highlights issues with Emacs' fill commands, noting they can unexpectedly add or remove characters, making them unsuitable for source code (13:54).
- Towards the end, the speaker demonstrates asking an AI (Grok 4) about the origin of the fill-region command's name (17:46) and shares their thoughts on the value of AI for learning (18:57).
- The video also touches on databases like SQLite and programming languages like Prolog in a Q and A session (22:39).
timestamp
- timestamp
- 01:48 emacs lisp command frequency
- 05:45 emacs fill-region command
- 07:53 80 chars per line convention, punched cards, unix idiocy
- 18:09 Why you should stop listening to human but talk to AI bot instead.
- 22:35 sqlite
- 26:28 on reading manual, why you read mysql manual
- 31:03 why is emacs fill-region command called fill?
- emacs fill-region command
- https://youtu.be/Jxbkm0Q3Dgo?t=345
- emacs lisp command frequency
- https://youtu.be/Jxbkm0Q3Dgo?t=108
- 80 chars per line convention, punched cards, unix idiocy
- https://youtu.be/Jxbkm0Q3Dgo?t=473
- Why you should stop listening to human but talk to AI bot instead.
- https://youtu.be/Jxbkm0Q3Dgo?t=1089
- on reading manual, why you read mysql manual
- https://youtu.be/Jxbkm0Q3Dgo?t=1588
- why is emacs fill-region command called fill?
- https://youtu.be/Jxbkm0Q3Dgo?t=1863

- demo
- Emacs Lisp Script, Count Function Frequency 📜
- Emacs Lisp Function Frequency
- Emacs Lisp Function Frequency (Emacs 27. Year 2020)
- Emacs Lisp Function Frequency (Emacs 23.2. Date 2010)
- Emacs Flaw: fill-paragraph fill-region
- Emacs: fill-region Problems
- Emacs: Reformat Lines for Source Code 📜
- Emacs: Reformat to Long Lines (unfill-region) 📜
- Unix, RFC, Line Truncation (2002)
- Unixer Plain-Text Email Fetish (2002)
- Unix and the mbox Email Format (2002)
- book jargons
- blurb
- jacket
- leaf
- preface
- prolog
- intro
- table of contents
- inserts
- bibliography
- index
- glossary
- appendix
- colophone
- epilog
- errata
- sqlite
- why is emacs fill-region command called fill?
- https://x.com/i/grok/share/4yWGs7kQI9Ux8L7qQY0gk1sWz