Тёмный

Learn Emacs Lisp in 30 Minutes 

Gavin Freeborn
Подписаться 12 тыс.
Просмотров 7 тыс.
50% 1

To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/GavinFreeborn/. The first 200 of you will get 20% off Brilliant’s annual premium subscription.
This tutorial is focused on Learning Emacs Lisp. I did my best to cram as much of the language into this video. While this should be more than enough to get started a few topics are still missing which I will be covering in a future video.
Let me know what you think and if there is anything specific you would like to learn about.
Notes From This Video:
gist.github.com/Gavinok/5780b...
---------------► Wanna Support Me? ◀︎---------------
Github:
www.github.com/sponsors/gavinok
Patreon:
/ gavinfreeborn
---------------► Wanna Checkout My Dots? ◀︎---------------
Vimrc:
github.com/Gavinok/dotvim
Emacs Config:
github.com/Gavinok/emacs.d
---------------► Come Join The Community◀︎---------------
LBRY:
odysee.com/@GavinFreeborn:d
Matrix Space:
matrix.to/#/%23gavinfreeborn:...
Discord:
/ discord
This video was sponsored by Brilliant
00:00 Start Of Video
02:53 Common Emacs Terms
04:38 Major and Minor modes
05:27 Basic Syntax
07:03 Basic Types
07:51 Quote
09:11 Quasiquote
10:16 Interactive functions
12:17 Keybindings
13:09 Keybindings in modern Emacs
13:42 Keybindings for specific filetypes
15:39 Namespacing
16:22 if, when, and unless
17:03 Whem & Unless
17:38 or and not
17:57 progn
19:00 Variables
19:32 Setting Variables
19:56 setopt
21:05 Lists
22:04 Iteration and Loops
22:19 cl-loop
22:47 While Loop
23:26 Start of unedited clips
23:34 dotimes
23:55 dolist
24:45 Hooks
26:20 A practical usecase for hooks
26:51 let and temp vars
27:58 Other videos you should check out
29:22 Conclusion

Опубликовано:

 

