From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Default emacs init file location confusion Date: Tue, 07 Jan 2020 17:25:21 +0100 Message-ID: References: <83y2ukc55g.fsf@gnu.org> <85C8025D-ACFD-4DEB-B030-E46B3109323E@gnu.org> <83lfqjckjn.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="252878"; mail-complaints-to="usenet@blaine.gmane.org" Cc: smartlitchi@gmail.com, lokedhs@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 17:25:38 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 1iorfl-000zeT-DG for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2020 17:25:37 +0100 Original-Received: from localhost ([::1]:52578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iorfe-0002q3-Nz for ged-emacs-devel@m.gmane.org; Tue, 07 Jan 2020 11:25:30 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43309) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iorfZ-0002pw-1o for emacs-devel@gnu.org; Tue, 07 Jan 2020 11:25:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iorfY-0001xM-4L for emacs-devel@gnu.org; Tue, 07 Jan 2020 11:25:24 -0500 Original-Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:39773) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iorfX-0001wm-Ub; Tue, 07 Jan 2020 11:25:24 -0500 Original-Received: by mail-wr1-x435.google.com with SMTP id y11so43097wrt.6; Tue, 07 Jan 2020 08:25:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=YFEDOWIBA4hbAsQUTiXf/xdoFlQQq3ZcnD4/IDiZbJo=; b=dnJlKZp6Qxir5wzFSCtISBn3cXAjE5dOCPdtCx3V+EjjaI/xqKRtV/oC9XMwt0VNYW z1AfZiFZWkMiQlLHDStzh9VeZkceT/wUB89wq3juuAhC5a4a2CO4iyPhUaHnnJb4WF7S gENgUcuZ52ZNkRmwD8THiO4R5c/ght0GBMRNmDko7AdI47jbfJgQINdIiL9GNUuJO43F US8ryfIVQsPn5cejUcZdFvzbctbX4SNiPPMIoEVgU/mqZwt8fDjNCPQuAR+9LEsxjdxj FPxQTCiiMJNOZkK1cXkykOCQQahS0ADGkpaV3QwLZfs2tlxPPMNQRXzhyrP87KHzz1w1 38Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=YFEDOWIBA4hbAsQUTiXf/xdoFlQQq3ZcnD4/IDiZbJo=; b=he+17B1BYCnfXwXpKB+3ptsgkRlxJy4xJRuxIHbLX7HaC/E7Z5cdoIBHUWOShhDial QOrLxAhn/WIBT6J3JJrAzACcO7wFXp+rPh8lMQlgD8LQEvuCBJd2oNnRbJW+NCrD17wF RLyJ4yK6/ylX+i/e9vL7VeuopQde/FWxTBAlvCWDg5Dp9z8db6Q7pPOVeGasSgKDP1ZC vmlMPaTBZWChD1xoHKAIeB7/gUTZLYotngSK8XiMxbICF+pEedWI16yoETcaWq2myBWz 9OL7m5MiB6lUabFmUgo6fVvEJ0bUc1sPHiGmb/LdjtXlFaw2Yto+FA3Og5y3AP82t6sL wwqw== X-Gm-Message-State: APjAAAUXNRlUag80upavVTOVR+088jvUinvwCISUuVO4MRpL3MLpWdL5 WupdsIf1q2diZGHCWVGRt77PxOp52kk= X-Google-Smtp-Source: APXvYqzABZeV+bsfv1FjrKNU4fWA3LPr7pFhIk1qZMUCYKkYWfWDqpJDY7XyRBB7wtHOVCZU5faOjQ== X-Received: by 2002:a5d:6ac5:: with SMTP id u5mr109628848wrw.271.1578414322550; Tue, 07 Jan 2020 08:25:22 -0800 (PST) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id h8sm396176wrx.63.2020.01.07.08.25.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jan 2020 08:25:21 -0800 (PST) In-Reply-To: <83lfqjckjn.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 07 Jan 2020 18:12:44 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::435 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:244070 Archived-At: >>>>> On Tue, 07 Jan 2020 18:12:44 +0200, Eli Zaretskii said: Eli> Thanks, but how did user-emacs-directory get set to ~/.config/emac= s if Eli> that directory didn't exist to begin with? The code in startup.el Eli> does Eli> (setq user-emacs-directory Eli> (startup--xdg-or-homedot startup--xdg-config-home-emacs nil)) Eli> and startup--xdg-or-homedot is supposed not to look in ~/.config Eli> unless ~/.config/emacs exists and is a directory. Or what am I Eli> missing? If neither ~/.config/emacs nor ~/.emacs.d exist, startup--xdg-or-homedot returns ~/.config/emacs, which goes all the way back to 2befb4f0a1494f699f56215d5f28ba055663d881 I=CA=BCm sure this was discussed back then, but I don=CA=BCt remember all t= he details. Robert