From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: master b3a12c6: Improve XDG_RUNTIME_DIR diagnostic Date: Sat, 20 Apr 2019 13:47:34 -0400 Message-ID: <1za7gksh55.fsf@fencepost.gnu.org> References: <20190420164014.25427.23550@vcs0.savannah.gnu.org> <20190420164015.B91E3207D5@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="11414"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: Paul Eggert To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 20 19:51:02 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hHu8c-0002gC-TA for ged-emacs-devel@m.gmane.org; Sat, 20 Apr 2019 19:50:55 +0200 Original-Received: from localhost ([127.0.0.1]:43841 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHu8b-0005nG-Ps for ged-emacs-devel@m.gmane.org; Sat, 20 Apr 2019 13:50:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHu7c-0005gb-Gi for emacs-devel@gnu.org; Sat, 20 Apr 2019 13:49:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35467) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHu5Q-0006ot-Ex; Sat, 20 Apr 2019 13:47:36 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1hHu5O-000714-NL; Sat, 20 Apr 2019 13:47:34 -0400 X-Spook: clandestine Downing Street BLU-114/B Suicide attack X-Ran: +[*]*g&)I2`rp4*%Sb,x/8|6M^x'ho*+I[)^_Ln3mXP[0l:9cU-f,HP@b=_*9%Ar-zm4>{ X-Hue: black X-Attribution: GM In-Reply-To: <20190420164015.B91E3207D5@vcs0.savannah.gnu.org> (Paul Eggert's message of "Sat, 20 Apr 2019 12:40:15 -0400 (EDT)") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:235706 Archived-At: > commit b3a12c62c9085171866256f00dada4326a4a3084 [...] > + int sockdirnamelen = snprintf (sockdirname, sizeof sockdirname, > + "/run/user/%"PRIuMAX, id); Is it really worth hard-coding assumptions about the base value of XDG_RUNTIME_DIR in emacsclient? It's a variable, after all.