From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: Peter Oliver
Newsgroups: gmane.emacs.devel
Subject: Re: emacsclient startup messages
Date: Sun, 7 Nov 2021 09:49:27 +0000 (GMT)
Message-ID: <89f5b07a-9674-5bbd-3c4f-f58e50cf3648@froglet.home.mavit.org.uk>
References:
<89dc096b-6c33-db5a-d2d2-b43fb92e4900@gmail.com>
<074495a9-aff8-edce-f81f-51fdfc622f6e@gmail.com>
<83bl2zdo4u.fsf@gnu.org>
<96935ebe-8e7b-0813-1f68-c385b5377a3e@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset=US-ASCII
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
logging-data="40727"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: Jim Porter , emacs-devel@gnu.org
To: Ulrich Mueller
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 07 10:52:13 2021
Return-path:
Envelope-to: ged-emacs-devel@m.gmane-mx.org
Original-Received: from lists.gnu.org ([209.51.188.17])
by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92)
(envelope-from )
id 1mjeqT-000APY-IV
for ged-emacs-devel@m.gmane-mx.org; Sun, 07 Nov 2021 10:52:13 +0100
Original-Received: from localhost ([::1]:53310 helo=lists1p.gnu.org)
by lists.gnu.org with esmtp (Exim 4.90_1)
(envelope-from )
id 1mjeqR-0005jW-Pi
for ged-emacs-devel@m.gmane-mx.org; Sun, 07 Nov 2021 04:52:11 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40376)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1mjeny-0004um-40
for emacs-devel@gnu.org; Sun, 07 Nov 2021 04:49:38 -0500
Original-Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:40939)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1mjent-0003CQ-6n
for emacs-devel@gnu.org; Sun, 07 Nov 2021 04:49:37 -0500
Original-Received: by mail-wm1-x332.google.com with SMTP id
j128-20020a1c2386000000b003301a98dd62so12860780wmj.5
for ; Sun, 07 Nov 2021 01:49:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mavit.org.uk; s=google;
h=date:from:to:cc:subject:in-reply-to:message-id:references
:mime-version; bh=R8EzmVasQGq58tVPsS+v4S3dHr2pqJrTdSClJK6tSTM=;
b=lPRTbly2ZAYP82gs66eubxsjb9Uw/72vI7Su1GLJeQ6eFDvoOEa5b+sjKrRUp6aDuF
aqsLjnoTnGwbNQct8TY/2LdAxmUdutfcTmNpSXxsCzqU18lZ2USQctcOFfRDe/0lxcgz
LNajjuLMoNLcVHMeR2ttgSqHQcL0FbNSKImNc=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id
:references:mime-version;
bh=R8EzmVasQGq58tVPsS+v4S3dHr2pqJrTdSClJK6tSTM=;
b=i2PXzplPTHLV0GVP5LPCs3C3Mlzyes8mNTpHyC8ePJcPUf3IytLA9dcyo44p6qwuJV
TdBc69coSAJKKlh6L7e3WKc5GYM7QGuGkeWQJHv3QUVeoVMgbvMBkjOGKQ/spiRh1P1w
etUWGljby4d155WGivzt5/6ZIE4QpLPz75BnadkmAPj5WDqUqDWXw6Hvf7z/jvWOUO86
TDcwDJV4UU/oWIHMA7oNBFJx/rABcdkpAVWomOi3y1ZJSyP+9JxQy1OIi5J9HJKau8ZL
iqiDpto/W0apYluZSrbTbQ6XxpSTStphs2km5sLbZPkSeMghr1k+Pf61uRApH0ZP+h87
mAVQ==
X-Gm-Message-State: AOAM533nkhVxJLIk3xoBy6cwJZcPgTbUAeWDFAs0GVgt5c3O/2ibRrPD
4l3uDbi74sIscQGVukgKGD++JfgPwgYC+Q==
X-Google-Smtp-Source: ABdhPJxHRqlvHx9zPwAQpV+sRHGMQntT/+/BSVuSbWeOpDiJlUpTX1dMwHEnJBTpInn59BVrIU4YkA==
X-Received: by 2002:a1c:9842:: with SMTP id a63mr44638712wme.102.1636278570016;
Sun, 07 Nov 2021 01:49:30 -0800 (PST)
Original-Received: from froglet.home.mavit.org.uk
(cpc118948-dudl14-2-0-cust32.16-1.cable.virginm.net. [82.37.201.33])
by smtp.gmail.com with ESMTPSA id h13sm13294836wrx.82.2021.11.07.01.49.29
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sun, 07 Nov 2021 01:49:29 -0800 (PST)
Original-Received: from froglet.home.mavit.org.uk (localhost [127.0.0.1])
by froglet.home.mavit.org.uk (8.17.1/8.15.2) with ESMTPS id 1A79nSrW013452
(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);
Sun, 7 Nov 2021 09:49:28 GMT
Original-Received: from localhost (mavit@localhost)
by froglet.home.mavit.org.uk (8.17.1/8.17.1/Submit) with ESMTP id
1A79nRXn013446; Sun, 7 Nov 2021 09:49:28 GMT
X-Authentication-Warning: froglet.home.mavit.org.uk: mavit owned process doing
-bs
In-Reply-To:
Received-SPF: pass client-ip=2a00:1450:4864:20::332;
envelope-from=p.d.oliver@mavit.org.uk; helo=mail-wm1-x332.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Emacs development discussions."
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Original-Sender: "Emacs-devel"
Xref: news.gmane.io gmane.emacs.devel:278928
Archived-At:
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