From 0bd0ac4ab9683e3f320bc536aac69cfe62ad20fc Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Tue, 3 Dec 2019 23:38:00 +0700 Subject: [PATCH 1/2] Popup rules for more builtin types process, timer, abbreviations, output, occur buffers are all better displayed in a maximized fashion. Otherwise, they aren't really useful. Signed-off-by: Rudi Grinberg --- modules/ui/popup/config.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/ui/popup/config.el b/modules/ui/popup/config.el index f34a49835..22ea2b4fe 100644 --- a/modules/ui/popup/config.el +++ b/modules/ui/popup/config.el @@ -158,6 +158,12 @@ prevent the popup(s) from messing up the UI (or vice versa)." ("^\\*Backtrace" :vslot 99 :size 0.4 :quit nil) ("^\\*CPU-Profiler-Report " :side bottom :vslot 100 :slot 1 :height 0.4 :width 0.5 :quit nil) ("^\\*Memory-Profiler-Report " :side bottom :vslot 100 :slot 2 :height 0.4 :width 0.5 :quit nil) + ("^\\*Proced*" :ignore t) + ("^\\*timer-list*" :ignore t) + ("^\\*Process-List*" :ignore t) + ("^\\*Abbrevs*" :ignore t) + ("^\\*Output*" :ignore t) + ("^\\*Occur*" :ignore t) ("^\\*unsent mail*" :ignore t))) (add-hook 'doom-init-ui-hook #'+popup-mode 'append) From 894c4e1855eee67b409357309d316047f0eab0af Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Wed, 4 Dec 2019 09:46:27 +0700 Subject: [PATCH 2/2] Fix popup ignore rules * Process Lis is without a space * Escape trailing star * Combine all rules --- modules/ui/popup/config.el | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/modules/ui/popup/config.el b/modules/ui/popup/config.el index 22ea2b4fe..4a6796d89 100644 --- a/modules/ui/popup/config.el +++ b/modules/ui/popup/config.el @@ -158,13 +158,7 @@ prevent the popup(s) from messing up the UI (or vice versa)." ("^\\*Backtrace" :vslot 99 :size 0.4 :quit nil) ("^\\*CPU-Profiler-Report " :side bottom :vslot 100 :slot 1 :height 0.4 :width 0.5 :quit nil) ("^\\*Memory-Profiler-Report " :side bottom :vslot 100 :slot 2 :height 0.4 :width 0.5 :quit nil) - ("^\\*Proced*" :ignore t) - ("^\\*timer-list*" :ignore t) - ("^\\*Process-List*" :ignore t) - ("^\\*Abbrevs*" :ignore t) - ("^\\*Output*" :ignore t) - ("^\\*Occur*" :ignore t) - ("^\\*unsent mail*" :ignore t))) + ("^\\*\\(?:Proced\\|timer-list\\|Process List\\|Abbrevs\\|Output\\|Occur\\|unsent mail\\)\\*" :ignore t))) (add-hook 'doom-init-ui-hook #'+popup-mode 'append)