From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Implement XDG Base Directory specification for user-emacs-directory Date: Tue, 2 Jul 2019 12:55:21 -0400 Message-ID: References: <20190525172356.30070.65317@vcs0.savannah.gnu.org> <20190525172357.86D4F207F5@vcs0.savannah.gnu.org> <835zpnv1o4.fsf@gnu.org> <87lfybw8cd.fsf_-_@fencepost.gnu.org> <83d0jmbmcs.fsf@gnu.org> <8336khbeas.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="202487"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Stefan Monnier , Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 02 19:50:34 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 1hiMvJ-000qOm-1q for ged-emacs-devel@m.gmane.org; Tue, 02 Jul 2019 19:50:33 +0200 Original-Received: from localhost ([::1]:55850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hiMtp-0000sC-DE for ged-emacs-devel@m.gmane.org; Tue, 02 Jul 2019 13:49:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54295) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hiM4I-0006Sc-TC for emacs-devel@gnu.org; Tue, 02 Jul 2019 12:55:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hiM4H-0001gE-Pp for emacs-devel@gnu.org; Tue, 02 Jul 2019 12:55:46 -0400 Original-Received: from mail-oi1-x242.google.com ([2607:f8b0:4864:20::242]:35342) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hiM4B-0001UJ-QO; Tue, 02 Jul 2019 12:55:41 -0400 Original-Received: by mail-oi1-x242.google.com with SMTP id a127so13630515oii.2; Tue, 02 Jul 2019 09:55:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2Ra0dV6BPmMVTAmz0daCw+xmwGLdmNsyamWwOGHRbBE=; b=ktp2pfolgJK2Y7YEJG2MXMMHsLOe4QMpjZR5iD8G9lFEzCa0czwqF4OVrHVxo/+7fN NsDv2T50iZFYX4NReJLIjKk22VGr3RTwD8CNGiC6FZVtSrVPhQEFMilOicjo0pAr1wdz VopX+ydjetTLbI45bbZ+qJRFDsfLSYGZptvdeO8nwuKMkHGTrq7nvnC6ok7CbFYOkdx6 J6rA8i+chAXbPhdsWk0TV37p/0bJbMiOfPqih29zdns1ZAI0pZp7g2C6DHAk3m0Xa6hu MSVcauVDi9t8Z3lsrnLDTKjaes389JzkR8SBNglQ5wfiCpdFcjK49fbkiSfUhYJjBSEe hoig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2Ra0dV6BPmMVTAmz0daCw+xmwGLdmNsyamWwOGHRbBE=; b=p8q8SS06EchbAdLbr961MQoSxSgKvWHR42xS9wtt2KY8Wdc7vNJy3VGRJAC/eZexzi EWFlgX8hqyz1/sXOx2onMluq7i2OOZK50SLjQ+LDT6j5qG9BXt8QCDBMzCuHEdIyKLN7 KUiYP8IDCNcDGY46FTEVEF/tFKl/6WNVXnP9UNiH1LBE4BMn839h7B6VDXb45XqYQ1TF OVWUtnvqnH1yF5Y3KSMaNmrb5ks4shKAfy7AJHkGLQYdgsDUdIINWOdr4SB5qX9Rthny e8CrFEGEFvIYAoi2OFTU1VBnQcoCUfC5ncc0u0QnJ28sHIwppPiyWl0lmWTLKCV4rhwI 2/cQ== X-Gm-Message-State: APjAAAUwclPovesZ/DkjrDQLOO3JaBlyOEzhXfyoYsaH8qWQPMCo8nYI KjPiWBdfD/2pczL0szHftRtNNiDLdyXtOZ5HLPUz9e2C X-Google-Smtp-Source: APXvYqwg+gpwA8EnPJnZbB4pUxaGH+kdkTwrDmbToMxhjvLsSbaEP0+9jpWZND7lkynfbnHM3nrAgtqCXmG2W41Gwto= X-Received: by 2002:aca:b406:: with SMTP id d6mr547057oif.173.1562086536379; Tue, 02 Jul 2019 09:55:36 -0700 (PDT) In-Reply-To: <8336khbeas.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::242 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:238299 Archived-At: On Mon, 10 Jun 2019 at 12:22, Eli Zaretskii wrote: > > > From: Noam Postavsky > > Date: Sun, 9 Jun 2019 16:16:22 -0400 > > Cc: Stefan Monnier , Emacs developers > > > > > I agree, but maybe we should also have an opt-in defcustom to prefer > > > the other way around. IME, sometimes ~/.emacs.d is created due to > > > some random experiments people do, which are unrelated to their > > > routine operations, or due to some (buggy) packages that hard-code > > > ~/.emacs.d. We should give such users a fire escape. > > > > But where would the defcustom setting be read from? Seems like a bit > > of a bootstrapping problem. > > You are right, but then I think this feature will be an endless > source of confusion and bug reports. Sigh... Perhaps we could revisit Bug#15539 which allows setting user-emacs-directory via EMACS_USER_DIRECTORY environment variable? It was marked as wontfix, mainly (as far as I can tell) based on the potential bugs that letting user-emacs-directory be different than $HOME/.emacs.d could bring, but it looks like we've basically decided that is acceptable here anyway. https://debbugs.gnu.org/15539