ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

Emacs Does Everything, Including Viewing PDFs and Diffs

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ธ.ค. 2023
  • Configuring emacs...it's a neverending job. In the last few weeks, I've made a few additions to my config, including adding the ability to read and annotate PDFs from inside Emacs. Also, I've been playing around with 'ediff' which is a builtin 'diff' program...
    WANT TO SUPPORT THE CHANNEL?
    💰 Patreon: / distrotube
    💳 Paypal: www.youtube.co...
    🛍️ Amazon: amzn.to/2RotFFi
    👕 Teespring: teespring.com/...
    DT ON THE WEB:
    🕸️ Website: distrotube.com/
    📁 GitLab: gitlab.com/dwt1
    🗨️ Mastodon: fosstodon.org/...
    👫 Reddit: / distrotube
    📽️ LBRY/Odysee: odysee.com/@Di...
    FREE AND OPEN SOURCE SOFTWARE THAT I USE:
    🌐 Brave Browser - brave.com/dis872
    📽️ Open Broadcaster Software: obsproject.com/
    🎬 Kdenlive: kdenlive.org
    🎨 GIMP: www.gimp.org/
    💻 VirtualBox: www.virtualbox...
    🗒️ Doom Emacs: github.com/hli...
    Your support is very much appreciated. Thanks, guys!

