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

25 lines
543 B
Markdown
Raw Normal View History

2017-12-28 15:30:04 +05:30
# emacsclient
> Open files in an existing emacs server.
2019-06-08 01:04:00 +01:00
> More information: <https://www.emacswiki.org/emacs/EmacsClient>.
2017-12-28 15:30:04 +05:30
2018-01-03 14:12:26 +05:30
- Open files in an existing Emacs server (using GUI if available):
`emacsclient {{filename}}`
2017-12-28 15:30:04 +05:30
- Open file in console mode (without X window):
`emacsclient -nw {{filename}}`
- Open a file in an existing emacs frame and return immediately:
2017-12-28 15:30:04 +05:30
`emacsclient -n {{filename}}`
2020-07-18 04:17:43 +08:00
- Open file in a new emacs frame:
`emacsclient -c {{filename}}`
- Evaluate command in a new emacs frame:
2020-07-18 04:17:43 +08:00
`emacsclient -c -e '({{command}})'`