1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02: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

24 lines
543 B
Markdown

# 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}})'`