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: [PATCH] Implement XDG Base Directory specification for user-emacs-directory Date: Mon, 29 Jul 2019 12:24:02 +0800 Message-ID: References: <20190525172356.30070.65317@vcs0.savannah.gnu.org> <20190525172357.86D4F207F5@vcs0.savannah.gnu.org> <835zpnv1o4.fsf@gnu.org> <87lfybw8cd.fsf_-_@fencepost.gnu.org> <83d0jmbmcs.fsf@gnu.org> <8336khbeas.fsf@gnu.org> <83woh0cppu.fsf@gnu.org> <83r26gq0lt.fsf@gnu.org> <87blxg6v5c.fsf@fencepost.gnu.org> <837e83nc87.fsf@gnu.org> <49b51848-c390-eff6-b2e1-be75f67ba620@cs.ucla.edu> <83ef2akyf1.fsf@gnu.org> <831ry9lg7m.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000baf509058eca436d" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="228737"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Paul Eggert , emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 29 06:24:46 2019 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 1hrxDJ-000xQH-PK for ged-emacs-devel@m.gmane.org; Mon, 29 Jul 2019 06:24:45 +0200 Original-Received: from localhost ([::1]:49250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrxDI-0008MJ-R5 for ged-emacs-devel@m.gmane.org; Mon, 29 Jul 2019 00:24:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59583) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrxCs-0008Hu-UU for emacs-devel@gnu.org; Mon, 29 Jul 2019 00:24:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hrxCr-0004Jw-Nz for emacs-devel@gnu.org; Mon, 29 Jul 2019 00:24:18 -0400 Original-Received: from mail-io1-xd41.google.com ([2607:f8b0:4864:20::d41]:45939) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hrxCp-0004GP-OP; Mon, 29 Jul 2019 00:24:15 -0400 Original-Received: by mail-io1-xd41.google.com with SMTP id g20so117085418ioc.12; Sun, 28 Jul 2019 21:24:15 -0700 (PDT) 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=5SSKDCAJOljxAGGSDD9xXh95BhYZoWhvESXG2NDCk0s=; b=pn9TKvbF/QZVD76vc4W159shZXpFywNcHXhTdHdwbyZgSMzZHWpnSxA7FP+izjXoLy 2qK7AilkJru+/KH1xZ8Hz6yqO9RTPcGxnvn0tzuFX3FvI9N1zbzuimCn/9PfXdaYbvf6 6/AXV9oTTwMJSJU7WvGC4UORUlllxwqSbmzrejwzzRIfWKwb8R2dTeGcd3UVu+cy7wCY B/1/bxM5vhLfpbCtaskrULHQT/2QkXZOLhes5ODznJsNSEi5KyjxfWAiwaPKoahSdgEp 03uMrKoBvSpKIwc7JSbB9jXtS890j7V631l9uMhOccWME5SwngDYDcFr43lG5Uu77QUw iouw== 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=5SSKDCAJOljxAGGSDD9xXh95BhYZoWhvESXG2NDCk0s=; b=lyn91WNBcqfOKfkp8QYns6bDDYtweKkz6pf+o3tbNfcmcKQeRHG0WJaXzqAHl68/G/ S0yLPotwky9ivMt2E7YbXQ1dkbTlrHZxHd2tsZ2CwDNU88KIBIC9lSe1JND/tqqhFxvO Z2k6Yf9zH8CZkc1/2De9GhBI24VGJ/nL01AHP2ZpCGuCtyY2GQ0yI1hgFGkRWnG0nJl/ orX1T7AY75irNi4CcaoffkTMq3b1YGYPvv0urmhl7za45Xc0LGQHzg8+oayh6NF8Bxbc FaokuAsJxX4swbdneqbadkTfbO6HkhPOhsazywk9w1cXggbbkzQDdXxs0aoHIm+4p9Dp iovg== X-Gm-Message-State: APjAAAUfIjdWz3TU5pk+v5rNLSkTyFi+9J3/IODkOFyu9+JSSSY9ne/W 8vbD8zniLysATTtKoMtilEuCH2iL6Ob+dpmCT3UNRiuthDrIxg== X-Google-Smtp-Source: APXvYqwMvtCHdil3IBe3yNI2VpbTdhhDyAXPKLdT4G4be43HvHSL/WSDYMLzTtoWDMiIEWObcOTN0cPyXFrAZAXtkiE= X-Received: by 2002:a05:6638:52:: with SMTP id a18mr112310795jap.75.1564374254414; Sun, 28 Jul 2019 21:24:14 -0700 (PDT) In-Reply-To: <831ry9lg7m.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d41 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:238985 Archived-At: --000000000000baf509058eca436d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Eli, I am sorry for the confusion caused. I was reading it on the phone, and due to the way the lines were broken up, I didn't notice that some of the lines were prefixed with a minus, indicating that they were removed. Please ignore my comment. Regards, Elias On Mon, 29 Jul 2019 at 10:36, Eli Zaretskii wrote: > > From: Elias M=C3=A5rtenson > > Date: Mon, 29 Jul 2019 09:00:12 +0800 > > Cc: Paul Eggert , emacs-devel > > > > > From: Paul Eggert > > > Date: Sat, 27 Jul 2019 11:46:31 -0700 > > > > > > I'll give it a whirl. Proposed patch attached. > > > > > When Emacs is started, it normally tries to load a Lisp program > from > > > an @dfn{initialization file}, or @dfn{init file} for short. This > > > -file, if it exists, specifies how to initialize Emacs for you. Ema= cs > > > -looks for your init file using the filenames > > > -@file{~/.config/emacs},. @file{~/.emacs}, @file{~/.config/emacs.el}= , > > > -@file{~/.emacs.el}, @file{~/.config/emacs.d/init.el} or > > > -@file{~/.emacs.d/init.el}; you can choose to use any one of these > > > -names (@pxref{Find Init}). Here, @file{~/} stands for your home > > > +file, if it exists, specifies how to initialize Emacs for you. > > > +If the directory @file{@var{xdghome}/.config/emacs} exists, Emacs > uses > > > +@file{@var{xdghome}/.config/emacs/init.el} as the init file. Here, > > > +@var{xdghome} stands for the value of the environment variable > > > +@env{XDG_CONFIG_HOME}, or for @file{~/.config} if > > > +@env{XDG_CONFIG_HOME} is unset; @file{~/} stands for your home > > > directory. > > > > The above quote explains the meaning of the ~ symbol twice. Is that > necessary, or is it the result of an > > incorrect copy and paste? > > I admit that I don't see the duplication. Can you point it out > explicitly? > --000000000000baf509058eca436d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Eli,

