Hey Emacs, Don't Move My Windows! - Customizing display-buffer's behavior

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

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

  • @xvna2036
    @xvna2036 3 года назад +10

    Tackling the topic of emacs window placement... WITH A COUGH... This man has no fear...

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

      Hey, if I'm not laying in the bed with fever, I'm still going to be recording videos :)

  • @ukasz-nietwojinteres
    @ukasz-nietwojinteres 3 года назад +3

    That was a pretty good presentation. I've read official documentation like thrice and it just "clicked" now, thanks mate :)

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

      Hey, that's awesome, I'm glad it helped!

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

      I just saw that this morning, I need to take a closer look!

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

    You were looking for the function to return the current frame (at approximately 12:14), that would be the `(selected-frame)` function

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

    Hi David ,
    really great video series.
    could you please add the link of the follow-up video on `display-buffer-alist` ??

  • @allangjtterupernst6437
    @allangjtterupernst6437 2 года назад +2

    First of all thanks for some great videos!
    I'm an emacs novice, so please bear with me.
    I would like to move around e.g. LSP Error List, Flycheck errors, lsp-treemacs-symbols, and also be able to open them all with a single keybinding.
    To start somewhere, I've tried writing the following into my config.el:
    (display-buffer "lsp-treemacs-symbols"
    '(display-buffer-in-side-window . ((side . right))))
    But Doom Emacs says "error Invalid buffer" when I start the program.
    At the end of this video you say you will make more videos on this topic but I can't find them nor a playlist.
    Any help is appreciated - thanks :)

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

    Great introduction, thanks!
    I have a specific scenario, where I want "M-." to open a new window to the right and when run again from the right window, open a new buffer back in the right window (having the left windows as a sort of "primary window"). Maybe this is something you could touch on your next video?

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

    What is the global font you use in your emacs?

  • @amolvaidya4740
    @amolvaidya4740 2 года назад +1

    Hey David, would love to see the follow-up to this on display-buffer-alist. Is that possibly still in the works?

    • @SystemCrafters
      @SystemCrafters  2 года назад +2

      I need to get back to that, thanks for reminding me!

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

      looking forward to this video aswell David!

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

    Will this solve for window moving around whenever company-box or lsp-ui is showing up?

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

    this is so helpful

  • @richardfrangie3518
    @richardfrangie3518 2 года назад +1

    In this video you will NOT see almost any example, so if you don't speak English well or in general, it's better to read the github notes that he puts in the description