From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: xdg-directories.el Date: Wed, 07 Sep 2016 21:21:23 +0300 Message-ID: <83zinj8tb0.fsf@gnu.org> References: <83shtbaj4b.fsf@gnu.org> <83inu7aeo5.fsf@gnu.org> <837fanaa50.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1473272577 20464 195.159.176.226 (7 Sep 2016 18:22:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Sep 2016 18:22:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: "francisco.colaco\@gmail.com" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 07 20:22:52 2016 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 1bhhUn-0004bg-6b for ged-emacs-devel@m.gmane.org; Wed, 07 Sep 2016 20:22:49 +0200 Original-Received: from localhost ([::1]:42375 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhhUk-0004YW-Vm for ged-emacs-devel@m.gmane.org; Wed, 07 Sep 2016 14:22:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhhTz-0004BQ-Di for emacs-devel@gnu.org; Wed, 07 Sep 2016 14:22:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhhTu-0006mk-DP for emacs-devel@gnu.org; Wed, 07 Sep 2016 14:21:59 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45871) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhhTu-0006mg-AO; Wed, 07 Sep 2016 14:21:54 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2442 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bhhTr-0001JO-9n; Wed, 07 Sep 2016 14:21:53 -0400 In-reply-to: (francisco.colaco@gmail.com) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:207267 Archived-At: > From: "francisco.colaco@gmail.com" > 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// 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.