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:50:40 +0800 Message-ID: References: <83y2ukc55g.fsf@gnu.org> <87tv58q670.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b6e2a0059b84ae88" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="117914"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel To: "Mingde (Matthew) Zeng" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 07 04:53:54 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 1iofwI-000Ub9-8m for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2020 04:53:54 +0100 Original-Received: from localhost ([::1]:41846 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iofwF-0003Jc-1i for ged-emacs-devel@m.gmane.org; Mon, 06 Jan 2020 22:53:51 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48804) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioftO-0007JZ-TA for emacs-devel@gnu.org; Mon, 06 Jan 2020 22:50:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ioftN-0007wu-LF for emacs-devel@gnu.org; Mon, 06 Jan 2020 22:50:54 -0500 Original-Received: from mail-il1-x129.google.com ([2607:f8b0:4864:20::129]:46509) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ioftN-0007wK-Fo for emacs-devel@gnu.org; Mon, 06 Jan 2020 22:50:53 -0500 Original-Received: by mail-il1-x129.google.com with SMTP id t17so44525721ilm.13 for ; Mon, 06 Jan 2020 19:50:53 -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=vHmtY2mpNMd+pqxqdPu/nmineGS3Mqbu7TGb2/mSD1Q=; b=Frj1KGC94qXsjc6TFHzBwvmuJ6eaGGQW0Uj4FXjRROYlMllOYi1iwT0qP/uibqN4Pw 1hC4E0ZoCooVwwC7b2NFROSqcV/C0ogpm54a9vaaHTm7JzTckj9ddugBzoEsvlBiYyN7 sgo6CLLnfjAa4zh8Sl8KttATKCZV6ozteaTuyLvFyMIt3FTBd7mBXlmJ9LI/9Z9IGrNf flkmkHhOdGFgbe9itdV0gefwF5m2kitG12tpf7XAo2WXKIKaxCGQtA3/EmXI2DRWsz0B 5JDZbjLnDKdKVmNI3fQXkMFwHUS3wPf/i+MrOu0frhQU0NuPrZGnc3InB21YCWDjWwLK ikIg== 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=vHmtY2mpNMd+pqxqdPu/nmineGS3Mqbu7TGb2/mSD1Q=; b=pMrvhuPPZdS+JOqbIHp+MCVtk5J5iYr4vvCIUmFm93WrZ5xWla0A7it0Na8mOMP+HK LXSoZ/X7PVpEcQohZZoX9qiVXITf+JnuVlDnQ2ufQFTmkvDzio02eV1idlcbtHNKAUbr 6rdieqe5pqA4+K8xrk7Hj0/M85YyPECDxBPjt1Y7qWkW/iUOhK0h0BqEZymWgzQOvuS7 IERtdq9609uYeojNYeqvsbRwO9E3iD1EdsWpvzcuxnDWPOxQhtJFvB/m6G9btzCeJ4RU TuHg/uewlqAkQcC28oO9TQWZW3FWjOC2d0N1bDVwUYwcRAoO/sJBANfhSjDj+IKuW+yB 95LQ== X-Gm-Message-State: APjAAAWuREa5acQsOd5Nt4E5DqBw9Cw+5uZtajwv26VI1+gmfcCte8QA TI0n+oGhC9ZBGlWuxT79ZSWDzXpWfeRP8+yOIKw= X-Google-Smtp-Source: APXvYqx6gExwzSEmgIiBUVGsE19qQ4Z6g5P9hNENbRdjrIptB4Fc30pzQX7DPuiKLmhg9y3jyQgGTvE0RqiJNY5vtv8= X-Received: by 2002:a05:6e02:d0e:: with SMTP id g14mr89418083ilj.235.1578369052760; Mon, 06 Jan 2020 19:50:52 -0800 (PST) In-Reply-To: <87tv58q670.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::129 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:244052 Archived-At: --000000000000b6e2a0059b84ae88 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 7 Jan 2020 at 11:46, Mingde (Matthew) Zeng 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 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. We just check if its > > emacs subdirectory exists. > > I think he meant the emacs subdirectory was created without his knowledge= . > That is correct. The $HOME/.config directory exists of course. I'm referring to $HOME/.config/emacs Regards, Elias --000000000000b6e2a0059b84ae88 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, 7 Jan 2020 at 11:46, Mingde (Matt= hew) Zeng <matthewzmd@gmail.com<= /a>> wrote:

>> From: Elias M=C3=A5rtenson <
lokedhs@gmail.com>
>> Date: Tue, 7 Jan 2020 10:51:49 +0800
>>
>> I'm guessing that the $HOME/.config/emacs directory was create= d when I started Emacs before checking out
>> my .emacs.d from source control.
>>
>> Would it make sense to display a warning before creating this dire= ctory 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 che= ck if its
> emacs subdirectory exists.

I think he meant the emacs subdirectory was created without his knowledge.<= br>

That is correct. The $HOME/.config dire= ctory exists of course. I'm referring to $HOME/.config/emacs
=
Regards,
Elias
--000000000000b6e2a0059b84ae88--