From 5a15eacc0de54463306d77c4cc0f79736d656735 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 8 Feb 2022 09:46:59 -0800 Subject: [PATCH] [oni-org] Specify some more properties on the capture frame The name helps to specify in the window manager that it shouldn't be tiled, and the width and height are just stylistic choices. --- oni-org/oni-org.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index 4107153..5d27a70 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -616,7 +616,11 @@ After running it once remove it from `org-capture-after-finalize-hook'." (defun oni-org-run-capture-in-dedicated-frame () "Run `org-capture' in a dedicated frame." - (with-selected-frame (make-frame '((minibuffer))) + (interactive) + (with-selected-frame (make-frame '((minibuffer . nil) + (name . "emacs-org-capture") + (width . 80) + (height . 24))) (org-capture nil "t") (delete-other-windows) (setf (frame-width) 80)