I am sorry for th= e confusion caused. I was reading it on the phone, and due to the way the l= ines were broken up, I didn't notice that some of the lines were prefix= ed with a minus, indicating that they were removed.

Please ignore my comment.

Regards,
Eli= as

On Mon, 29 Jul 2019 at 10:36, Eli Zaretskii <eliz@gnu.org> wrote:
> From: Elias M=C3=A5rtenson <lokedhs@gmail.com>
> Date: Mon, 29 Jul 2019 09:00:12 +0800
> Cc: Paul Eggert <eggert@cs.ucla.edu>, emacs-devel <emacs-devel@gnu.org>
>
>=C2=A0 > From: Paul Eggert <eggert@cs.ucla.edu>
>=C2=A0 > Date: Sat, 27 Jul 2019 11:46:31 -0700
>=C2=A0 >
>=C2=A0 > I'll give it a whirl. Proposed patch attached.
>
>=C2=A0 >=C2=A0 =C2=A0 When Emacs is started, it normally tries to lo= ad a Lisp program from
>=C2=A0 >=C2=A0 an @dfn{initialization file}, or @dfn{init file} for = short.=C2=A0 This
>=C2=A0 > -file, if it exists, specifies how to initialize Emacs for = you.=C2=A0 Emacs
>=C2=A0 > -looks for your init file using the filenames
>=C2=A0 > -@file{~/.config/emacs},. @file{~/.emacs}, @file{~/.config/= emacs.el},
>=C2=A0 > -@file{~/.emacs.el}, @file{~/.config/emacs.d/init.el} or >=C2=A0 > -@file{~/.emacs.d/init.el}; you can choose to use any one o= f these
>=C2=A0 > -names (@pxref{Find Init}).=C2=A0 Here, @file{~/} stands fo= r your home
>=C2=A0 > +file, if it exists, specifies how to initialize Emacs for = you.
>=C2=A0 > +If the directory @file{@var{xdghome}/.config/emacs} exists= , Emacs uses
>=C2=A0 > +@file{@var{xdghome}/.config/emacs/init.el} as the init fil= e.=C2=A0 Here,
>=C2=A0 > +@var{xdghome} stands for the value of the environment vari= able
>=C2=A0 > +@env{XDG_CONFIG_HOME}, or for @file{~/.config} if
>=C2=A0 > +@env{XDG_CONFIG_HOME} is unset; @file{~/} stands for your = home
>=C2=A0 >=C2=A0 directory.
>
> The above quote explains the meaning of the ~ symbol twice. Is that ne= cessary, or is it the result of an
> incorrect copy and paste?

I admit that I don't see the duplication.=C2=A0 Can you point it out explicitly?
--000000000000baf509058eca436d--