From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Elias_M=C3=A5rtenson?= Newsgroups: gmane.emacs.devel Subject: Re: Default emacs init file location confusion Date: Tue, 7 Jan 2020 11:40:14 +0800 Message-ID: References: <83y2ukc55g.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000006713d8059b8489f3" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="69367"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 07 04:42:49 2020 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 1ioflZ-000Hvy-0f for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2020 04:42:49 +0100 Original-Received: from localhost ([::1]:41768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioflW-0005BA-D6 for ged-emacs-devel@m.gmane.org; Mon, 06 Jan 2020 22:42:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45129) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iofjK-0002Bw-No for emacs-devel@gnu.org; Mon, 06 Jan 2020 22:40:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iofjJ-0008CH-GI for emacs-devel@gnu.org; Mon, 06 Jan 2020 22:40:30 -0500 Original-Received: from mail-il1-x12e.google.com ([2607:f8b0:4864:20::12e]:44614) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iofjH-00089v-M7; Mon, 06 Jan 2020 22:40:27 -0500 Original-Received: by mail-il1-x12e.google.com with SMTP id z12so8097751iln.11; Mon, 06 Jan 2020 19:40:27 -0800 (PST) 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=vUORFrseUhJCw0D1dKjvY336B5JakTzS97jotl5FMDI=; b=OZXe7/LYzM3dOHU6GSt771KEwgPAmfgHvup8L1vDTs9mhAG6HP/vglFR5XdDUYb+MS l0MBp5MsxG/cbkg9z9rg3RXhHXFhyuB2SAGM1U2SYheJ0kLuJHM8hmBJuGeohyNeLOMn AILer4rP11GtRc7+9bWCQ5U1r4On29c0isw9iY8l+U2p5zbFaUaZP3sis4pjdEnMnC2p GYeuEqfF2B6SIHXr0RTW15QZ500gu8tC0vSUtn4ffikGlXlfiejtyVmw3+k3E+KytYKd g4wzF6caiHsKYQ4nqxfYHDSzA0pqugTVLwKhG9ZDBfA/+JIytMMayvIdSDbH2mmsV9YL V5og== 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=vUORFrseUhJCw0D1dKjvY336B5JakTzS97jotl5FMDI=; b=ogv77ch2NdGr3q/u+lGKGf6tpJDE3E96rw/4aOtgM7ykBwvFeQh3qww9JotAlUsZix 9oQaV0qlyuvEPefYPT94AO1s62jcdfpLaAUyDkUU45jJ1gfpP1Cb70ljmerpQ9GUJOk9 PryiPgb6BtYZmJ7WiFJkkxShOLdcCQtPDg18EielSjFPFV4QDnqb7Se54AU6qz5a4dRp u1904Sv7Pbz1uIN7anYTrJBiOnYwqPr47iAT+y7frycTK2IodohDmxkLeAufDfuaxdHU 8z1klNvEvqcqWtCi5qSVsBMFRuHynx2lkAr00Z2m1/aIFRw1i7oPk1g2d8TVYUdAt0be 8wyg== X-Gm-Message-State: APjAAAURLSUp6qLkp3sPcVu/eoziUTCioHgmtEmEwBrbQscOemRu4qN+ 0m9xZebeY9vXnQUzYcSz3B1OVfy05vjK1DQIvh3t4VCL X-Google-Smtp-Source: APXvYqzCVUkP/QqB9Ar8LMWVd8KY9Npsg2XiXyRZOtmC2ktsOm4lTE1UaaoNIyZk8r2kR38hL8OmgVLhuKKYQ88FX5E= X-Received: by 2002:a05:6e02:d0e:: with SMTP id g14mr89392603ilj.235.1578368426773; Mon, 06 Jan 2020 19:40:26 -0800 (PST) In-Reply-To: <83y2ukc55g.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::12e 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:244049 Archived-At: --0000000000006713d8059b8489f3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 7 Jan 2020 at 11:32, Eli Zaretskii wrote: > > From: Elias M=C3=A5rtenson > > Date: Tue, 7 Jan 2020 10:51:49 +0800 > > > > I'm guessing that the $HOME/.config/emacs directory was created when I > started Emacs before checking out > > my .emacs.d from source control. > > > > Would it make sense to display a warning before creating this directory > in the first place, explaining that doing > > so will prevent $HOME/.emacs.d/init.el from being loaded? > > I don't think we create the ~/.config directory. We just check if its > emacs subdirectory exists. > Interesting. I certainly never created it myself. When I get back home I will remove my $HOME/.emacs.d directory and restart Emacs in an attempt to recreate it. Assuming my description of the events is accurate (I may have missed something), there really should be no such directory created, yes? Regards, Elias --0000000000006713d8059b8489f3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, 7 Jan 2020 at 11:32, Eli Zaretski= i <eliz@gnu.org> wrote:
=
lokedhs@gmail.com>
> Date: Tue, 7 Jan 2020 10:51:49 +0800
>
> I'm guessing that the $HOME/.config/emacs directory was created wh= en I started Emacs before checking out
> my .emacs.d from source control.
>
> Would it make sense to display a warning before creating this director= y in the first place, explaining that doing
> so will prevent $HOME/.emacs.d/init.el from being loaded?

I don't think we create the ~/.config directory.=C2=A0 We just check if= its
emacs subdirectory exists.

Interesting.= I certainly never created it myself. When I get back home I will remove my= $HOME/.emacs.d directory and restart Emacs in an attempt to recreate it.

Assuming my description of the events is accurate (= I may have missed something), there really should be no such directory crea= ted, yes?

Regards,
Elias
=
--0000000000006713d8059b8489f3--