1 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 39   
@GavinFreeborn
@GavinFreeborn 3 месяца назад
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/GavinFreeborn/. The first 200 of you will get 20% off Brilliant’s annual premium subscription.
@randomsearches369
@randomsearches369 3 месяца назад
I really love it, I am reading "eintr" too.
@emvdl
@emvdl 3 месяца назад
well done man! 👍 One great feature I missed in this video was ‘add-advice’
@GavinFreeborn
@GavinFreeborn 3 месяца назад
Oh ya advice would have been worth covering. I'll add a mention of it in a future video.
@seventhtenth
@seventhtenth 3 месяца назад
thank you, I guess I will learn right now
@zacharylarson1245
@zacharylarson1245 2 месяца назад
ero-mode ... highly recommend. Evaluations show up right next to the evaluated form, rather than in the mini-buffer. yw! ^_^
@GavinFreeborn
@GavinFreeborn 2 месяца назад
Thanks for recommending it. Sounds like it would be good to have for some of these demos.
@argonwheatbelly637
@argonwheatbelly637 3 месяца назад
I used emacs for a very long time, and eLisp has a special place in my heart; however, at most places I've worked they've used vi. At least it was better than nano. The problem was always that it was a very minimal vi, not vim, so...yeah, that. The real power of using emacs comes in learning and using eLisp to extend it to do whatever you need. Same with vi? Well, not really. With vim? Yes. When you trick it out, it's usable, too. The editor wars ended over a generation ago, but it doesn't hurt to know how to drive a manual transmission as well as an automatic. To which am I referring? That's up to you to choose. 😊 Great video!!
@user-eg6nq7qt8c
@user-eg6nq7qt8c Месяц назад
the editor wars still exist in my heart
@zacharylarson1245
@zacharylarson1245 2 месяца назад
A lot of the "new" emacs lisp stuff was new to me! thanks for sharing your setup and knowledge! Very beautiful setup! I'm curious to check out your dot files more and see what else I can learn :)
@RubenCiencia
@RubenCiencia 3 месяца назад
Great video. Thanks for this, it really help me.
@EdouardTavinor
@EdouardTavinor 2 месяца назад
thanks for the cool video :) i've been getting into emacs buffer programming recently, and i've started to feel more at home doing it. one thing i find overwhelming about emacs (and about common lisp) is the wealth of functions and macros. i imagine you could learn one new macro or function a day for many years :)
@maxreuv
@maxreuv 3 месяца назад
Excellent refresher on EmacsLisp, thank you!
@GavinFreeborn
@GavinFreeborn 3 месяца назад
Glad it was helpful!
@zacharylarson1245
@zacharylarson1245 2 месяца назад
You can also set `(setq use-package-always-ensure t)` so that you don't have to put `:ensure t` in your `use-package` forms
@Japhir13
@Japhir13 3 месяца назад
Great video! And 10x10 is definitely 1000 😉 22:52
@bullpup1337
@bullpup1337 3 месяца назад
1000% correct can confirm
@CrashCarrollT
@CrashCarrollT 2 месяца назад
Thanks Gavin! Good explanations, appreciate the way you marked off sections so I could jump around. As a suggestion, would like more on Emacs Lisp that has to do with how it integrates with the Emacs environment. You touched on that this time with a) user functions that make use of the help system, b) hooks and c) modes. So thanks for that. My own top-of-mind thing is trying to add completion to a extant package that does not have this feature. But I bump into my own deficiency in this "integration" area frequently, so something more general welcome as well. But again, thanks for all you do!
@johnhaman
@johnhaman 3 месяца назад
Nice info, but why is the computer screen so spastic? jumpy cursor, jumpy highlighting and flickering blocks.
@GavinFreeborn
@GavinFreeborn 3 месяца назад
I think part of it comes down to the rendering frame rate missing some of my cursor movement and the rest comes from the excessive amount of cuts needed to trim this down to 30 minutes. Most of it is from the rendering unfortunately. I should really find the time to figure this out once and for all.
@pst659
@pst659 2 месяца назад
thank you so much for this video. next I need buffer manipulation with emacs-lisp
@GavinFreeborn
@GavinFreeborn 2 месяца назад
It's a topic I would love to dig into. My advent of code in emacs lisp video makes use of this but not too much
@muhammadaneeqasif572
@muhammadaneeqasif572 3 месяца назад
waiting for follow up video
@jennifermena7712
@jennifermena7712 Месяц назад
Hi! Thanks for such a great video! Would you mind sharing the notes you used in the video pls?
@GavinFreeborn
@GavinFreeborn Месяц назад
I have added them to the description gist.github.com/Gavinok/5780b195c777b5ffa4842eebebdf13f7
@ismbks
@ismbks 2 месяца назад
very rare person proficient in both vim/nvim and emacs
@mariobroselli3642
@mariobroselli3642 2 месяца назад
What happened to Hy Lisp, i cant find any recent Videos on it 😮
@GavinFreeborn
@GavinFreeborn 2 месяца назад
As far as I know it is still around but considering it's a pretty niche use case so I assume there is a pretty small community.
@mariobroselli3642
@mariobroselli3642 2 месяца назад
@@GavinFreeborn why didnt they make a Compiler too!?
@justsomeguy8385
@justsomeguy8385 23 дня назад
Thank you, creepy floating head!
@y0nei
@y0nei 2 месяца назад
Big respect for the dedication to keep the lisp/emacs community growing. I myself find enjoying writing elisp for some reason and I dont get why.
@GavinFreeborn
@GavinFreeborn 2 месяца назад
I think the workflow is just too addictive. I find myself constantly making progress and able to write fairly complex ideas rather quickly
@ACium.
@ACium. 2 месяца назад
What is the point in learning lisp in 2024? Any idea?
@copperspartan1643
@copperspartan1643 2 месяца назад
It’s fun and useful..?
@ACium.
@ACium. 2 месяца назад
@@copperspartan1643 how is it useful
@fixups6536
@fixups6536 2 месяца назад
Alternating between dark background and burning white background: really bad idea. I closed the video immediately because it's just unbearable.
@low-key-gamer6117
@low-key-gamer6117 3 месяца назад
Laughs in Vim
@shewbell2176
@shewbell2176 3 месяца назад
Laughs in evil
@NoLoginIdea
@NoLoginIdea 3 месяца назад
No.
Далее
Org Tables - From Zero to Hero
19:11
Просмотров 3,5 тыс.
SITUATION IN FAST FOOD
00:19
Просмотров 2,1 млн
Why Learn Haskell in 2024?
21:30
Просмотров 26 тыс.
Double Your Productivity With Emacs Org-Mode
24:15
Просмотров 4,7 тыс.
Identicons and Clozure Common Lisp
45:14
Просмотров 439
Every LLM in Emacs, with gptel
17:56
Просмотров 8 тыс.
LEARN EMACS LISP - Mostly The Strange Parts
29:22
Просмотров 16 тыс.
Why Are Lisp Macros So Great!?
16:28
Просмотров 14 тыс.
Modern Emacs UI
9:32
Просмотров 19 тыс.
Why You Should Learn Lisp In 2024?
21:50
Просмотров 60 тыс.