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 18:13:57 +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> <834kx7cgmh.fsf@gnu.org> <87tv56bjop.fsf@gmail.com> <539DBEA2-E758-4CB0-B886-F908CF0525B6@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000003c3b7f059b9e27d7" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="91187"; mail-complaints-to="usenet@blaine.gmane.org" Cc: "Mingde \(Matthew\) Zeng" , Robert Pluim , smartlitchi@gmail.com, emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 08 11:16:54 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.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 1ip8MQ-0015NJ-2m for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Jan 2020 11:14:46 +0100 Original-Received: from localhost ([::1]:41324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ip8MO-0007qQ-Tv for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Jan 2020 05:14:44 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36224) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ip8Ls-0007Og-MP for emacs-devel@gnu.org; Wed, 08 Jan 2020 05:14:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ip8Lr-0002Bh-ID for emacs-devel@gnu.org; Wed, 08 Jan 2020 05:14:12 -0500 Original-Received: from mail-il1-x133.google.com ([2607:f8b0:4864:20::133]:42175) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ip8Lq-0002Af-0l; Wed, 08 Jan 2020 05:14:10 -0500 Original-Received: by mail-il1-x133.google.com with SMTP id t2so2176535ilq.9; Wed, 08 Jan 2020 02:14:09 -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=I4TNTPHWSb8TGA+niK5kaGNapr/eaCutzStBs8oKKYI=; b=s7M7CSt9ZiMwdTICu+EtXQD5rq5cd5YnYQrMdODTe12uCCzN5D6Kkthq2mHlfahAYM 56NHY6szv1EP3yf/ZePTKg5ZVPIqxt+r79DNA1TngI42f4VGdOocP85OGCcya+UH/PDS G/AXLCg4aeb45Tlk8C9BTivcb+YSFeRPzycN+bGA8nOXHMnkdMPNg/g4JrY/EUUEC9ii iWGDxgkioOuWO5B9Mbd3QHb6L/SNKweI6goHeETldP3/+h0ufgVURBSPCmXtSL2yOWkf m4sR2I57LZSo4Sk6LEy7OKBtD3hzUhCuPmTBlJyJdh9zZvOw2M5izCy5BpqHCKwk4fbn D1Yg== 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=I4TNTPHWSb8TGA+niK5kaGNapr/eaCutzStBs8oKKYI=; b=YtUc6/NZ1l3zKnIfD9xQjx+v2XRYYu0gQr3KWB52JSioTrmbgizER4Ay8wOa/KA2aD 0IXbaB90+MZ+8KXVKw2Tz7Mff8imtLK0QgZtqoADJ2nt6H6LtnjJjoIvZ6Rlj5xRLNdu 1lBAw2+l85utogKw0A1Je2g5mw8MIjRa6+89qxh4sDPFuKg9S7kquv+vbYyv8WWr47PF g73nLojlQ05HoSesfCg3pYOfNK8iZU8bS9vvz2axcRF6PvzSWM6+hj4//B3XuQk4wExU 1wSPgeaNNL2b6O0hm1Lg5YylGgPgt9CR7eCRijitYIhu4AeownCF/CdkMjn1aWvw896E TaAQ== X-Gm-Message-State: APjAAAULl3WnWraVadLn7a+mT8koeEmsaFjuyDqoJEdxhsgLJKc59eak vaoiQQ3NjWL+WDG5vD3qmpnfIrFWVcFdAFaBu2Oacn7/ X-Google-Smtp-Source: APXvYqz44RYx+v6A4daIQefDkiec2iwUky3gxl2x+GOFjb+1NdQ8HBK8HK8XXFvmyq4nvxzTs9aiZeEif+VHJz5G8Tg= X-Received: by 2002:a92:4818:: with SMTP id v24mr2958737ila.96.1578478448948; Wed, 08 Jan 2020 02:14:08 -0800 (PST) In-Reply-To: <539DBEA2-E758-4CB0-B886-F908CF0525B6@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::133 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:244110 Archived-At: --0000000000003c3b7f059b9e27d7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 8 Jan 2020 at 18:06, Eli Zaretskii wrote: > > I agree about the pop ups, but the prompt would only be if > > ~/.config/emacs existed, not ~/.config, so deleting it would stop the > > prompt. > > The same people who won't know they should delete .emacs.d will also fail > to know about deleting .config/emacs. > This part of the discussion only applies if my prompt proposal i adopted. In this case, the user would know because they literally just saw a prompt on the screen, explaining what happened and how to deal with it. Perhaps something like this: *Both ~/.emacs.d and ~/.config/emacs exists. Please select which one to load the configuration from.* * NOTE: To avoid this question in the future, please delete or rename the directory you don't want to use.* * Type =E2=80=98e=E2=80=99 or =E2=80=98c=E2=80=99 to select: XXX* Now, you have already expressed disagreement with this proposal, so I'm not going to push it further. However, I do hope this clearly clarifies my proposal. *Regards,* *Elias* --0000000000003c3b7f059b9e27d7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, 8 Jan 2020 at 18:06, Eli Zaretski= i <eliz@gnu.org> wrote:
=
=C2=A0
> I agree about the pop ups, but the prompt would onl= y be if
> ~/.config/emacs existed, not ~/.config, so deleting it would stop the<= br> > prompt.

The same people who won't know they should delete .emacs.d will also fa= il to know about deleting .config/emacs.

This part of the discussion only applies if my prompt proposal i adopted.= In this case, the user would know because they literally just saw a prompt= on the screen, explaining what happened and how to deal with it. Perhaps s= omething like this:

=C2=A0=C2=A0=C2=A0 Both ~/.= emacs.d and ~/.config/emacs exists. Please select which one to load the con= figuration from.
=C2=A0=C2=A0=C2=A0 NOTE: To avoid this qu= estion in the future, please delete or rename the directory you don't w= ant to use.
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = Type =E2=80=98e=E2=80=99 or =E2=80=98c=E2=80=99 to select: XXX

Now, you have already expressed disagree= ment with this proposal, so I'm not going to push it further. However, = I do hope this clearly clarifies my proposal.

Regards,
Elias
--0000000000003c3b7f059b9e27d7--