GNU bug report logs - #33847
27.0.50; emacsclient does not find server socket

Previous Next

Package: emacs;

Reported by: Ulrich Mueller <ulm <at> gentoo.org>

Date: Sun, 23 Dec 2018 09:49:01 UTC

Severity: normal

Tags: patch

Merged with 41707

Found in version 27.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Ulrich Mueller <ulm <at> gentoo.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 33847 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>,
 eggert <at> cs.ucla.edu, teika <at> gmx.com, ulm <at> gentoo.org
Subject: Re: bug#33847: 27.0.50; emacsclient does not find server socket
Date: Thu, 22 Jul 2021 20:30:15 +0200
>>>>> On Thu, 22 Jul 2021, Eli Zaretskii wrote:

> However, it sounds like Ulrich wasn't happy with this solution back
> then,

I don't think I said that. I was only surprised that the fix was so
complicated. :)

> so perhaps we should first see that the problem still exists and that
> everyone involved are okay with installing this, modulo minor fixes?

The problem still exists in the current master: If the server is started
in a non-XDG environment then it will create its socket in /tmp, and an
emacsclient started in an XDG environment won't find the socket.

In my original report I had suggested:

| - Have emacsclient fall back to TMPDIR as well when no socket is found
|   under XDG_RUNTIME_DIR.

I have tested the patch at
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33847;filename=client.patch;att=1;msg=123
and the client falls back to /tmp as it should.




This bug report was last modified 3 years and 225 days ago.

Previous Next


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