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: Sun, 9 Jun 2019 16:16:22 -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> 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="1347"; 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 Sun Jun 09 22:17:08 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 1ha4FX-0000F9-2n for ged-emacs-devel@m.gmane.org; Sun, 09 Jun 2019 22:17:07 +0200 Original-Received: from localhost ([::1]:38092 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ha4FW-0003EQ-26 for ged-emacs-devel@m.gmane.org; Sun, 09 Jun 2019 16:17:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42476) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ha4F8-0003D5-6d for emacs-devel@gnu.org; Sun, 09 Jun 2019 16:16:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ha4F7-0006cJ-BO for emacs-devel@gnu.org; Sun, 09 Jun 2019 16:16:42 -0400 Original-Received: from mail-ot1-x343.google.com ([2607:f8b0:4864:20::343]:43527) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ha4F5-0006b8-TV; Sun, 09 Jun 2019 16:16:39 -0400 Original-Received: by mail-ot1-x343.google.com with SMTP id i8so6453923oth.10; Sun, 09 Jun 2019 13:16:39 -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=fgl5ndBeJ+6hjgCuzWzGeAnTd50l59/L5BNDj34EhCQ=; b=GP+yGRCMS6TV8mNTHUm99iiygWJdBVI2Q0sCncOid3hO3KYHHKbolcgCK/c5/2gRU8 Tvj8Q+XOSu8h15AIwgD7dOGCNVQGmqzSbytq6+Z9q9hPpzo1F7a9kpEfpzIgV7AlRt95 Bt6fXY+utAxiCh0m1naQNegz2xLvU8q5kVbzxDVZKnTKJLFYz2Gy1M3Gi3702eNvvMyy IFqW0AqFLv0zPojvC7jhhosk45uX1sJGk3mE/qPbd1R60Yn/Zg3xk3MSSwcSjPexsS99 +J88RKjZ4I2NVKwR4nW3TUB3UB3cG/jUGr7lQ/qpxLO0RwJQ4vEiAEEy3maUcgkitrLs 1FdA== 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=fgl5ndBeJ+6hjgCuzWzGeAnTd50l59/L5BNDj34EhCQ=; b=SEG73HtF8TR5AGiPP1owpxNk4ebgMXwT7JwmL3fKsltizjhKmiC5LAGBhBqzOt4pbC 3EXczj1+sJ6OItLwE9StIGOf5XfMDT/aQI9lmYqQK6JVLSg24c0MKoBfRSuN5gmIm5D8 NFb9uRnjcomFt6XCOkoXhq6C7xHdfIDj7uhZ1XQuDgMc8HCNQGSVa1n930se9rOMtUuq 43hYCxZqWgzfXG1KAVDkrNaRhAtasRIavIteAdKFiGGnwtsB7aCPYb6y5YriWmJ5Bkrr cgpckDOTs3X1gRzSt19sxrYlu7F9gEo4xPJJfBU5v+64dSIXtC/8fe3QpIrX0wUQBO54 84TA== X-Gm-Message-State: APjAAAUIlQ11mW7sdXpgSVek3KqfO4D9slCi5DkE+KwKVFy5hW1ue3mi al5akU5TmhvDzyy2q6f/Awt9AlZUUzcgC3bG4VY0rg== X-Google-Smtp-Source: APXvYqwU1bDjenqpuoNoyode+9CIaQbp92yHZBBH+Bocc1FlefARQaXSDZ1j167Xz1efTI0gtGh/+gy5ROPZY16Vkb8= X-Received: by 2002:a9d:6007:: with SMTP id h7mr26141956otj.368.1560111398931; Sun, 09 Jun 2019 13:16:38 -0700 (PDT) In-Reply-To: <83d0jmbmcs.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::343 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:237365 Archived-At: On Sun, 9 Jun 2019 at 15:17, Eli Zaretskii wrote: > > I think for simple reasons of backward compatibility, if both > > "$XDG_CONFIG_HOME/emacs/" and "~/.emacs.d/" exist, we should use > > "~/.emacs.d/". > > 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.