From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Newsgroups: gmane.emacs.devel,gmane.comp.gnu.guix.devel Subject: Re: [Nicolas Graves] [PATCH v6 01/10] rde: emacs: Start emacs in --daemon mode, with shepherd and pid-file Date: Fri, 19 Apr 2024 16:19:45 +0200 Message-ID: <87a5lpfn9a.fsf@gnu.org> References: <20240410234923.29319-2-ngraves@ngraves.fr> <875xwotg35.fsf@trop.in> <87zfu0m9ps.fsf@ngraves.fr> <87jzl22u5w.fsf@gnu.org> <87frvp4a4u.fsf@ngraves.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17755"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: =?utf-8?Q?Bj=C3=B6rn?= Bidar , Nicolas Graves , "Nicolas Graves via Development of GNU Guix and the GNU System distribution." , emacs-devel@gnu.org, Andrew Tropin To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 19 16:20:19 2024 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 1rxp6A-0004Lo-Am for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Apr 2024 16:20:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxp5j-0002b9-Aa; Fri, 19 Apr 2024 10:19:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rxp5h-0002aq-CJ; Fri, 19 Apr 2024 10:19:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rxp5g-0006c5-5d; Fri, 19 Apr 2024 10:19:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=GSIlDGggzwucnKHlmrW3uxiR2zEgHX5YsNYOFm73Bnk=; b=GH5bib2SiR8oKv1TPzOX qPmrymOub2Wq2I8BFGdd60bS+Becd0rYVAjOhwKnD69q6EYBmO55+Hs74+keWsnGLYUoMi+NwpaC+ 5cg0P+RGfCM4Qga3p4x5/OFbJRXfIjUCifuDaE/Q3K91KAMfAcAS0qZdrbp1y3tBasY5PLHH2Kcrl IcfKp3DWwVjXStulsg1jHqP78gRVUaakr3mLGGD4YHHq9ANW6v/B+4KzXAipfbeQHrGFhZb9lbJWA SW/1Njd4TzmfxdmZBZeQlG4051Wueb/cVpp4kFbw/a0JX1OG+/IfQNz68Ir8sZkZBrSN0sAlIfiO9 BzeP2t+z5uN1fw==; In-Reply-To: (Stefan Monnier's message of "Sun, 14 Apr 2024 16:52:21 -0400") X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Primidi 1 =?utf-8?Q?Flor=C3=A9al?= an 232 de la =?utf-8?Q?R=C3=A9volution=2C?= jour de la Rose X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:317839 gmane.comp.gnu.guix.devel:69974 Archived-At: Stefan Monnier skribis: >> Would that make sense on systems where systemd is used? If libsystem is >> already installed it would be more convenient for the user to use the >> already installed and very likely loaded libsystemd instead of >> reimplementing the feature. > > You might be right, but it's hard to say without seeing the replacement > code and the actual doc of the protocol. As an example, here=E2=80=99s C++ code that checks the LISTEN_* environment variables I mentioned earlier: https://git.savannah.gnu.org/cgit/guix.git/tree/nix/nix-daemon/guix-daemo= n.cc#n437 Ludo=E2=80=99.