ecb-home / ecb

ECB Main Repository
Other
54 stars 11 forks source link

ecb floating window (maybe a request feature) #27

Open bryanmaina opened 7 years ago

bryanmaina commented 7 years ago

I would like to know if it is possible to open ecb window in another frame.

This is a fake effect of what I would like to achieve:

ECB floating window

and this is a demonstration of speedbar doing it while still keeping interaction with the edit window:

SPEEDBAR floating window

If you wonder how speedbar does it, this is what I put in my .emacs for that:

;; speedbar 
(use-package speedbar :ensure t
  :config
  (when window-system          ; start speedbar if we're using a window system
    (speedbar t)
    (setq speedbar-mode-hook '(lambda ()
                (interactive)
                (other-frame 0)))))

Also, it would be nice to get an option that sets ecb to never be the only window opened.

The reason behind this request is that I noticed a bug if I accidentally open "neotree" or "speedbar". It erases the edit window. And if I open the minibuffer in one the ecb windows it either deletes the edit window or just keeps the minibuffer opened in that window for ever (it does this randomly - sometimes I can just close the minibuffer). I am also using i3wm as a window manager. Making this features available would be nice because it would make possible to display ecb on an external monitor or send it in a scratchpad to save place on screen and make it appear only when needed. Also ecb won't not be forgot in the scratchpad when closing emacs if it can't be the only window opened.