emacsclient

emacsclient

TLDR

Open files in an existing Emacs server (using GUI if available)

$ emacsclient [filename]
copy

Open file in console mode (without X window)

$ emacsclient -nw [filename]
copy

Open a file in an existing emacs frame and return immediately

$ emacsclient -n [filename]
copy

Open file in a new emacs frame

$ emacsclient -c [filename]
copy

Evaluate command in a new emacs frame

$ emacsclient -c -e '([command])'
copy

Copied to clipboard
Dodo Farming