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.bugs Subject: bug#15539: [PATCH] Setting user-emacs-directory Date: Sat, 31 Aug 2019 18:56:17 -0700 Organization: UCLA Computer Science Department Message-ID: <1154ad53-058c-53fa-3f4d-7026a6ec5b2b@cs.ucla.edu> References: <09f0b6af-213f-cc04-336b-00850ba0f3bf@cs.ucla.edu> <8ad91615-e621-7a10-72e2-03277676bd3a@cs.ucla.edu> <499f2cba-39b3-afe1-7039-fb4c3cf73ea0@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="21593"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 Cc: Max , Mike Carifio , Evgeny Roubinchtein , =?UTF-8?Q?Fran=C3=A7ois_?= =?UTF-8?Q?F=C3=A9votte?= , John Wiegley , Noam Postavsky , Oleh Krehel , Alexis , Lars Ingebrigtsen To: 15539@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 01 03:57:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1i4F7F-0005Vm-Et for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Sep 2019 03:57:17 +0200 Original-Received: from localhost ([::1]:47030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i4F7D-0002M0-Ll for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Aug 2019 21:57:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41007) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i4F72-0002Lo-68 for bug-gnu-emacs@gnu.org; Sat, 31 Aug 2019 21:57:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i4F70-0003s9-64 for bug-gnu-emacs@gnu.org; Sat, 31 Aug 2019 21:57:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47286) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i4F70-0003rR-33 for bug-gnu-emacs@gnu.org; Sat, 31 Aug 2019 21:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i4F70-0003lf-09 for bug-gnu-emacs@gnu.org; Sat, 31 Aug 2019 21:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Sep 2019 01:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15539 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 15539-submit@debbugs.gnu.org id=B15539.156730298714428 (code B ref 15539); Sun, 01 Sep 2019 01:57:01 +0000 Original-Received: (at 15539) by debbugs.gnu.org; 1 Sep 2019 01:56:27 +0000 Original-Received: from localhost ([127.0.0.1]:56107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i4F6Q-0003kd-OL for submit@debbugs.gnu.org; Sat, 31 Aug 2019 21:56:27 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:48122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i4F6O-0003kB-Lw for 15539@debbugs.gnu.org; Sat, 31 Aug 2019 21:56:25 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 139B216008F; Sat, 31 Aug 2019 18:56:19 -0700 (PDT) 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 8FCbeQeaqumR; Sat, 31 Aug 2019 18:56:18 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 28F4D1600A3; Sat, 31 Aug 2019 18:56:18 -0700 (PDT) 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 fTd855_jzsXM; Sat, 31 Aug 2019 18:56:18 -0700 (PDT) Original-Received: from [192.168.1.9] (cpe-23-242-74-103.socal.res.rr.com [23.242.74.103]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 9304B16008F; Sat, 31 Aug 2019 18:56:17 -0700 (PDT) In-Reply-To: Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:166128 Archived-At: Glenn Morris mentioned Bug#15539's user-emacs-directory issue here: https://bugs.gnu.org/583#68 ... so this email is giving you a heads-up that I recently installed a patch into GNU Emacs master that should allow something approximating Bug#15539's requested behavior. For example, one can run Emacs like this: XDG_CONFIG_HOME=/home/rms/.config emacs to employ user rms's Emacs configuration, instead of your configuration. The patch I installed did not do anything special to fix bug#15539, as the new Emacs behavior is a natural fallout of supporting the XDG spec's requirements for XDG_CONFIG_HOME. This all assumes people are using the XDG-conforming locations for config files, which I hope is good enough since older Emacs obviously wasn't meeting the Bug#15539 need anyway.