A New Beginning With GNU Emacs - Configuring Emacs 01

Поделиться
HTML-код
  • Опубликовано: 30 янв 2025

Комментарии • 123

  • @alex146
    @alex146 Год назад +17

    I've watched all seven episodes of the Emacs series so far, and it's truly fantastic. While I've been using Emacs for a while now, I've encountered some challenges. This series has been incredibly helpful in addressing them.

  • @namewarvergeben
    @namewarvergeben Год назад +4

    I tried to jump right into Doom Emacs because it was said to be easy to get started with. I wanted to learn it, wanted to like it, but I just couldn't get anywhere at all. The tutorials and docs and forum-threads and cheat-sheets I found all seemed to assume some experience with Emacs, or they didn't really go step-by-step, or for some reason my key-combinations didn't work the same way theirs did, or they were just hard to follow for whatever reason. I had no idea where to start and what to look for.
    So now I've started from scratch with this tutorial, and for the first time I feel like I can accomplish something here! This video already gave me a good idea of how this stuff works, and I finally have a basic notion of how to (eventually) achieve the configuration that got me interested in Emacs in the first place. I'll be following the rest of this playlist. Thanks!

  • @JohnJohnson-dl8oq
    @JohnJohnson-dl8oq Год назад +8

    I really appreciate your doing this series DT!
    I've been into and out of Emacs more times than I can count. Doom is nice, but it's kind of a giant black box with 10,000 knobs.
    I'm working through your series, typing most things in so I'll have some recognition of them, and it just has a different vibe. Looking forward to the rest of the episodes!

  • @TheLinuxCast
    @TheLinuxCast Год назад +10

    You know I always avoid your org mode videos like the plauge, your emacs stuff too, but I watched this one. The table of contents thing is the first thing I've spotted that makes me really want to try emacs again.

    • @SpreadiesInSpace
      @SpreadiesInSpace Год назад +4

      Seeing how you write for a living, it would be interesting to see you give Emacs Org mode another go.

    • @exnihilonihilfit6316
      @exnihilonihilfit6316 Год назад

      -Stay in your lane- Stick to nano, man. :D

    • @TheLinuxCast
      @TheLinuxCast Год назад

      @@exnihilonihilfit6316 I'm almost done with nano. Vim has been calling my name. It misses me

    • @muhammadaneeqasif572
      @muhammadaneeqasif572 Год назад +1

      @@TheLinuxCast hi buddy, i would say that if youwould had started from helix you might be in a tough decision point right now, cz its the sweet support b/w nano and nvim , with by default lsp and all ide like things by default no conf needed and it is written in rust, may be you can try it as next video project

  • @ZeStig
    @ZeStig Год назад +2

    Really appreciate this playlist DT. *Finally* got rid of Doom and switched to a DIY config. I've taken inspiration from your config, and your videos have served as a great tutorial for setting up Emacs. I havent watched all of the Emacs-related videos (haven't got much time), but since I've moved away from Doom (which, by the way, I've been using for longer than you had), i feel freed. Thank you once again @DistroTube!

  • @AlexKeshet
    @AlexKeshet Год назад +3

    Thanks for the video. In my opinion, this is the only beginners emacs tutorial on the entire Internet. All other tutorials assume we have some previous knowledge, you assume nothing. This is one of the reasons you have 250K views and others have only 450. Good job.

    • @amolvaidya4740
      @amolvaidya4740 3 месяца назад

      Emacs from scratch by Systemcrafters is pretty good too.

  • @deedend
    @deedend Год назад +2

    I'm coming back to Linux as my personal OS after 15 years, and I've fallen in love with Emacs after an old friend's recommendation... Now, thanks to your video, I can learn how to tailor it to my needs. The fact that is usable also in console mode is a massive bonus for me! BTW, to move between buffers in GNU Emacs it is C-x + left/right arrow. I really enjoy your videos DT, keep up the amazing educational job you are doing!

  • @muddyexport5639
    @muddyexport5639 Год назад +9

    Thank you as a huge understatement! I always look forward to the next instalment of the how-to videos. These type vids are why I follow your content (commentary vids are ok but technical are my meat & potatoes for the learn). Keep up the good work!

  • @randomsearches369
    @randomsearches369 Год назад +7

    It's only been a week since I learned about the greatness of Emacs and started studying it, and what a coincidence it is that my teacher, Mr. DT, is making videos about it.

  • @antoniocapece1391
    @antoniocapece1391 Год назад +10

    Love your videos.
    There is one thing I want to let you know, emacs is able to evaluate expression directly without closing the editor. By typing C-x C-e at the end of the parentesys of a line you want to evaluate, it will run it.
    Thanks to this you don't have to restart it every time you had a change, and if something goes wrong you don't have to wait for it to start again to modify it.
    Hope to be helpful :)

    • @gagagero
      @gagagero Год назад +3

      You can also do M-x eval-buffer or eval-defun.

    • @theodorealenas3171
      @theodorealenas3171 Год назад +3

      I love that feature!
      And the Vim equivalent is yy@"
      You could also consider !!sh for evaluating shell scripts. That's often how I list and rename files in Vim.

  • @georgytoporkov2041
    @georgytoporkov2041 Год назад +5

    Oh, finally DT is going for setting up Emacs!
    Thanks for that content
    I hope you will take some ideas from SystemCrafters :)

  • @linusstrang984
    @linusstrang984 Год назад +24

    DT, you can execute a code block with C-c C-c, just hold down the Control key and hit 'c' twice. You don't have to restart emacs to execute a code block.
    Also, you can add a src_block, beginning and end with 'C-c C-, s' but it is better to install org-tempo and create a template for an emacs-lisp block so you don't have to type it all out each time.
    (require 'org-tempo)
    (add-to-list 'org-structure-template-alist
    '("m" . "src emacs-lisp"))
    Then, you just type '

  • @umka7536
    @umka7536 Год назад +4

    It was nice to see Burg Eltz on your wallpapers. It is very famous beautiful castle in my area.

  • @BrenSmith
    @BrenSmith Год назад +2

    Great episode Derek! Can't wait to see the next installments as I attempt to wean myself off of Doom.

  • @yasserkerbache
    @yasserkerbache Год назад +4

    DT's Emacs content is the best!

  • @streambarhoum4464
    @streambarhoum4464 Год назад +5

    Thanks a lot Derek for these awesome emacs episodes 🙏✌️🤩😍continue
    ..to make it looks like doom emacs and also like vscodium🎉🦄

  • @ThanhNguyen-io6st
    @ThanhNguyen-io6st Год назад +1

    This is awesome, keep up the good work boss 🙏

  • @matthewstott3493
    @matthewstott3493 Год назад +3

    Emacs 29.1 went gold after this video and includes many improvements, use-package is now built-in. Therefore, Straight nor Elpaca is required but they do have some advantages. I am thoroughly enjoying this series. Doom Emacs abstracts things and new Emacs users may struggle to learn as a result. Learning Emacs & DIY from scratch is simply The Emacs Way. Evil is important for those with well established muscle memory for ViM keybindings. However, learning Emacs keybindings is not as terrible as it seems at first. Especially if you remap Capslock to Ctrl. Emacs keybindings work on terminal shells and in many places in Linux / macOS as well. You can always change any keybinding throughout Emacs.

  • @busterbrown8830
    @busterbrown8830 Год назад

    Great video.
    Just started using Emacs/Doom Emacs.
    Lots of good info here to learn.
    Looking forward to the rest of these Emacs starting videos.

  • @manchoym
    @manchoym Год назад +2

    wow, I just started learning emacs this week, and this video come on time just suit my needs I guess👍🏻 and I’m look forward editing video with emacs in the future😂

  • @alfredoneto4381
    @alfredoneto4381 Год назад +1

    DT, thanks a lot! This is something incredible! 😍

  • @muntazirsaad1603
    @muntazirsaad1603 Год назад +2

    Finally, i really wanted to learn how to configure emacs and make it my own but i didn't have the chance to do it, now i can.
    Thanks 🎉❤

  • @jeremyfirth
    @jeremyfirth Год назад +1

    Instead of restarting emacs so many times, the whole beauty of emacs is that you can update the config without restarting. After you enter a new configuration item, just put the cursor at the end of the line and hit C-x C-e (ctrl+x ctrl+e) and it will compile that section of your config file without having to restart emacs.

  • @JudeDominicEstrellado
    @JudeDominicEstrellado Год назад

    a really great and friendly guide! thank you so much!

  • @romangeneral23
    @romangeneral23 Год назад +6

    Emacs is LIFE. I just wish the IRS would make an emacs package already so I can send them my taxes via emacs.

  • @therealchonk
    @therealchonk Год назад +58

    When do you rename your channel to "DistroCrafters"?

    • @poms3559
      @poms3559 Год назад +6

      System Crafters will go out of business.

    • @marioschroers7318
      @marioschroers7318 Год назад +7

      DistroMacs or EmacsTube, I suppose! 😅

    • @amolvaidya4740
      @amolvaidya4740 Год назад +16

      Or simply Dmacs

    • @friedrichmyers
      @friedrichmyers Год назад +1

      Yeah. It is odd seeing both the channels effectively uploading the same thing.

  • @Yadobler
    @Yadobler Год назад

    I love this new series on EmacsOS with e(vi)l editor

  • @ricardor8044
    @ricardor8044 Год назад +6

    Game Idea
    Every time he says GNU Emacs, you take a shot

    • @SparQz
      @SparQz 5 месяцев назад

      Damn, you're almost on the same level as jim jones with that idea.... let the bodies hit the floor. sheesh!

  • @ScottVargovich
    @ScottVargovich Год назад +3

    DT, I've been following the tutorial up to 15:00. I'm not sure how you got the screen at 15:07 to come up? I have verified that I've typed and copied everything right. Please help!

  • @LG51hacker
    @LG51hacker Год назад +3

    Considering moving from neovim to emacs. This video was so helpful thanks.

    • @theodorealenas3171
      @theodorealenas3171 Год назад

      I highly recommend opening Emacs and poking around to understand its architecture. You may change the way you configure everything else

  • @MH_VOID
    @MH_VOID Год назад +9

    instead of doing `C-x C-+` multiple times, `C-x C-+ + + + + - - - - + - - 0 ++` and so on will work until you press another key (0 to reset zoom level)

  • @CuttinEJ
    @CuttinEJ Год назад

    I have returned to Linux after many years away. I’ve been aware of emacs but never tried to use it before now. I’ve had a couple of issues so far, but I’ve managed to figure out what I fat fingered and fix it. One problem that I can’t figure out is how to use the “leader” key. I think I’m supposed to press Alt+Space, but that opens up KRunner. I’d be ok using another key combination if I knew how we were naming the keys. I gather that we’re using some combination of lisp and org languages? I’m not familiar with either. At any rate, pretty cool so far and I’ll be sticking with it, even if it’s just a little at a time.

  • @DrSteveMorreale
    @DrSteveMorreale Год назад

    Thank you this is great information. I'm not familiar with the evil mode and bindings, just the GNU ones.

  • @paulhol6669
    @paulhol6669 Год назад +6

    So I followed along and did everything command for command in the video and when I reopened emacs nothing happened, elpaca didn't install anything, or at least it didn't show it on screen like DT's did, any ideas?

    • @paulhol6669
      @paulhol6669 Год назад +7

      Solved it. Emacs had recreated a directory in my home, so I deleted it (again) and did a killall emacs and restarted and it now behaved as in the video. (For anyone else who may run into this issue)

    • @impotentape7413
      @impotentape7413 Год назад +1

      @@paulhol6669 Thank you. I had the same issue.

    • @santiagovallejo4071
      @santiagovallejo4071 Год назад

      ​@@paulhol6669 don't work at all, I restarted the process a few times and still don't know what happens, I have same issue

    • @exnihilonihilfit6316
      @exnihilonihilfit6316 Год назад

      Same problem! Even though I deleted the emacs.d directory before beginning.
      I thought "WTF, what you said is gonna happen didn't happen, DT!" LOL
      Thanks.

    • @santiagovallejo4071
      @santiagovallejo4071 Год назад

      I fixed the issue hahah

  • @theodorealenas3171
    @theodorealenas3171 Год назад

    This video reminds me that I actually did spend plenty of time in Emacs and I just forgot how much it was.

  • @reisen888
    @reisen888 Год назад +1

    Great video.

  • @GambuSaur
    @GambuSaur Год назад

    Huge tutorial, thank you.

  • @AeriaVelocity
    @AeriaVelocity Год назад +2

    EMAAAAACS LET'S GOOOOO

  • @robrick9361
    @robrick9361 Год назад +5

    I'm here cause I heard Emacs can cure my autism.

  • @gmihai913
    @gmihai913 7 месяцев назад

    thank you kind stranger.

  • @itachielarbi3304
    @itachielarbi3304 Год назад +1

    I love emacs ❤

  • @bhaveshverma8629
    @bhaveshverma8629 Год назад +1

    You are gem sir......

  • @playerzero2365
    @playerzero2365 Год назад

    excellent video!!!! thanks!!!!

  • @marioschroers7318
    @marioschroers7318 Год назад +4

    Only yesterday, getting back to my Neovim config, I realized how all these text editors are basically horrible to configure.
    I had used a plugin, »Neorg« as a substitute for org-agenda, as I no longer use Emacs (I've barely used Doom Emacs for six months anyway).
    The problem with this plugin is it tends to break often enough when nvim gets updated. Recently, it's been throwing hundreds of Lua-related warnings on startup, and I really can't be bothered resolving these.
    Eventually, I found a setting »conceallevel=2«, which tends to blind out most of Markdown formatting syntax.
    So I figured to just use this setting and go with simple Markdown files instead.
    I also find package managers for text editors a major pain. I remember some of the obscure stuff from Doom Emacs, but Packer in Neovim is likewise horrible. If it weren't for the cheat sheets on GitHub, I'd probably just use Nano, lol.
    These text editors are a bliss once configured to your liking, but the way getting there seems like a nightmare.

    • @heroe1486
      @heroe1486 Год назад +2

      The lazy nvim package manager is straightforward to use, add to that Mason to manage LSP plugins and null LS to use linters/formatters as lsp and you're good to go.

    • @almarn
      @almarn Год назад

      You are just RIGHT....Use Sublime Text as an editor..perfect and uses a good IDE...the rest is just BS...endless list of config..poorly maintained plugins, always a NEW package manager...I know Emacs and Vim and Neovim there are just waste of time....Productivity is NOT linked to your editor...refactoring needs top of the line tools...Learning Emacs Lisp is useless.
      I was looking recently at the futur lua disaster for neovim...endless stream of extensions with logic...everywhere...like elisp for emacs
      vi is ok if you are doing system administration..

    • @sargon4307
      @sargon4307 Год назад

      Dude i wanted to stay in nvim only because of neorg, im scared now

    • @marioschroers7318
      @marioschroers7318 Год назад

      @@sargon4307 Can't post a screenshot here, but it keeps throwing a lot of 'file not found' errors about stuff in my system Lua directory, while I didn't change my configuration in months. I just kept updating Neovim with my regular system updates.
      Since I have no clue about Lua or the nuts and bolts of this plugin at all, I decided to ditch this, since it's not the first time happening by far.
      Of course, if you like it, feel free to use it. For me, these issues have just become too annoying to deal with, and too obscure for me to fix them.

  • @juantoromarty
    @juantoromarty Год назад

    Great contents, would be nice to divide it in chapters if it is not much to ask for.

  • @d3daiM
    @d3daiM Год назад

    what background/environment are you using with that header with your CPU, mem etc thats sick I want to install that

  • @patrickprucha5522
    @patrickprucha5522 Год назад

    Hey there Derek. I really appreciate your help on emacs. Thanks. However, all the help in config that i been doing following you video, just doesn't seem to work. I looked at the messages and it was stating that debian.el was loaded automatically. Im doing some research as to how to remove this with out messing up everything. Cheers and thanks again

  • @alerya100
    @alerya100 Год назад

    Cool video

  • @mrshockost
    @mrshockost Год назад +1

    why haven't i heard any talk about use-package?

  • @formulaetor8686
    @formulaetor8686 Год назад +1

    Hey Dt!, Do a video about Hyprland

  • @darren537
    @darren537 Год назад +1

    Nice

  • @sofiaknyazeva
    @sofiaknyazeva Год назад +1

    I had a emacs pinky last week so went back to standard Vim.

  • @hukunamutata
    @hukunamutata 6 месяцев назад

    Thank you good sir

  • @thcrs1
    @thcrs1 Год назад +1

    just came from "Interview with an Emacs Enthusiast in 2023 [Colorized]" lol

    • @thcrs1
      @thcrs1 Год назад

      I made it to 22 minutes. how is this real?

  • @farzadmf
    @farzadmf Год назад

    Nice video, thank you! How can I make my TAB work in the src block, it doesn't indent 🤔

  • @cmmmmmmmw
    @cmmmmmmmw Год назад

    Is this worth watching if I'm trying to get up and running with gnu emacs on windows?

  • @aliencreation8744
    @aliencreation8744 Год назад

    thanks dt =)

  • @marcelocarvalho4743
    @marcelocarvalho4743 Год назад

    "Once I finish configuring, following the steps you've shown, I exit and then restart Emacs. However, contrary to what I observed in the tutorial video, an error continues to appear in the window on the right side of the interface: 'Warning (emacs): Elpaca installer version mismatch.'" Is anyone else experiencing the same issue I am, mentioned in my previous comment, after following the configuration steps in the tutorial?

  • @mumk
    @mumk 5 месяцев назад

    Guys, I get weird indentation behaviour when using 'enter' and 'tab' key where I just want to create a newline or indenting the current line, but the actual behaviour is it keeps indenting the whole chunk of text in the source code block except for the current line, which is quite bizarre.

  • @rakandhiyaaa92
    @rakandhiyaaa92 Год назад

    Hello! for some reason my init.el is not loaded when I put it in .config/emacs folder, but it will load fine on .emacs.d, I know it's just a minor issue but it bugs me. I'd rather have all my config in a single folder than all over the place, do you know why that is?

  • @akojic5486
    @akojic5486 Год назад

    👏🏻👏🏻

  • @elihusolano5993
    @elihusolano5993 Год назад

    cant move to linux yet. I tried this on WSL2 but it did not start elpaca, sad.

  • @windows99
    @windows99 Год назад

    Wish this was a series for **total beginners**. Lots of steps skipped over.

  • @tylerdownfal4386
    @tylerdownfal4386 9 месяцев назад

    i just get errors now after use package evil... typed everything exactly checked 5 times...

  • @imnemo2327
    @imnemo2327 Год назад

    Which wm are you using?

  • @emerson.dvlmt.g
    @emerson.dvlmt.g 2 месяца назад

    This tutorial works now or is deprecated?

  • @dominikskeries
    @dominikskeries Год назад

    where do i have to clone your files in to on mac ?

  • @itrendustry534
    @itrendustry534 10 месяцев назад +1

    Such a strange IDE that emacs! Having installed it and wrote some simple common lisp code to it and nothing happens when trying to compile it.

  • @Oi-mj6dv
    @Oi-mj6dv 7 месяцев назад +1

    Hooooly shit org mode rules man

  • @awksedgreep
    @awksedgreep Год назад

    But those emacs floppies take longer than the rest of the distro at 28.8. And since then I’ve been a vi guy.

  • @MerkDolf
    @MerkDolf Год назад +2

    😄 👌👍

  • @CarlosReyes-ku6ub
    @CarlosReyes-ku6ub Год назад

    Niiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiceeeeeeeeeeeeeeeeeee

  • @2u263
    @2u263 Год назад

    🙏👍 The Best!ssssssdd

  • @patrickprucha5522
    @patrickprucha5522 Год назад

    Curious. Why would you use emacs at the same time as vim?

  • @kuyajj68
    @kuyajj68 Год назад

    I wish emacs could handle container linting

    • @samgould8567
      @samgould8567 Год назад

      Do you mean Dockerfile linting? You can use lsp-mode for that.

  • @MENTOKz
    @MENTOKz Год назад

    So C-c C-, brings up what block u want to insert like src or quote and others in base emacs

  • @BraxtonMeyer
    @BraxtonMeyer Год назад +4

    please stop hard quitting emacs and restarting. Just evaluate the current buffer. or tangle it if you have to. One of the best features of emacs is that you can modify it and see the changes as you go, and you're missing this here.

  • @patriciofernandez6500
    @patriciofernandez6500 Год назад +2

    What is emac?

  • @nicolassabio2470
    @nicolassabio2470 11 месяцев назад

    Honestly, I configured it from nvim.

  • @martinvandenbroek2532
    @martinvandenbroek2532 Год назад +1

    Tooooo much attention for "evil-mode". I would advice true newbies to stick with de default key-binding. They came from the GNU readline library which is also used on the bash shell. Much help resources also assume you use the default key-bindings. So think before switching to "evil-mode". 😊

  • @conscripto12
    @conscripto12 Год назад

    Somebody can help me. I got this warning
    Warning (Emacs): Elpaca installer version mismatch

  • @coptan99
    @coptan99 Год назад +1

    Why just don't use Neovim?

  • @thelinuxtube
    @thelinuxtube Год назад

    @DT >>>> NANO IS BETTER !!! PFFFTTT !!! HAHAHAH !!!!

  • @uuu12343
    @uuu12343 Год назад

    Who in the right mind thought that using Ctrl-X as a goddamn prefix was a good idea

  • @YourLocalPurpleAddict
    @YourLocalPurpleAddict Год назад

    bad vid just quit

  • @pzkmpfIV
    @pzkmpfIV Год назад +3

    Emacs is the best IDE, vim sucks

    • @abdullah6569
      @abdullah6569 Год назад +2

      explain why vim sucks

    • @coalhater392
      @coalhater392 Год назад +2

      As a neovim user I can confirm that vim doesn't suck.

    • @samgould8567
      @samgould8567 Год назад +2

      Emacs sucks more than Vim and especially NeoVim out of the box. I say this as a hardcore and longtime user of both Vim and Emacs.
      Hot take: Vim is to Emacs as VSCode is to Vim. What I means is that, progressively, you end up trading some ability to configure your editor to get something nice working quickly. No editor in the current landscape is harder than Emacs to set up to match modern sensibilities. Also, nothing can hold a candle to Emacs in terms of the configurability. Calling it “configurable” is really a slap in the face of what Emacs is about - it is malleable. You can literally change any aspect of the system at runtime by redefining or reversibly modifying any function or macro in any package or core functionality. It is extremely easy to figure out what to modify, as well, because every key press has documentation as to what is happening under the hood and you can jump straight to its source definition. There are many conveniences for evaluating lisp code within Emacs, to the point where you eventually don’t even think about it when you are doing something crazy or experimental. It’s liberating and extremely addicting.

    • @theodorealenas3171
      @theodorealenas3171 Год назад

      Sucking is deprecated. Use deez n instead.

    • @linusstrang984
      @linusstrang984 Год назад +2

      If vim sucked, why is evil-mode one of the most popular packages in Emacs? I use Emacs without evil-mode, but I can assure you the ed/vi/vim/neovim family of editors would not have lasted so long without being amazing.

  • @stoffepojken
    @stoffepojken 10 месяцев назад

    This guy is realy bad at Emacs. Is this a joke?

  • @moralfuxery
    @moralfuxery Год назад

    If you just want to wrtie some nice notes within Terminal move on. This is a rediculous waste of time. If i has days to do nothing but learn emacs then yeah itd be cool. This is a hobby and nothing more. VS code is superior to this anyway in the sense of ID. I just wanted to write notes in emacs rather than a GUI, guess ill stick with Vim.

    • @bhavyakukkar
      @bhavyakukkar Год назад +2

      "hobby and nothing more"? if coding is your job this is a great investment

  • @idjdbrvvskambvvv9007
    @idjdbrvvskambvvv9007 Год назад +1

    god dt you miss the best part about emacs emacs-eaf/emacs-application-framework