ความคิดเห็น • 53

  • @nobie4955
    @nobie4955 8 หลายเดือนก่อน +39

    At this point your computer might as well be a bootloader for emacs

    • @mattinykanen4780
      @mattinykanen4780 8 หลายเดือนก่อน +1

      Not quite, because Emacs does need some enviroment variables.

    • @felixjohnson3874
      @felixjohnson3874 8 หลายเดือนก่อน +12

      Or as I've taken to calling it, GNU+Emacs

    • @joshua_lee732
      @joshua_lee732 8 หลายเดือนก่อน

      Don't need them if you use Emacs for your init system ​@@mattinykanen4780

    • @bigmikeobama5314
      @bigmikeobama5314 8 หลายเดือนก่อน

      @@felixjohnson3874one day emacs will make toast

  • @amolvaidya4740
    @amolvaidya4740 8 หลายเดือนก่อน +5

    For anyone who might not know: you can also use Vim's gu/gU lowercase/uppercase verbs. For example, if you want to uppercase a word you can execute the gU verb on an inner word (iw) noun: gUiw.

  • @draxil42
    @draxil42 8 หลายเดือนก่อน +3

    "I will be forever working on my emacs config file" - you and me both :)

  • @HarshYadav-yi7tv
    @HarshYadav-yi7tv 8 หลายเดือนก่อน +2

    The way he has documented everything in org mode is just looking So, Coooooooool

  • @crazychicken0378
    @crazychicken0378 8 หลายเดือนก่อน +5

    I might be an idiot but I couldn’t you use
    :hook (pdf-view-mode . (lambda () (interactive) (display-line-numbers-mode -1))
    instead of adding the hook after the use-package declaration?
    If so I doubt it changes much. It just looks nicer to me. Sorry if wrong

  • @HarshYadav-yi7tv
    @HarshYadav-yi7tv 8 หลายเดือนก่อน

    Every Time I look at his setup it just looks beautiful than mine. The Icon thing in the bar with colord underlines are looking just Gorgeous

    • @Shri
      @Shri 2 หลายเดือนก่อน

      It is because he is using Doomemacs

  • @Brucejuz
    @Brucejuz 3 วันที่ผ่านมา

    Thank you for your sharing. Since in Emacs , we can viewing PDFs. So how can we take notes in emacs org-mode when reading the PDF. So that we can link the notes and PDF together? Thanks a lot!

  • @0xDEAD-C0DE
    @0xDEAD-C0DE 8 หลายเดือนก่อน +1

    Emacs as your BIOS configuration too.

  • @ZeStig
    @ZeStig 8 หลายเดือนก่อน +1

    Oh yeah, I've waited for this vid

  • @martinvandenbroek2532
    @martinvandenbroek2532 8 หลายเดือนก่อน +2

    Next to upcase and downcase there is also a capitalize word function M-c for non-evil mode emacs. 😉

    • @junwu22
      @junwu22 7 หลายเดือนก่อน

      And M-u / M-l to uppercase/downcase the whole word ;)

  • @2u263
    @2u263 8 หลายเดือนก่อน +2

    That annotation is great for research DT ! OMG I'm going to wind up ditching Pop_OS How much would you charge to help someone put together a custom OS with personal use. I love to write too.

  • @ManjaroBlack
    @ManjaroBlack 8 หลายเดือนก่อน

    The emacs elite will have generational wealth that the muggles will envy. Put your config in your trust.

  • @krux02
    @krux02 8 หลายเดือนก่อน

    Regarding 16:20, emacs also has capitalize-word, maybe you want to bind that as well (I use it often).

  • @Chuck3D
    @Chuck3D 2 หลายเดือนก่อน

    Muito simples, muy simple, very easy, veasy

  • @rootcao1360
    @rootcao1360 3 หลายเดือนก่อน

    Is there a way to sync readwise highlights to Emacs Org?

  • @sirrobertdowneysenior8080
    @sirrobertdowneysenior8080 8 หลายเดือนก่อน

    Hey dt for future one remember to add yas-snippets-snippets and disable org-tempo.

  • @ManjaroBlack
    @ManjaroBlack 8 หลายเดือนก่อน

    @DistroTube I tried using your DTOS in a VM. All is good except the primary way I interact with my VM’s, xrdp. Can you take a look at getting that working in DTOS?

  • @Zakaros1000
    @Zakaros1000 8 หลายเดือนก่อน +1

    *Excuse me, I'm currently using Doom Emacs, how can I debug Javascript/Typescript using that?*

    • @krux02
      @krux02 8 หลายเดือนก่อน +2

      debugging javascript is still done best in the browser with builtin debugging tools. I don't like that tool, but it is what we have.

  • @OleguitoSwagbucks
    @OleguitoSwagbucks 7 หลายเดือนก่อน

    What about middle mouse click scroll feature? Is it possible?

  • @christer8964
    @christer8964 8 หลายเดือนก่อน

    Will you make an episode about tree-sitter soon?

  • @zZGzHD
    @zZGzHD 6 หลายเดือนก่อน

    5 seconds in and yeah that's why we made doom ;)

  • @sarjannarwan6896
    @sarjannarwan6896 8 หลายเดือนก่อน

    Would be interesting to give emacs a try, but can't imagine how I could live without vim motions.

    • @sarjannarwan6896
      @sarjannarwan6896 8 หลายเดือนก่อน

      Just looked at doom emacs and seems like that might not be as big a problem

    • @TheBusttheboss
      @TheBusttheboss 7 หลายเดือนก่อน

      @@sarjannarwan6896 You can also install and configure Emacs evil. It's great.

  • @bosmanka
    @bosmanka 8 หลายเดือนก่อน +1

    Is this latest eMacs config in your repo?

    • @DistroTube
      @DistroTube  8 หลายเดือนก่อน

      It's in my Dotfiles repo.

    • @Michael_Knight823
      @Michael_Knight823 8 หลายเดือนก่อน +1

      Yes, I can confirm it's there. I think he posts the config before he makes the video.

  • @akojic5486
    @akojic5486 8 หลายเดือนก่อน

    👏🏻👏🏻👏🏻🙌🏻

  • @MerkDolf
    @MerkDolf 8 หลายเดือนก่อน

    😄 👍 👌 ...

  • @petezzzz
    @petezzzz 8 หลายเดือนก่อน

    Yea, but does it run Crysis?

    • @Michael_Knight823
      @Michael_Knight823 8 หลายเดือนก่อน

      With the proper finagling, I don't see why not! 😂

  • @smaplessmap5355
    @smaplessmap5355 8 หลายเดือนก่อน +1

    Emacs doom runs rly sloppy on win10 wsl1 or 2

    • @DistroTube
      @DistroTube  8 หลายเดือนก่อน +1

      I don't know anything about WSL but Emacs is cross-platform and has an actual Windows client. I'd suggest trying that...and running the standard GUI client instead of trying to run Emacs in a terminal.

    • @smaplessmap5355
      @smaplessmap5355 8 หลายเดือนก่อน

      @@DistroTube thx, so far. Tried wsl cause recommended by doom... Will try the native win build though next.

  • @HarshYadav-yi7tv
    @HarshYadav-yi7tv 8 หลายเดือนก่อน

    There is no purpose of using Emacs. Emacs is your purpose of life :')

  • @sprinklednights
    @sprinklednights 8 หลายเดือนก่อน +1

    I feel like I'd be overwhelmed if I was to use emacs

    • @akashp01
      @akashp01 8 หลายเดือนก่อน

      not really, these guys who show off their workflows are idiots. They dont show off whats emacs but their own personalities, Emacs is very malleable and it takes shape according to the user. Elisp is very easy to get into, it has rules that youd deem rational by your own everyday experiences. It takes some time to "get it", 3 weeks at best but youll be on your own path in one evening. The rest of the time you'll be injecting your own self into the programme by your own volition.
      you can only be interested in only one thing only and not make a live in exp. with emacs.

    • @akashp01
      @akashp01 8 หลายเดือนก่อน

      but most important thing is to, come up with procedures and not make your config a mess. Timing is important, practice separation of modules, abstract away complexities. Youll have a mature configuration that suits your workflow in a very short period of time if you begin from scratch vanilla. Dont watch these emacs videos on the internet. These videos do more to confuse than help

    • @glidersuzuki5572
      @glidersuzuki5572 8 หลายเดือนก่อน +2

      ​@@akashp01why are they idiots? It's their workflow and what works for them. Take what you need. No need to blindly follow it word by word. Are you also idiot for having a different config?

    • @akashp01
      @akashp01 8 หลายเดือนก่อน

      @@glidersuzuki5572 these shouldnt be geared to new users who havent experienced emacs and dont know its grammar. It confuses them, even mystifies the most rational programme. Emacs is very easy and it is not scary, it adapts around you very soon more than you adapt around it

    • @visforvalerie
      @visforvalerie 8 หลายเดือนก่อน +1

      @@akashp01 idiots?

  • @exnihilonihilfit6316
    @exnihilonihilfit6316 8 หลายเดือนก่อน +1

    Man, this keyboard is WAY too loud.
    If it was half the loudness, or possibly even just 2/3rds, it may have not been this jarring.
    But this is almost painful to my ears! It's way louder than your voice. I have to play you quietly so it doesn't hurt my ears so much. Otherwise, I live in fear and apprehension of the next keystrokes. Ugh.

  • @sirrobertdowneysenior8080
    @sirrobertdowneysenior8080 7 หลายเดือนก่อน

    Hey dt i seen your dotfile and eradio in it, consider empv over it better multimedia players it also shows the current playing radio song name in radio.