emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inclusion of XDG Base Directory library


From: Stefan Monnier
Subject: Re: Inclusion of XDG Base Directory library
Date: Mon, 07 May 2018 12:43:14 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>   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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]