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: Wed, 8 Jan 2020 01:11:37 +0800 Message-ID: References: <83y2ukc55g.fsf@gnu.org> <85C8025D-ACFD-4DEB-B030-E46B3109323E@gnu.org> <83lfqjckjn.fsf@gnu.org> <83blrfci4q.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001aa820059b8fdfa6" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="63377"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Robert Pluim , smartlitchi@gmail.com, emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 07 18:21:25 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 1iosXk-000EDU-AC for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2020 18:21:24 +0100 Original-Received: from localhost ([::1]:53860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iosXi-0006uX-OL for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2020 12:21:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49536) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iosOa-00037i-AG for emacs-devel@gnu.org; Tue, 07 Jan 2020 12:11:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iosOZ-0001g7-3P for emacs-devel@gnu.org; Tue, 07 Jan 2020 12:11:56 -0500 Original-Received: from mail-io1-xd2e.google.com ([2607:f8b0:4864:20::d2e]:40298) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iosOU-0001c7-6M; Tue, 07 Jan 2020 12:11:50 -0500 Original-Received: by mail-io1-xd2e.google.com with SMTP id x1so77972iop.7; Tue, 07 Jan 2020 09:11:50 -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=WM8TeaBFzbtjfIWzZdX3NbF3vsyXCJwwvRXdl1kirsc=; b=boUiPpT746Lw/XsCWcyt/laVOjNirfv18lqWzKgRBTkAD/rmJzdF7tiFcQBkGbdTk1 LX6OIEg4pUd6/KWPsEnCxjHujvxcrL9Enfg0p1AttyxBvsxaSje3ujMxMsBqBsACNfxQ USdx7xPij1wCNoiU6Nem7uWvfTm/e5Fr4C958V5zHAyr3fVI7v5CrpHPDWDhrH6944J1 WGqoz0Hu+hGqAz42j38c9RDyJ4papZ4dAVslmoD9gar8KA3f3wUtbf86LY5cOzaSVHAD /JzFxJ2PY0iybRPhjdHt2Rp5Rm9ow6ejim9qxDYadLZsMpzGiITHLHt6CXTCOQaRwoxX Lpig== 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=WM8TeaBFzbtjfIWzZdX3NbF3vsyXCJwwvRXdl1kirsc=; b=fHN9na0SCOqoIRnbtS0BUFxJ+Nvk/0eQ4a/LyXEelY9Y/ZYykXH398JD/topIgvFwD W/eOjvmt/pk8Cm8V8tIaqPL+V3nnJC+Mm6GdHUCrDJP7nuWInsjogtkeCFmvmB4HSWp3 8K8RNLUqy2JYk85yN6ojehZarGrNP00qNtjJSYsaY7fuXgFGwei1C10fN/WBFxIiJRyI xVBVtYFp6FEk+XtcKVjnOvYnCawqwA6Jjzo1f/R5/OHEAxuT6kWL3mNaVY8/UgWwlZlP XEZ9pH5fBSKYCs9a1DvAd8tmmXTDakQrAB+RD/wEXjF7lCvmo5OKGAfTGdlUvRYjaG/r VFjQ== X-Gm-Message-State: APjAAAV/n02wxP7UJEes2WqtlORKwJMakE6WXtNkpWiVmqe4QqJK1rsE gd5S0eKsV+tyt5yMd+cMTqGZNgzXcoCqwghj7cVqIHyM X-Google-Smtp-Source: APXvYqxhojm8kAJGztOmnY7GfB97RphQtV3ttJDoNxJ9uDsGEiiiKbs9kMmHygC5e/y7NGml9ipg9cnASrTVMmM2Ups= X-Received: by 2002:a02:6a10:: with SMTP id l16mr459299jac.77.1578417109245; Tue, 07 Jan 2020 09:11:49 -0800 (PST) In-Reply-To: <83blrfci4q.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d2e 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:244073 Archived-At: --0000000000001aa820059b8fdfa6 Content-Type: text/plain; charset="UTF-8" On Wed, 8 Jan 2020 at 01:04, Eli Zaretskii wrote: > > If this means that ~/.emacs.d/ didn't exist when Emacs was first > started, then I think it's OK for Emacs to default to ~/.config/emacs, > because neither of the two possible candidates exist. > > So now I don't think I understand the confusion. > The confusion is that once I start Emacs without any configuration, the $HOME/.config/emacs will be created, and after that the $HOME/.emacs.d will never be used, even though I don't actually have a configuration yet. All I did was to start Emacs once. I don't think the $HOME/.config/emacs should be created until there is actually a configuration to save. Or, alternatively, before the user have confirmed where they want the configuration directory to be created. Imagine a user starting Emacs once, and then immediately closing it without touching a single option in the application (this will create the $HOME/.config/emacs). They then go to a Youtube video or blog post to learn about how to configure the application. They create a $HOME/.emacs.d/init.el and then ends up not understanding why the config file is never read, even though they followed the instructions exactly. Since the $HOME/.config behaviour is new, it will not be easy for them to figure out why nothing works and they will give up, perhaps never trying Emacs again. That is my concern. Regards, Elias --0000000000001aa820059b8fdfa6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, 8 Jan 2020 at 01:04, Eli Zaretski= i <eliz@gnu.org> wrote:
=