emacs-devel
[Top][All Lists]
Advanced

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

Re: xdg-directories.el


From: Eli Zaretskii
Subject: Re: xdg-directories.el
Date: Wed, 07 Sep 2016 21:21:23 +0300

> From: "address@hidden" <address@hidden>
> Date: Wed, 7 Sep 2016 18:56:45 +0100
> 
> In Windows, it is not so simple. User application data should live in 
> ~/AppData. I Think
> AppData/emacs/<data,config,cache,runtime>/ is a good starting point. 
> Documents and pictures directories,
> however, have their names localised. Thus, we have to dwelve in the evil 
> faded registry to get their names in
> the system, if any other method is not available.

There are existing APIs to retrieve these without looking in the
Registry, see, for example

 https://msdn.microsoft.com/en-us/library/windows/desktop/bb762181(v=vs.85).aspx

>  We should also think whether we need to do anything if we find more
>  than one init.el in these places.
> 
> The first to be found takes precedence and is read, to the exclusion of the 
> postcedent.

I'm not sure I agree.  We might want at least warn the user.



reply via email to

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