From 20795167078bf165a4c1f22792c6f58d5018eba0 Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Mon, 26 Sep 2022 15:21:10 -0400 Subject: [PATCH] =?UTF-8?q?=CE=B1=20first=20attempt=20to=20display-buffer?= =?UTF-8?q?=20rules?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- global.org | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/global.org b/global.org index f8ee413..5118335 100644 --- a/global.org +++ b/global.org @@ -174,6 +174,25 @@ #+begin_src emacs-lisp (setq split-height-threshold 0) #+end_src +*** Display-buffer rules + First, treat ~mu4e-headers~ properly + #+begin_src emacs-lisp + (add-to-list 'display-buffer-alist + '("\\*mu4e-headers\\*" + (display-buffer-in-side-window) + (side . top ) + (slot . 0) + (window-height . 20))) + #+end_src + Then, treat the ~calendar~ + #+begin_src emacs-lisp + (add-to-list 'display-buffer-alist + '("\\*Calendar\\*" + (display-buffer-in-side-window) + (side . bottom ) + (slot . 0) + (window-height . 10))) + #+end_src ** Scrolling Scrolling setup #+begin_src emacs-lisp