GNU bug report logs - #35300
27.0.50; emacsclient on remote sessions no longer works

Previous Next

Package: emacs;

Reported by: Óscar Fuentes <ofv <at> wanadoo.es>

Date: Tue, 16 Apr 2019 21:22:01 UTC

Severity: normal

Found in version 27.0.50

Full log


Message #41 received at 35300 <at> debbugs.gnu.org (full text, mbox):

From: Óscar Fuentes <ofv <at> wanadoo.es>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 35300 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#35300: 27.0.50; emacsclient on remote sessions no longer works
Date: Sat, 20 Apr 2019 19:59:27 +0200
Glenn Morris <rgm <at> gnu.org> writes:

>     *** emacsclient supports an EMACS_SOCKET_NAME environment variable.
>     If set, it provides the default server socket filename.
>     The command-line emacsclient option --socket-name overrides it.
>
>     *** The Emacs server/client now use $XDG_RUNTIME_DIR/emacs for sockets,
>     if the XDG_RUNTIME_DIR environment variable is defined.
>     This is more secure than the old practice of using TMPDIR.
>     If your client cannot find the server socket, check XDG_RUNTIME_DIR
>     has the same value in both client and server environments.
>     You can use the EMACS_SOCKET_NAME environment variable (see above)
>     to specify a particular socket.

This is an improvement, yes. But I'll like to see even a stronger hint
on the output of emacsclient, once we agree that there is no better
solution than to use XDG_RUNTIME_DIR.

It is unfortunate that this change added more requirements to
emacsclient to work correctly.




This bug report was last modified 6 years and 52 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.