From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Default emacs init file location confusion Date: Wed, 08 Jan 2020 13:37:25 +0100 Message-ID: References: <83y2ukc55g.fsf@gnu.org> <85C8025D-ACFD-4DEB-B030-E46B3109323E@gnu.org> <83lfqjckjn.fsf@gnu.org> <83blrfci4q.fsf@gnu.org> <837e23chdm.fsf@gnu.org> <834kx7cgmh.fsf@gnu.org> <87tv56bjop.fsf@gmail.com> <539DBEA2-E758-4CB0-B886-F908CF0525B6@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="237484"; mail-complaints-to="usenet@blaine.gmane.org" Cc: "Mingde \(Matthew\) Zeng" , smartlitchi@gmail.com, Elias =?utf-8?Q?M=C3=A5rtenson?= , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 08 14:05:33 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.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 1ipB1V-000leT-QX for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Jan 2020 14:05:22 +0100 Original-Received: from localhost ([::1]:43308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipB1U-0006aW-7R for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Jan 2020 08:05:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34127) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipAaX-0001PC-0a for emacs-devel@gnu.org; Wed, 08 Jan 2020 07:37:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipAaV-0007B4-Ud for emacs-devel@gnu.org; Wed, 08 Jan 2020 07:37:28 -0500 Original-Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:36315) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ipAaV-0007Ae-OQ; Wed, 08 Jan 2020 07:37:27 -0500 Original-Received: by mail-wr1-x42b.google.com with SMTP id z3so3231243wru.3; Wed, 08 Jan 2020 04:37:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=ELC28iYPOfDv//o+Mfb5XvZ2Blf5d/0cfy6CZ41i1tY=; b=SCzDJmyq/FLezOdc4dlNCEEDXI3l5jmNAzWxDBRqZEwwAF2CJphCDnlvjE6SR8qjy/ Ar/KSEdzkh3/nDIUrZNuEuZm1r8G9+KlWGDz94Qyh1z0DryligItphHieobwvtDd/r7t IQ54sbCHEOxAbK2uTrndk/9RehmKIJ5xtdCG/1H9HunSyCsPvtvk53LnHTQPLRXqSpcI U8T9y5aekMlAjpIss81q/bhIF+mHSerXe8JmTUL/64AzLkuG3em8JYlKp4W8ys2OMMoE 3NG5oiqWSYP7l2Y0VqCm+8iewXUPWfKO1D24hFU/f4lbjv5VcJWYY9QtizxiUqc7Vmms FmVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=ELC28iYPOfDv//o+Mfb5XvZ2Blf5d/0cfy6CZ41i1tY=; b=tvWRL2rRy/LS9joY30uYeePrIDftn71gwGcjp8RAF2ZQCA6uGA8wkz94FT9IEesVAp Gdgn3PyezMu7Oy1ldVY3IMzhb2VuBfbM0e8AOVOLIzkdUEoMaU4NxxTQ1ofpuTIMCch6 enVqee3l2uCBw8DTKn3bIzIgZcCuaxlpQtgG93+CKcc+VSFKfLsGTvcGWoLczQjp/A/e xNKdTgqJezkU567f5D+KnOVUM01DQ7Z/XeyfJmIcU1HwDh64M48F6fX4QUCjgerssPDe Lyx1hulzG+FU17gjOpCapGcd2X+XSfr2KfycCI3tV1qfEoP/uT7nxSFWj9hD+lXewu5Z jBpA== X-Gm-Message-State: APjAAAWl8hipYkFC5j84c0E7j4tRVq72gC4v/ftOPw/0s94xLGUsfMTr KPP0RTqoCWeTEFhs6vPr670= X-Google-Smtp-Source: APXvYqxSOGjN4KytXRvmez5BiXg9fQRJskwtKOb8ZYiwqcOsIWEpzvMAsU08F9IN7eJ7g6PDeyo3cQ== X-Received: by 2002:adf:f98c:: with SMTP id f12mr4201562wrr.138.1578487046720; Wed, 08 Jan 2020 04:37:26 -0800 (PST) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id a14sm4358957wrx.81.2020.01.08.04.37.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2020 04:37:26 -0800 (PST) In-Reply-To: (Eli Zaretskii's message of "Wed, 08 Jan 2020 12:49:28 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42b 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:244116 Archived-At: >>>>> On Wed, 08 Jan 2020 12:49:28 +0200, Eli Zaretskii said: Eli> On January 8, 2020 12:22:12 PM GMT+02:00, Robert Pluim wrote: >> >>>>> On Wed, 08 Jan 2020 12:05:57 +0200, Eli Zaretskii >> said: >> >> hence I=CA=BCd prefer: >> >>=20 >> >> Use the XDG directory if it exists, but don=CA=BCt create >> >> it. Otherwise, use ~/.emacs.d (and create it if necessary). >>=20 Eli> This is IMO a much more invasive change, and therefore >> inappropriate Eli> for the release branch. The current code relies on Eli> user-emacs-directory to exist. Lifting this restriction should >> be a Eli> separate change, and we should do it on master. >>=20 >> I didn=CA=BCt propose making user-emacs-directory not exist. I propo= sed >> creating only ~/.emacs.d (and then using it). Eli> That would mean we sometimes prefer XDG and sometimes .emacs.d, Eli> something that IMO will be harder to explain and document, and eas= ier Eli> to become confused about. We'll prefer XDG *if* it exists, otherwise we ignore it. I don=CA=BCt think that=CA=BCs particularly open to confusion. Robert