1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00
tldr/pages/common/emacsclient.md
bl-ue 8ebd171d6f
*: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00

543 B

emacsclient

Open files in an existing emacs server. More information: https://www.emacswiki.org/emacs/EmacsClient.

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

emacsclient {{filename}}

  • Open file in console mode (without X window):

emacsclient -nw {{filename}}

  • Open a file in an existing emacs frame and return immediately:

emacsclient -n {{filename}}

  • Open file in a new emacs frame:

emacsclient -c {{filename}}

  • Evaluate command in a new emacs frame:

emacsclient -c -e '({{command}})'