From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Inclusion of XDG Base Directory library Date: Mon, 07 May 2018 12:43:14 -0400 Message-ID: References: <779935bf-79ea-5783-4c9c-4b7e2857bc50@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1525711301 17581 195.159.176.226 (7 May 2018 16:41:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 7 May 2018 16:41:41 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 07 18:41:37 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fFjCg-0004Rf-N9 for ged-emacs-devel@m.gmane.org; Mon, 07 May 2018 18:41:34 +0200 Original-Received: from localhost ([::1]:47132 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFjEm-0006bW-6E for ged-emacs-devel@m.gmane.org; Mon, 07 May 2018 12:43:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFjEc-0006bG-D0 for emacs-devel@gnu.org; Mon, 07 May 2018 12:43:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFjEZ-0004TL-BZ for emacs-devel@gnu.org; Mon, 07 May 2018 12:43:34 -0400 Original-Received: from [195.159.176.226] (port=37121 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fFjEZ-0004Rh-4A for emacs-devel@gnu.org; Mon, 07 May 2018 12:43:31 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fFjCL-00046b-Px for emacs-devel@gnu.org; Mon, 07 May 2018 18:41:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:91N92Sa0RDy58GsXnso6jLPlbJU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:225122 Archived-At: >   I have set a public github repository at: >     https://github.com/francisco-colaco/user-directories >   Please feel free to contribute there or to raise issues. I think it'd be nice to have this as a GNU ELPA package. But I guess there's some questions as to how it should be installed in order to avoid needing a ~/.emacs.d directory at all. The "HOW DO I INSTALL IT?" section wasn't clear enough for me to know how it's currently meant to be installed. It says:   Just including the two directories in a site-lisp directory is enough on my machine to recognize ~/.config/emacs/init.el and run it at the site start. I'm glad it works for you, but I don't know what "a site-lisp directory" is. [ I can guess what you mean by "the two directories", tho it is a bit vague. ] I wonder how/why it works for you, tho, because I don't see any code in Emacs which will look at something named "site-start.d" by default. Could it be that your site-start.d gets used by some code provided by your distribution (e.g. I see some site-start.d directories used by Debian's Emacs package)?   Unfortunately, user-init-file will not be set, because I think it is hardcoded in C from an array of possibilities. No, it's set in lisp/startup.el. Stefan