aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2019-10-02 15:25:57 +0200
committerStefan Kangas2019-10-02 17:31:19 +0200
commit9cd3b50ca869e6a91668eb8bbc2a44617294b85c (patch)
tree8e5c5b17b989a89705608a573b7fb1c3e014d921
parent433dd77b4a4c52a98e1ce0438d6bd475cdb81f7b (diff)
downloademacs-9cd3b50ca869e6a91668eb8bbc2a44617294b85c.tar.gz
emacs-9cd3b50ca869e6a91668eb8bbc2a44617294b85c.zip
Don't mention server-socket-dir in FAQ
server-socket-dir is a defvar, and users should use the defcustom server-name instead. * doc/misc/efaq.texi (Using an already running Emacs process): Remove details on server-socket-dir, refer to Emacs Manual. (Bug#20675)
-rw-r--r--doc/misc/efaq.texi15
1 files changed, 2 insertions, 13 deletions
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi
index 219ad248cca..5a81fc00943 100644
--- a/doc/misc/efaq.texi
+++ b/doc/misc/efaq.texi
@@ -1990,19 +1990,6 @@ or by invoking @code{server-start} from @file{.emacs}:
1990(if (@var{some conditions are met}) (server-start)) 1990(if (@var{some conditions are met}) (server-start))
1991@end lisp 1991@end lisp
1992 1992
1993When this is done, Emacs by default creates a Unix domain socket named
1994@file{server} in a well-known directory, typically
1995@file{$XDG_RUNTIME_DIR/emacs} if Emacs is running under an X Window System
1996desktop and @file{$TMPDIR/emacs@var{userid}} otherwise. See the variable
1997@code{server-socket-dir}. Traditionally, Emacs used
1998@file{$TMPDIR/emacs@var{userid}} even when running under an X desktop;
1999if you prefer this traditional (and less-secure) behavior, you
2000can set the environment variable @env{EMACS_SOCKET_NAME} to
2001@samp{$TMPDIR/emacs@var{userid}/server} before invoking Emacs and
2002@samp{emacsclient}, although it will be your responsibility to create
2003the directory @samp{$TMPDIR/emacs@var{userid}} with appropriate
2004ownership and permissions.
2005
2006To get your news reader, mail reader, etc., to invoke 1993To get your news reader, mail reader, etc., to invoke
2007@samp{emacsclient}, try setting the environment variable @code{EDITOR} 1994@samp{emacsclient}, try setting the environment variable @code{EDITOR}
2008(or sometimes @code{VISUAL}) to the value @samp{emacsclient}. You may 1995(or sometimes @code{VISUAL}) to the value @samp{emacsclient}. You may
@@ -2045,6 +2032,8 @@ The most recent @samp{gnuserv} package is available at
2045 2032
2046@end itemize 2033@end itemize
2047 2034
2035For more information, @xref{Emacs Server,,, emacs, The GNU Emacs Manual}.
2036
2048@node Compiler error messages 2037@node Compiler error messages
2049@section How do I make Emacs recognize my compiler's funny error messages? 2038@section How do I make Emacs recognize my compiler's funny error messages?
2050@cindex Compiler error messages, recognizing 2039@cindex Compiler error messages, recognizing