Subject: Re: bug#76870: 31.0.50; server-start with non-nil arg LEAVE-DEAD can write confusing warnings

From: Eli Zaretskii <[email-masked]>
Date: Sun, 09 Mar 2025 21:54:56 +0200

> Date: Sun, 9 Mar 2025 20:46:27 +0100
> Cc: [email-masked]
> From: Jens Schmidt <[email-masked]>
> 
> 
> C-u M-x server-start RET
> 
>   ⛔ Warning (server): Unable to stop an external Emacs server.

How do you know it is an "external" server process?  Stopping the
server could fail for a variety of reasons, and I don't think we
should confuse the user with our guesses, except if we present that as
a guess.  So something like

  ⛔ Warning (server): Unable to stop the server.
  The existing Emacs server, called "server", could not be stopped.
  (Perhaps it was run from a different Emacs session?)
  You can try stopping the server forcibly by calling M-x server-force-delete.