From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: XDG_RUNTIME_DIR Date: Wed, 20 Nov 2019 11:29:56 -0800 Organization: UCLA Computer Science Department Message-ID: <0d761d18-71d9-15b8-8a8d-b342a665e7c5@cs.ucla.edu> References: <87k17uk5br.fsf@blind.guru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------90658C6065EE3F2687C3C7AC" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="64465"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 Cc: emacs-devel@gnu.org To: Mario Lang Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 20 20:30:28 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iXVgJ-000GZ1-CT for ged-emacs-devel@m.gmane.org; Wed, 20 Nov 2019 20:30:27 +0100 Original-Received: from localhost ([::1]:33886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXVgD-0004CY-3e for ged-emacs-devel@m.gmane.org; Wed, 20 Nov 2019 14:30:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47898) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXVfs-0004Am-A9 for emacs-devel@gnu.org; Wed, 20 Nov 2019 14:30:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iXVfr-0000X7-Bh for emacs-devel@gnu.org; Wed, 20 Nov 2019 14:30:00 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:48494) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iXVfr-0000W2-2d for emacs-devel@gnu.org; Wed, 20 Nov 2019 14:29:59 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 87F271600C3; Wed, 20 Nov 2019 11:29:57 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id jodzHW3j2bVd; Wed, 20 Nov 2019 11:29:56 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id C44EF16019A; Wed, 20 Nov 2019 11:29:56 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Q4fCNDyrD_QJ; Wed, 20 Nov 2019 11:29:56 -0800 (PST) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id A76DF1600C3; Wed, 20 Nov 2019 11:29:56 -0800 (PST) In-Reply-To: <87k17uk5br.fsf@blind.guru> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 131.179.128.68 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:242532 Archived-At: This is a multi-part message in MIME format. --------------90658C6065EE3F2687C3C7AC Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 11/20/19 6:09 AM, Mario Lang wrote: > On my system, $XDG_RUNTIME_DIR is also set for plain virtual > terminal logins Thanks, I installed the attached. --------------90658C6065EE3F2687C3C7AC Content-Type: text/x-patch; charset=UTF-8; name="0001-etc-NEWS-Improve-XDG_RUNTIME_DIR-doc.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-etc-NEWS-Improve-XDG_RUNTIME_DIR-doc.patch" >From c928f41330ece779127a0c4c9b6ca0fdde8a1046 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 20 Nov 2019 11:28:32 -0800 Subject: [PATCH] * etc/NEWS: Improve XDG_RUNTIME_DIR doc. --- etc/NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/NEWS b/etc/NEWS index dd08675f42..e25df98243 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -222,7 +222,7 @@ The command-line argument '--socket-name' overrides it. +++ *** Emacs and emacsclient now default to "$XDG_RUNTIME_DIR/emacs" as the directory for client/server sockets, if Emacs is running -under an X Window System desktop that sets the 'XDG_RUNTIME_DIR' +on a platform or environment that sets the 'XDG_RUNTIME_DIR' environment variable to indicate where session sockets should go. To get the old, less-secure behavior, you can set the 'EMACS_SOCKET_NAME' environment variable to an appropriate value. -- 2.23.0 --------------90658C6065EE3F2687C3C7AC--