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

preview_player
Показать описание

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
Рекомендации по теме
Комментарии
Автор

Thanks for the section markers in the video - very useful!

highamnj
Автор

Yes, finally the next episode of learning Elisp. I have been waiting for this, its a very interesting concept and I have learned many things already. Cant wait to watch this

auroradraco
Автор

This type of series are Informative and producing very good meaning ful outcome. Keep doing more like this...

VipinBalakrishnan
Автор

Thanks a lot for this guide on how to make my job 20x faster

maximkuzmin
Автор

Could you do a video one day on theory and best practices for writing own minor modes? The biggest challenge I am facing is to properly restore the previous state when the minor is disabled some time after being enabled. Thanks!

lassekliemann
Автор

Always learning. Thanks for the amazing content.

diegonayalazo
Автор

I fucking love you and this series thank you so much

neilmoon
Автор

First time ever I see a 100+ like video that has 0 dislikes

Yas-gscm
Автор

Great presentations, thanks a lot for them. This one is particularly interesting if you are interested in writing you own packages.

One question: what is the package you are using to display the commands in the modeline as you type?

PedroAbelleiraSeco
Автор

is there a way to add arrgument completion in typescript lsp mode??
and thanks alot

cateru
Автор

how do i dim every closing parentheses ")"?

anoopanthony
Автор

Great presentation, like always.
1) What happen if there are two spaces after :tangel? Maybe search forward to beginning of next word?
2) What if something else is added to end of .ignore file? Maybe add and end tag, not just start tag?

AndersJackson
Автор

Just my 2 cents: what about "dotctor.el"?

MarcoPrevedello
Автор

YouTube keeps deleting my comments! I didn't do it!!!

abarocio