Subject: bug#65005: server hangs forever if not properly initialized

From: Eli Zaretskii <[email-masked]>
Date: Wed, 02 Aug 2023 14:25:34 +0300

> From: "Brent B. Powers" <[email-masked]>
> Date: Tue, 1 Aug 2023 18:24:35 -0500
> 
> server-start fails to start, with the message:
> 
> apply: Cannot bind server socket: No such file or directory
> 
> To reproduce:
> 
> 1. Kill any existing emacs-server
> 2. Rename or delete $XDG_RUNTIME_DIR/emacs
> 3. Execute server-start
> 
> The problem is that the directory specified in XDG_RUNTIME_DIR existed, but with no emacs
> subdirectory. I do believe that emacs ought simply create the directory

It already does, so I cannot reproduce the problem you see.

In which version of Emacs did you see this?  Your report doesn't
include the details of your build.