From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Default emacs init file location confusion Date: Tue, 07 Jan 2020 13:08:11 -0500 Message-ID: References: <83y2ukc55g.fsf@gnu.org> <85C8025D-ACFD-4DEB-B030-E46B3109323E@gnu.org> <83lfqjckjn.fsf@gnu.org> <83blrfci4q.fsf@gnu.org> <837e23chdm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="80177"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: rpluim@gmail.com, Elias =?windows-1252?Q?M=E5rtenson?= , 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 19:08:52 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 1iotHd-000HlV-9T for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2020 19:08:49 +0100 Original-Received: from localhost ([::1]:54512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iotHc-0000MX-1o for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2020 13:08:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60749) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iotHA-0008My-Ak for emacs-devel@gnu.org; Tue, 07 Jan 2020 13:08:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iotH9-0002tl-7Q for emacs-devel@gnu.org; Tue, 07 Jan 2020 13:08:20 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:61126) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iotH5-0002oT-Uk; Tue, 07 Jan 2020 13:08:16 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 0610483464; Tue, 7 Jan 2020 13:08:15 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id AE4C181E26; Tue, 7 Jan 2020 13:08:13 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1578420493; bh=dzEll78Y5HaFAPcJK8/9DaXMSq5+uF8DX6CGraEMiXI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=ZbCLer6l1ToIxgAHVtMg+DidV22viC8xWQsyD2XtqFR2GqeuFcF8tEpvxzd3pfOBk N9yhBHdWUvhwLEW/QZ9VGMbCZe4YPnNoMwWN40wFxxjFqNWRYbTOnXoFEes9nYMj5z fFwx7C5OxK6YH7V+W/JKaUxPQeFwvcUyBTbJ1J4fODIIaBz36r8noc+2yA5xCLAL8p QnhVgA7lSQ0mmeroC9ZxW2iiDHf1OJM4P7dCDSy2h7LO1wLKUchfZbQeK1S17NuTRI hF/e1BTLeLtGh04xi3vRc9bac6a3Q3s0wS5u/tDotd5lsLjXhM7dbq63m0pvUL5yj9 Nw06KYcPr79og== Original-Received: from alfajor (modemcable157.163-203-24.mc.videotron.ca [24.203.163.157]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 767F5120376; Tue, 7 Jan 2020 13:08:13 -0500 (EST) In-Reply-To: (Stefan Monnier's message of "Tue, 07 Jan 2020 12:57:53 -0500") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 132.204.25.50 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:244084 Archived-At: > We could also be smarter: if both exist and one of the two is empty, > then prefer the non-empty one. Another option (tho not in Windows, IIUC) is to create a ~/.emacs.d symlink to ~/.config/emacs when we create ~/.config/emacs. > In any case, we should probably be more proactive about the problem: if > both exist we should emit a clear and visible warning. Unless they are one and the same because of symlinks ;-) Stefan