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

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

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

  • @highamnj
    @highamnj 3 года назад +6

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

    • @SystemCrafters
      @SystemCrafters  3 года назад

      Thanks! With a video this long, it's a necessity :)

  • @auroradraco9974
    @auroradraco9974 3 года назад +9

    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

    • @SystemCrafters
      @SystemCrafters  3 года назад +1

      Let me know your thoughts after watching it! I'm trying a slightly different approach this time to see if it helps demonstrate better the usage of what we cover.

    • @auroradraco9974
      @auroradraco9974 3 года назад

      @@SystemCrafters Yeah, I like this approach. I didn't mind the previous one though either. Both get the message delivered properly imo

  • @VipinBalakrishnan
    @VipinBalakrishnan 3 года назад +3

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

  • @maximkuzmin2177
    @maximkuzmin2177 3 года назад

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

  • @diegonayalazo
    @diegonayalazo 2 года назад

    Always learning. Thanks for the amazing content.

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

    I fucking love you and this series thank you so much

  • @lassekliemann6251
    @lassekliemann6251 3 года назад +5

    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!

  • @Ggldoork
    @Ggldoork 3 года назад

    Great as usual!

  • @inversebrah
    @inversebrah 3 года назад

    great stuff ✌️

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

    how do i dim every closing parentheses ")"?

  • @Yas-gs8cm
    @Yas-gs8cm 3 года назад

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

    • @SystemCrafters
      @SystemCrafters  3 года назад

      I'm lucky to have a couple of videos with no dislikes!

  • @PedroAbelleiraSeco
    @PedroAbelleiraSeco 3 года назад +1

    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?

    • @SystemCrafters
      @SystemCrafters  3 года назад +1

      Thanks Pedro! That is the Keycast package, you can see my config for it at the end of the code block in this section of my dotfiles: github.com/daviwil/dotfiles/blob/master/Emacs.org#streaming

  • @cateru8053
    @cateru8053 3 года назад

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

  • @AndersJackson
    @AndersJackson 3 года назад

    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?

    • @abarocio80
      @abarocio80 3 года назад

      For number 1, you could replace «(search-forward ":tangle " nil t)» with «(search-forward-regexp ":tangle +" nil t)».

    • @abarocio80
      @abarocio80 3 года назад

      For number 2, you could paste the following in your scratch buffer and execute it. It searches for a start-marker and saves the point, then does the same for an end-marker, and also saves the point, then using those two points, deletes the region between those points and writes back something else.
      ;; START-MARKER
      Here we could put many, many things
      ;; Even comments
      ;; END-MARKER
      (save-excursion
      (beginning-of-buffer)
      (search-forward-regexp "^;; START-MARKER" nil t)
      (beginning-of-line)
      (let ((start-point (point)))
      (search-forward-regexp "^;; END-MARKER" nil t)
      (end-of-line)
      (let ((end-point (point)))
      (delete-region start-point end-point)))
      (insert ";; START-MARKER
      ")
      (insert "
      ;; This was fun!

      ")
      (insert ";; END-MARKER
      ")
      )
      Have fun!

  • @rashie
    @rashie 3 года назад

    👍👍

  • @MarcoPrevedello92
    @MarcoPrevedello92 3 года назад

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

    • @SystemCrafters
      @SystemCrafters  3 года назад

      Not bad! Though I think I would say it wrong every single time :)

  • @abarocio80
    @abarocio80 3 года назад

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

    • @SystemCrafters
      @SystemCrafters  3 года назад +1

      Argh, I wonder if it considered the code Snippets spam? Sorry about that!

    • @abarocio80
      @abarocio80 3 года назад

      @@SystemCrafters Yea, may be. Thanks, any way!