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:33:14 +0800 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: multipart/alternative; boundary="0000000000006a08a3059b902c4b" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="66535"; 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:34:24 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 1ioskI-000FBi-Hy for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2020 18:34:22 +0100 Original-Received: from localhost ([::1]:54022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioskH-0001pb-8o for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2020 12:34:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34718) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iosjS-00015f-K4 for emacs-devel@gnu.org; Tue, 07 Jan 2020 12:33:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iosjR-0003zG-B0 for emacs-devel@gnu.org; Tue, 07 Jan 2020 12:33:30 -0500 Original-Received: from mail-il1-x12e.google.com ([2607:f8b0:4864:20::12e]:43689) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iosjP-0003wS-9E; Tue, 07 Jan 2020 12:33:27 -0500 Original-Received: by mail-il1-x12e.google.com with SMTP id v69so246705ili.10; Tue, 07 Jan 2020 09:33:27 -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=G0PQRbgltcnea8EDRYy8R/IUTsf5bJiBzKhf31rcHcs=; b=gd1NIjq3n+cVmTbjPYfOXLBFljart0KOuM5NcTjOWApGBY4D4FmPZaS7l6SVCoCNZm DLw6faZhAHOkNviZQaFKMPQpXq811IkFcssvNCyNa3/lCq62iQB2NRNtXZ1Ck/S9caQD AV05bHPGsMtjAS8FmYT8mtiscMlFAL/zA2EJH0T57epTSvIHPndkjbIdzXUvK5DaCiIk s6fADJsvV6XlKKNNwj4F4hM2KSSl6nsb30LU4ccKefqm75Jsy1VpZL5kfzuNrS5CMrSE gAGViRZQnOgmaGmZQsjZ99GdO2AjGGycQtdLOol0PwdzymzKeG3/Y/wEXpKq2HtTA53V jcZA== 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=G0PQRbgltcnea8EDRYy8R/IUTsf5bJiBzKhf31rcHcs=; b=FdBn1IwTtNbayOjz1vXxDgQuLShasmyYx/wIVuNUq+lv8HjLO+G+/Y2u4rYECDI1Tu ncGNR6anTA+8iZkS0Rwy42IRN3vIfD7HRAE0E+NKMnXuZaoedNRinup7oxidVj6jDMv5 Pi1xGRLbeGTbM4EXplHtKXvKLU1/OfucmoC9iWBYzp2LN1OWDErP8wCk1H9pcfqtZNBF KUswh6GwRMOKDZxFqaBOZm5/Guo4TF9VUwRviHBVbE141aSoz/CYY/wB/WhxhwCU3gbN 0KV6VuwGam2F1CgBkZSP3UQHrRxK+geeSUUl5PQhus8vfMjkjFG57ybXH4GhCEqjveJ+ juKA== X-Gm-Message-State: APjAAAUlcgQbg3bVF/wIzMTjdvNZ3fXW9jkfZeriJInWfovRNCmVvWvD /XoqHUKr5KtXOHk/gGMXYPPvvBt24mUs3ibMUnia/qrs X-Google-Smtp-Source: APXvYqwO2wsIYpvLNHjQhIZtVn3npd+OK9zxmn08VjvSzjp3rnsW8icrEJD3+41HSoRGvYtrhak1RpUuo8sLyjVhNZw= X-Received: by 2002:a92:4818:: with SMTP id v24mr195380ila.96.1578418406293; Tue, 07 Jan 2020 09:33:26 -0800 (PST) In-Reply-To: <837e23chdm.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::12e 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:244077 Archived-At: --0000000000006a08a3059b902c4b Content-Type: text/plain; charset="UTF-8" On Wed, 8 Jan 2020 at 01:21, Eli Zaretskii wrote: > > We need to decide which directory to create if neither of the 2 > candidates exist. Previously, we had only one candidate, and we'd > create it without any regrets. I don't think I see how the current > situation is suddenly different. Moreover, I don't think I understand > how to do something smarter, without breaking gobs of code that > depends on user-emacs-directory be existing. Ideas welcome. > The problem I see (which is indeed the problem I ran into myself, someone who has used Emacs since the 80's) is that users will be confused about this because the behaviour is new, and from the user's point of view, Emacs simply isn't reading the $HOME/.emacs.d directory. This confusion is caused by an unfamiliarity with new functionality. Therefore, we must conclude that this is a temporary problem. Once documentation, youtube videos, block posts, stackoveflow examples, etc has been updated, this will no longer be a problem. Just like the confusion between $HOME/.emacs and $HOME/.emacs.d/init.el is no longer an issue. But for now, it is an issue, so the solution should be to put this information in from of the user's face. That means displaying a warning (including a y/n prompt) when the directory is created. Perhaps this warning is only needed for one release cycle, and then users will be informed. But right now, it is my opinion that such warning is needed. Regards, Elias --0000000000006a08a3059b902c4b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, 8 Jan 2020 at 01:21, Eli Zaretski= i <eliz@gnu.org> wrote:
=