filmov
tv
Reading and Writing Buffers in Practice - Learning Emacs Lisp #5

Показать описание
We cover the following topics:
- 0:00 Intro
- 0:38 Why learn about buffers?
- 2:15 What will we learn?
- 5:12 What is a buffer?
- 7:01 Getting the "current" buffer
- 8:02 Getting a buffer by name
- 9:41 Changing the current buffer
- 10:37 Changing the current buffer safely!
- 13:55 Working with file buffers
- 17:36 Example: Getting the buffers for our configuration Org files
- 20:38 Loading a file into a buffer
- 22:27 Example: Getting or creating the Org file buffer
- 24:44 What's the point?
- 28:21 Moving the point
- 32:45 Preserving the point
- 33:41 Examining buffer text
- 36:26 The Thing (thing-at-point)
- 39:45 Searching for text
- 43:24 Example: Finding Org code block output paths
- 50:02 Inserting text
- 52:00 Example: Updating the .gitignore file
- 57:31 Deleting text
- 58:31 Saving a buffer
- 59:09 Example: Cleaning up and saving the .gitignore file
- 1:00:35 What's next?
- 1:01:50 Sponsors and outro
The package code from this episode can be found here:
If you enjoy this series, please consider becoming a sponsor on GitHub or Patreon:
Follow me on Twitter for more Emacs content!
Intro music: Coriolis Effect by logos feat. stefsax, licensed CC-BY
Комментарии