unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Peter Oliver <p.d.oliver@mavit.org.uk>
To: Ulrich Mueller <ulm@gentoo.org>
Cc: Jim Porter <jporterbugs@gmail.com>, emacs-devel@gnu.org
Subject: Re: emacsclient startup messages
Date: Sun, 7 Nov 2021 09:49:27 +0000 (GMT)	[thread overview]
Message-ID: <89f5b07a-9674-5bbd-3c4f-f58e50cf3648@froglet.home.mavit.org.uk> (raw)
In-Reply-To: <u4k8qxzfd@gentoo.org>

On Fri, 5 Nov 2021, Ulrich Mueller wrote:

>>>>>> On Fri, 05 Nov 2021, Jim Porter wrote:
>
>> On 11/5/2021 2:40 AM, Ulrich Mueller wrote:
>>> $ emacsclient -t --alternate-editor=
>>> emacsclient: can't find socket; have you started the server?
>>> emacsclient: To start the server in Emacs, type "M-x server-start".
>>> Another Emacs daemon is already running at process id 6084
>>> Error: server did not start correctly
>>> Error: Could not start the Emacs daemon
>>> $
>
>> Why are you (or the Gentoo package) running with `--alternate-editor='
>> if a daemon was already started?
>
> Because the user may not be sure if a daemon is running, and may want to
> start it just in case? Which fails with the patch applied.

Thinking out loud, would systemd socket activation help here, or would that simply move the issue elsewhere?

https://www.gnu.org/software/emacs/manual/html_node/emacs/Emacs-Server.html#index-socket-activation_002c-systemd_002c-Emacs

-- 
Peter Oliver



      parent reply	other threads:[~2021-11-07  9:49 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-26  5:26 emacsclient startup messages Pedro Andres Aranda Gutierrez
2021-10-26 12:18 ` Eli Zaretskii
2021-10-26 16:43   ` Pedro Andres Aranda Gutierrez
2021-10-26 16:32 ` Jim Porter
2021-10-26 16:46   ` Pedro Andres Aranda Gutierrez
2021-10-26 17:03     ` Jim Porter
2021-10-27  5:05       ` Pedro Andres Aranda Gutierrez
2021-10-30 17:39   ` Ulrich Mueller
2021-10-30 19:16     ` Jim Porter
2021-10-30 19:47       ` Jim Porter
2021-10-31 10:03         ` Pedro Andres Aranda Gutierrez
2021-10-31 15:44           ` Pedro Andres Aranda Gutierrez
2021-11-05  7:04             ` Pedro Andres Aranda Gutierrez
2021-11-05  8:04               ` Eli Zaretskii
2021-11-05  9:40                 ` Ulrich Mueller
2021-11-05 16:35                   ` Jim Porter
2021-11-05 17:52                     ` Ulrich Mueller
2021-11-06 11:35                       ` Pedro Andres Aranda Gutierrez
2021-11-06 18:40                         ` Jim Porter
2021-11-07  9:49                       ` Peter Oliver [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=89f5b07a-9674-5bbd-3c4f-f58e50cf3648@froglet.home.mavit.org.uk \
    --to=p.d.oliver@mavit.org.uk \
    --cc=emacs-devel@gnu.org \
    --cc=jporterbugs@gmail.com \
    --cc=ulm@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).