diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-04-02 10:51:11 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-04-02 10:51:11 -0700 |
commit | 938377872a1e0fd5fd34784bf93033809ab54ddf (patch) | |
tree | 04ee6c4af862e6163a6993f36670129ffeb48b5a | |
parent | 2d1f67c41b1d7a39d07214e60131d73fdc709002 (diff) | |
download | dotfiles-938377872a1e0fd5fd34784bf93033809ab54ddf.tar.gz |
tweak Sly side windows
- Increase height.
- Also catch *sly-compilation* windows.
- Drop some commented out display functions.
-rw-r--r-- | .emacs.d/init-spw.el | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/.emacs.d/init-spw.el b/.emacs.d/init-spw.el index 6724c643..a1d98a07 100644 --- a/.emacs.d/init-spw.el +++ b/.emacs.d/init-spw.el @@ -512,28 +512,22 @@ I use by default)." ;; useful to have them be independent of the main two windows ;; displaying code, Magit etc. Get going by hitting C-c C-z to bring ;; up the REPL. - ("\\*\\(slime\\|sly\\)-inspector\\*" - (;; display-buffer-reuse-window - ;; display-buffer-in-previous-window - display-buffer-in-side-window) - (window-height . 0.20) + ("\\*\\(slime\\|sly\\)-\\(inspector\\|compilation\\)\\*" + display-buffer-in-side-window + (window-height . 0.30) (slot . 0) (side . bottom)) ("^\\*\\(sldb\\|sly-db\\)" - (;; display-buffer-reuse-window - ;; display-buffer-in-previous-window - display-buffer-in-side-window) - (window-height . 0.20) + display-buffer-in-side-window + (window-height . 0.30) (slot . 1) ;; might have nested debuggers replace the repl in slot 2 (side . bottom)) ;; Keep the repl visible even when we're in the debugger, as there ;; might be useful output there even though we can't evaluate anything ;; else. ("^\\*\\(slime-repl\\|sly-mrepl\\)" - (;; display-buffer-reuse-window - ;; display-buffer-in-previous-window - display-buffer-in-side-window) - (window-height . 0.20) + display-buffer-in-side-window + (window-height . 0.30) (slot . 2) (side . bottom)))) |