about summary refs log tree commit diff
path: root/users/grfn
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-04-16T14·51-0400
committergrfn <grfn@gws.fyi>2021-04-16T14·56+0000
commit07c9c7234713e3021277dbca66679e3bec0bac2c (patch)
treefcd8d7d3ac6c9653be3bfba9263bc5d008f7ddca /users/grfn
parentb090584af890de5a590fa8299409db733ca86ca1 (diff)
feat(grfn/emacs): Configure notmuch popup window rules r/2518
I want notmuch to open in a full window, not as a bottom-of-the-screen
popup.

Change-Id: If539ff315fabae94d5a849c526c4322f9bdf8c61
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3024
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/grfn')
-rw-r--r--users/grfn/emacs.d/email.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/users/grfn/emacs.d/email.el b/users/grfn/emacs.d/email.el
index b6e51f686e1c..9510dd3ed15e 100644
--- a/users/grfn/emacs.d/email.el
+++ b/users/grfn/emacs.d/email.el
@@ -26,3 +26,11 @@
           (:name "personal" :query "tag:inbox and tag:important and path:personal/**"
                  :key "p"))
         message-send-mail-function 'message-send-mail-with-sendmail)
+
+(set-popup-rule! "^\\*notmuch-saved-search-"
+  :ignore t)
+
+(set-popup-rule! (lambda (_ action)
+                   (eq (car action)
+                       'display-buffer-same-window))
+  :ignore t)