Fork me on GitHub
#emacs
<
2017-12-12
>
qqq02:12:04

is there a way to have an emacs frame 'own' the cider-error buffer ?

qqq02:12:15

i want this frame toonly display cider-error / I want cider-error to only be dispalyed in thsi frame

New To Clojure06:12:52

@bozhidar When 0.16 is going to be released?

bozhidar06:12:30

In the next week or two. You can use the snapshot even now, as @qqq is doing.

bozhidar06:12:26

@qqq seems something like this is doable (although everything is doable in Emacs) https://ftp.gnu.org/old-gnu/Manuals/elisp-manual-21-2.8/html_node/elisp_433.html

bozhidar06:12:44

I don’t use a multi-frame setup myself, so I’ve never thought much on this subject.

qqq10:12:11

@bozhidar:

(defun create-frame-for-cider-error ()
  (with-selected-frame (my-get-frame "frame-cider-error")
    (switch-to-buffer "*cider-error*") 
    (set-default-font "Monospace 18")
    (set-window-dedicated-p (frame-selected-window) 't)))


(defun create-frame-for-cider-repl ()
  (with-selected-frame (my-get-frame "frame-cider-repl")
    (switch-to-buffer "*cider-repl localhost*") 
    (set-default-font "Monospace 18") 
    (set-window-dedicated-p (frame-selected-window) 't)))


appears to work for me

bozhidar22:12:28

Great! :thumbsup: