I'd like to run my Emacs in daemon mode, and then use emacsclient
to actually display things. However, if I run emacsclient filename
, it shows up in the terminal, which isn't what I want; I instead have to pass it the -c
option.
However, that option always creates a new frame, which isn't what I want - I'd rather just have one frame, and have stuff open in a new buffer in the same frame if it already exists; otherwise, it should make me a new frame. However, I'm not sure how to do this.
Additionally, I want that one frame to be maximized, which I usually achieve my starting Emacs with the -mm
option; how would I ensure that a frame made by emacsclient
is also maximized?
emacsclient
(ie, before you've opened your first frame), but when there's a graphical frame already open,emacsclient filename
visitsfilename
in the existing frame (at least for me). Is it always the case that it opens in terminal for you, or just when you have no existing graphical frame? – Hetzel