M-x Compile: A Deep Dive into Compiling Code with Emacs

  Рет қаралды 4,751

Gavin Freeborn

Gavin Freeborn

Күн бұрын

Пікірлер: 34
@GavinFreeborn
@GavinFreeborn 9 ай бұрын
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.
@chrishipple4419
@chrishipple4419 9 ай бұрын
Incredible video. using the compile mode for python development to run tests & linters and other one off bash commands is something I saw tsoding do so I've been doing it a lot more lately , but this takes it to next level.
@blahblah49000
@blahblah49000 9 ай бұрын
See also flymake-mode for linting live.
@gagagero
@gagagero 9 ай бұрын
​@@blahblah49000I was just about to mention it. I highly prefer it since it also gives highlighting.
@theodorealenas3171
@theodorealenas3171 8 ай бұрын
Tsoding taught me that Emacs is more similar to Vi than NeoVim is to Vi. And now I love it. Compiling grep find-me -rn .
@Argletrough
@Argletrough 8 ай бұрын
I've found it helpful to set compile-command as a dir-local variable (C-h f add-dir-local-variable) in the root of a project, so it's available in every file without having to add a header.
@GavinFreeborn
@GavinFreeborn 8 ай бұрын
Great idea. I don't know why I didn't think to mention that in this video
@intermarer9145
@intermarer9145 4 ай бұрын
9:48 Emacs has a regex builder??!?! Awesome 🥳
@dianejaeger6427
@dianejaeger6427 9 ай бұрын
Great video Gavin. Love the runtime environment.
@GavinFreeborn
@GavinFreeborn 8 ай бұрын
Glad you enjoyed it
@randomsearches369
@randomsearches369 9 ай бұрын
Glad, your are getting sponsored.
@GavinFreeborn
@GavinFreeborn 8 ай бұрын
Thanks, I'm glad to have the opportunity 😊.
@alternateved1199
@alternateved1199 8 ай бұрын
Ah, custom filters are amazingly helpful. Thanks a lot Gavin for that tip!
@GavinFreeborn
@GavinFreeborn 8 ай бұрын
Happy to help
@theodorealenas3171
@theodorealenas3171 8 ай бұрын
Okay I have to say it: I read the title of the video, tried M-x compile and left without watching. I knew of C-x p c but not of M-x compile.
@abenezerasamnew219
@abenezerasamnew219 8 ай бұрын
what border/frame are u using ? It's beautiful!
@rlifts
@rlifts 5 ай бұрын
Thanks. No Wayland yet? You got me started on eMacs a long time ago. Now I’m going from vanilla to doom. Checking it out.
@GavinFreeborn
@GavinFreeborn 5 ай бұрын
Emacs has Wayland before using PGTK aka the pure gtk implementation. A quick google should bring you to the right place
@rlifts
@rlifts 5 ай бұрын
@@GavinFreeborn I was asking if you're not using wayland yet? You're still on X11? Yea I've been using PGTK for a while now.
@antoniocorbibellot6532
@antoniocorbibellot6532 9 ай бұрын
Hi Gavin! Are you using eww for your bar? If so, mind you share the config? Thx!
@YoniDebel
@YoniDebel 9 ай бұрын
Very helpfull video, please make more!
@siksniper1996
@siksniper1996 8 ай бұрын
What font are you using? It looks really nice!
@GavinFreeborn
@GavinFreeborn 8 ай бұрын
Pragmatapro
@insane_tux
@insane_tux 4 ай бұрын
Hi, please tell me what kind of theme you have in emacs ?
@GavinFreeborn
@GavinFreeborn Ай бұрын
spaceway. it's in my dot files
@DooMWhite
@DooMWhite 8 ай бұрын
Holy shit, this is amazing!
@garklein8089
@garklein8089 9 ай бұрын
I have a really jank script I wrote for running files, and one of the main things I use it for is running code in scratch buffers. Is there a way to do this with compile-mode?
@francisst-amour646
@francisst-amour646 9 ай бұрын
Maybe you could call (compile "the command) in your jank scripts? Or perhaps call (compile-mode) to change the buffers' mode? Or even create your own major-mode that "inherits" compile-mode (just like grep-mode).
@muhammadaneeqasif572
@muhammadaneeqasif572 9 ай бұрын
hi i really like your emacs setup can u please share your config?
@GavinFreeborn
@GavinFreeborn 9 ай бұрын
github.com/Gavinok/emacs.d
@muhammadaneeqasif572
@muhammadaneeqasif572 9 ай бұрын
which theme are u using
@GavinFreeborn
@GavinFreeborn 9 ай бұрын
Spaceway, it's a custom version of space grey. You can find it in my config
@_idiot
@_idiot 8 ай бұрын
is that a tiny house?
@GavinFreeborn
@GavinFreeborn 8 ай бұрын
No just a tiny studio 😭
Learn Emacs Lisp in 30 Minutes
30:22
Gavin Freeborn
Рет қаралды 10 М.
Code Completion In Emacs - Everything You Need To Know
16:57
Gavin Freeborn
Рет қаралды 28 М.
What's in the clown's bag? #clown #angel #bunnypolice
00:19
超人夫妇
Рет қаралды 38 МЛН
Wait for the last one 🤣🤣 #shorts #minecraft
00:28
Cosmo Guy
Рет қаралды 17 МЛН
НИКИТА ПОДСТАВИЛ ДЖОНИ 😡
01:00
HOOOTDOGS
Рет қаралды 3 МЛН
I Made a ChatGPT Like Client For Emacs - AND SO CAN YOU!!
16:15
Gavin Freeborn
Рет қаралды 8 М.
Org Tables - From Zero to Hero
19:11
Gavin Freeborn
Рет қаралды 6 М.
The Rise & Fall of LISP - Too Good For The Rest Of the World
17:44
Gavin Freeborn
Рет қаралды 41 М.
Emacs. But why?
51:20
(Bit-Mage)
Рет қаралды 4,5 М.
Emacs: control where buffers are displayed (the 'display-buffer-alist')
29:52
Interview with an Emacs Enthusiast in 2023 [Colorized]
8:50
Programmers are also human
Рет қаралды 1,2 МЛН
You Should Really Learn Org Mode - It's Easy
19:32
Gavin Freeborn
Рет қаралды 52 М.
Why Lisp Is One Of The Most Productive Programming Languages
12:14
Gavin Freeborn
Рет қаралды 43 М.
Emacs: ediff basics
15:49
Protesilaos Stavrou
Рет қаралды 6 М.
What's in the clown's bag? #clown #angel #bunnypolice
00:19
超人夫妇
Рет қаралды 38 МЛН