From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: Default emacs init file location confusion Date: Tue, 7 Jan 2020 12:12:12 -0500 Message-ID: <33338E9E-CB9B-4E0B-B810-CFAF7508BC18@gmail.com> References: <83y2ukc55g.fsf@gnu.org> <85C8025D-ACFD-4DEB-B030-E46B3109323E@gnu.org> <83lfqjckjn.fsf@gnu.org> <83blrfci4q.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="126248"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Robert Pluim , lokedhs@gmail.com, smartlitchi@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 07 18:12:34 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 1iosPA-000U3V-Fl for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2020 18:12:32 +0100 Original-Received: from localhost ([::1]:53650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iosP8-0003vS-Vj for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2020 12:12:31 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49741) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iosOy-0003qo-M3 for emacs-devel@gnu.org; Tue, 07 Jan 2020 12:12:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iosOx-0001wy-Pm for emacs-devel@gnu.org; Tue, 07 Jan 2020 12:12:20 -0500 Original-Received: from mail-qk1-x733.google.com ([2607:f8b0:4864:20::733]:36475) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iosOu-0001tF-Pc; Tue, 07 Jan 2020 12:12:16 -0500 Original-Received: by mail-qk1-x733.google.com with SMTP id a203so49267qkc.3; Tue, 07 Jan 2020 09:12:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xHxAKd+hWNPh2XMQRTGHLL57I/Jvm+e8y9ZUj7ulDCE=; b=gsqz+uIZ6oxeoEFN9gcaaxUXVbxcUxDRH+S+GnugMkRilccZtIUx2yNPfLbxXBqLKu PsxnlfDwa6asKs6UnAdE+AOOa24b/ySBb2MebXEprQRo+jeLcd3Odzm+03Vr8P82qjJs 0JVbrMbagNzIHm7nD1jt11/LmD4or7DuT0d01oJVbzXKaJWQtxzjhcfWvkQcAb6SfQQg zTvxtElCO1JcO0oigPBGG4MJd1cc0cVNpkG+c7pNfvfiKCrkXbLCHtLOIQ4D364cx5sr KxbfS7+bNzjRlPzzbOWAhdPemJa26yVDAcfLY0Pk9QrpXN8MgayCZQlGGD7mhPu7lXnl IPtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xHxAKd+hWNPh2XMQRTGHLL57I/Jvm+e8y9ZUj7ulDCE=; b=GR6/C8SZm+fCIz1ASn8JoE08Y+OoRDz9R6ljBte8VFLVx0xwgmYLArjg1emfkIoZ5P c0dKmhMDli+C+jpq5EEIcdDYHBIU0zjGCDbnvLzREUyTxtu/lwRCKJjDGIGugz/pyL0B 9Gzv92LObbzMfEK+YnRhpIpf9vRlpslCyDBg/e7g3qPWJ42wj2t0iokefibyYg1z+GOU tNfmxJY2u/zbGAv7gqDGzw2fC+yaOjvpu+9jkO1wjZXqdmzUJm+5PeQ8vWkatqTvXTy7 OkwRPSDTtSDqJM4aUBh+eUXTYNndyDKS4tZ3pat655xwZKMbGX2EvfSgCOUlDEHnSKJv Vk0A== X-Gm-Message-State: APjAAAXH83iL5sxN1qmy+32AsrbUI0PKE3sDdCWsdBTyk1LAnOHJ6oFJ Fmxut9F47c9bIl116eamwxfDl/9PrV9jzQfK X-Google-Smtp-Source: APXvYqyId6jw6emLi/2D3uL25Tr27oxE0fcVXRTo+7IrFMr7rqCXX2prbRxlmbl35vgFTDSoElC9uw== X-Received: by 2002:a37:a289:: with SMTP id l131mr374875qke.84.1578417135458; Tue, 07 Jan 2020 09:12:15 -0800 (PST) Original-Received: from [192.168.1.5] (c-174-60-229-153.hsd1.pa.comcast.net. [174.60.229.153]) by smtp.gmail.com with ESMTPSA id s1sm84517qkm.84.2020.01.07.09.12.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Jan 2020 09:12:15 -0800 (PST) In-Reply-To: <83blrfci4q.fsf@gnu.org> X-Mailer: Apple Mail (2.3608.40.2.2.4) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::733 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:244072 Archived-At: >> After installing Emacs, and starting it once to check that it >> worked, I checked out my $HOME/.emacs.d directory from source >> control and started Emacs. At this point, I noted that my init file >> was not being loaded. >=20 > 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. >=20 > So now I don't think I understand the confusion. I guess he ran Emacs before checking out his .emacs.d, and Emacs created = .config/emacs. Then when he checked out his .emacs.d, it is not loaded. = This could confuse some people, for example, when someone installed = emacs and ran it once to make sure the install is successful. Adding a = notice when creating .config/emacs would be helpful. Yuan=