From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Mingde (Matthew) Zeng" Newsgroups: gmane.emacs.devel Subject: Re: Default emacs init file location confusion Date: Mon, 06 Jan 2020 22:46:43 -0500 Message-ID: <87tv58q670.fsf@gmail.com> References: <83y2ukc55g.fsf@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="101598"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.2.0; emacs 28.0.50 Cc: Elias =?utf-8?Q?M=C3=A5rtenson?= To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 07 04:50:15 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 1iofsl-000QJn-1K for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2020 04:50:15 +0100 Original-Received: from localhost ([::1]:41812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iofsi-0006QA-Fg for ged-emacs-devel@m.gmane.org; Mon, 06 Jan 2020 22:50:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47170) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iofpT-0001jF-70 for emacs-devel@gnu.org; Mon, 06 Jan 2020 22:46:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iofpR-00056o-UU for emacs-devel@gnu.org; Mon, 06 Jan 2020 22:46:50 -0500 Original-Received: from mail-qk1-x732.google.com ([2607:f8b0:4864:20::732]:33821) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iofpR-00055R-Qv for emacs-devel@gnu.org; Mon, 06 Jan 2020 22:46:49 -0500 Original-Received: by mail-qk1-x732.google.com with SMTP id j9so41918951qkk.1 for ; Mon, 06 Jan 2020 19:46:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=3qnMFc5RUyE14hu6WsnZbMNxCM5kQym/p+t48/2ZBts=; b=e1Md/2ZsgkVSMOW6h5V4RgXD4D6PX39KT8h+FRE+SNPn0FVqbYsYoNfGOMzgJ2ByQx ByYaeWkByVGt2faflsMFodyLGb+GoOVDPkYPH52fEttY2s9owdD5zaKUSze9NCHGJCCp 3w8rDZuHVizGHesDNmMvarkQ4F7ca47UomCRLV8vu5Mm91lY3R/Csnq0KVkAFyKIA2k5 +G15c2b12+vpTUmEB2bHFLlZQoRZ/fQdSbiO7a0ZFjYqVVGsqDdQ50vPRHtIw7kfYopK SoZKFndjtEI5NHGPkX2yO3iiY5IutTECzGRUk7YEPtABJId3gQRkzIjeay6CwtVAMlUC f2wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=3qnMFc5RUyE14hu6WsnZbMNxCM5kQym/p+t48/2ZBts=; b=WRwZ6Or968WWNtKMpgUfb95qo2IbrnGKluA96TvHAY+5sdmM2OM+Nrps+9pcKEWyN5 DlNyT4/M1z5ZWpbV6UinT/C6EjqddjQTgBo5iJayEZ6iWYXO87xyr2alK+EcQUbpzY6t rNCW0qrDLa1Zi/gftzi1SepzHP2pCiQrdXVPj+oyr01x+Vgq+Nuo1osulN9b9gKLY23p /qsyZ84pHS4R4px9yEo/J9q4HB9HnoY2wrHBTpbgv0/CzbkRU74pa81kmJEo2G1gvr70 TWXLPb3gNnUDEBqHLl0rIPcp0Q9DIy97rkUMCQp3FDFxRQfvkxjTVjK61cNhWd8XGsEe DZXg== X-Gm-Message-State: APjAAAVknQMwUqMNlZIXg4Zw+lU8wr4rvd//KAtOBc8v9hiSwLI/LlkL N9n2CFxMX5bLkMFkW/+gZY8= X-Google-Smtp-Source: APXvYqxtnmyigrDCyBmtOcbpZVoP3PA88wmi4E9FSY23RMQMyT64QdAq6pZE20SKX+qyY1xCvSo/bA== X-Received: by 2002:a37:496:: with SMTP id 144mr85892525qke.338.1578368807080; Mon, 06 Jan 2020 19:46:47 -0800 (PST) Original-Received: from mt-manjaro ([2607:fea8:e2c0:7f2::b]) by smtp.gmail.com with ESMTPSA id r66sm21767657qkd.125.2020.01.06.19.46.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2020 19:46:45 -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::732 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:244051 Archived-At: >> 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 s= tarted 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. I think he meant the emacs subdirectory was created without his knowledge. >> I found a directory $HOME/.config/emacs. This directoriy contained a sin= gle file whose name I cannot remember. As >> far as I can rceall, this file was empty. I deleted this directory and r= estarted Emacs. At this point my init file was loaded correctly.