From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: emacsclient startup messages Date: Sat, 30 Oct 2021 19:39:41 +0200 Message-ID: References: <89dc096b-6c33-db5a-d2d2-b43fb92e4900@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23294"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: Pedro Andres Aranda Gutierrez , emacs-devel To: Jim Porter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Oct 30 20:47:54 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 1mgtOT-0005xI-Sl for ged-emacs-devel@m.gmane-mx.org; Sat, 30 Oct 2021 20:47:53 +0200 Original-Received: from localhost ([::1]:52502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgtOS-0001iX-Sf for ged-emacs-devel@m.gmane-mx.org; Sat, 30 Oct 2021 14:47:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgsKn-0000KT-Pq for emacs-devel@gnu.org; Sat, 30 Oct 2021 13:40:02 -0400 Original-Received: from woodpecker.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]:54357 helo=smtp.gentoo.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1mgsKj-0007yh-MW for emacs-devel@gnu.org; Sat, 30 Oct 2021 13:40:00 -0400 In-Reply-To: <89dc096b-6c33-db5a-d2d2-b43fb92e4900@gmail.com> (Jim Porter's message of "Tue, 26 Oct 2021 09:32:16 -0700") Received-SPF: pass client-ip=2001:470:ea4a:1:5054:ff:fec7:86e4; envelope-from=ulm@gentoo.org; helo=smtp.gentoo.org X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-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.23 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:278287 Archived-At: >>>>> On Tue, 26 Oct 2021, Jim Porter wrote: > I believe this is bug#51327. From how I understand it, this is fallout > from the fix for bug#33847 that occurs when `emacsclient' is run and > can't find a daemon to connect to. As far as I can tell, it's an > indicator of a real bug: the code is checking TMPDIR for the socket > even on a system with XDG_RUNTIME_DIR set (and ultimately, the > to-be-created daemon will put its socket in XDG_RUNTIME_DIR). There can be situations where there is an XDG environment for the client but not for the daemon. Especially, XDG_RUNTIME_DIR is specific to the login session, so if you want the daemon to persist across different login sessions, you may want to create the socket elsewhere.