aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2019-05-04 12:22:49 +0300
committerEli Zaretskii2019-05-04 12:22:49 +0300
commit04340a8e2f32c12e00000373e0067c570fd2a7cb (patch)
tree56adbf8a9ac0f1b1b8208e73fb285569bcbb7352
parent3e29de2ce03d19af84d6dea361e13f0a398e79f1 (diff)
downloademacs-04340a8e2f32c12e00000373e0067c570fd2a7cb.tar.gz
emacs-04340a8e2f32c12e00000373e0067c570fd2a7cb.zip
Improve documentation of the daemon and emacsclient
* doc/emacs/misc.texi (emacsclient Options): * doc/emacs/cmdargs.texi (Initial Options): Document that using --daemon=NAME will need to specify the same NAME when invoking 'emacscilent'. (Bug#35547)
-rw-r--r--doc/emacs/cmdargs.texi16
-rw-r--r--doc/emacs/misc.texi3
2 files changed, 12 insertions, 7 deletions
diff --git a/doc/emacs/cmdargs.texi b/doc/emacs/cmdargs.texi
index c870e6dad9d..a905b8f688f 100644
--- a/doc/emacs/cmdargs.texi
+++ b/doc/emacs/cmdargs.texi
@@ -347,13 +347,15 @@ Start Emacs with minimum customizations. This is similar to using
347@itemx --bg-daemon[=@var{name}] 347@itemx --bg-daemon[=@var{name}]
348@itemx --fg-daemon[=@var{name}] 348@itemx --fg-daemon[=@var{name}]
349Start Emacs as a daemon: after Emacs starts up, it starts the Emacs 349Start Emacs as a daemon: after Emacs starts up, it starts the Emacs
350server without opening any frames. 350server without opening any frames. You can then use the
351(Optionally, you can specify an explicit @var{name} for the server.) 351@command{emacsclient} command to connect to Emacs for editing.
352You can then use the @command{emacsclient} command to connect to Emacs 352(Optionally, you can specify an explicit @var{name} for the server; if
353for editing. @xref{Emacs Server}, for information about using Emacs 353you do, you will need to specify the same @var{name} when you invoke
354as a daemon. A ``background'' daemon disconnects from the terminal 354@command{emacsclient}, via its @option{--socket-name} option, see
355and runs in the background (@samp{--daemon} is an alias for 355@ref{emacsclient Options}.) @xref{Emacs Server}, for information
356@samp{--bg-daemon}). 356about using Emacs as a daemon. A ``background'' daemon disconnects
357from the terminal and runs in the background (@samp{--daemon} is an
358alias for @samp{--bg-daemon}).
357 359
358@item --no-desktop 360@item --no-desktop
359@opindex --no-desktop 361@opindex --no-desktop
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index 2d1617ef964..fc6b4cf1e7c 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -1925,6 +1925,9 @@ omitted, @command{emacsclient} connects to the first server it finds.
1925If you set @code{server-name} of the Emacs server to an absolute file 1925If you set @code{server-name} of the Emacs server to an absolute file
1926name, give the same absolute file name as @var{server-name} to this 1926name, give the same absolute file name as @var{server-name} to this
1927option to instruct @command{emacsclient} to connect to that server. 1927option to instruct @command{emacsclient} to connect to that server.
1928You need to use this option if you started Emacs as daemon
1929(@pxref{Initial Options}) and specified the name for the server
1930started by the daemon.
1928 1931
1929@item -t 1932@item -t
1930@itemx --tty 1933@itemx --tty