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 20:24:53 +0300 Message-ID: <838tv3aahm.fsf@gnu.org> References: <83shtbaj4b.fsf@gnu.org> <83inu7aeo5.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1473269135 29884 195.159.176.226 (7 Sep 2016 17:25:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Sep 2016 17:25:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 07 19:25:31 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 1bhgbF-0006gg-Qr for ged-emacs-devel@m.gmane.org; Wed, 07 Sep 2016 19:25:25 +0200 Original-Received: from localhost ([::1]:42193 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhgbD-00044Q-S4 for ged-emacs-devel@m.gmane.org; Wed, 07 Sep 2016 13:25:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhgb7-00044G-Pa for emacs-devel@gnu.org; Wed, 07 Sep 2016 13:25:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhgb3-0004G4-GC for emacs-devel@gnu.org; Wed, 07 Sep 2016 13:25:16 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhgb3-0004Fq-D6; Wed, 07 Sep 2016 13:25:13 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2211 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bhgb0-0001Ah-Q1; Wed, 07 Sep 2016 13:25:11 -0400 In-reply-to: (message from Stefan Monnier on Wed, 07 Sep 2016 12:46:54 -0400) 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:207261 Archived-At: > From: Stefan Monnier > Date: Wed, 07 Sep 2016 12:46:54 -0400 > > > If the script is only run to find the PICTURES and DOCUMENTS > > directories, then at least on Windows those could be found by > > alternative means that don't use any scripts. (We don't currently > > have a Lisp-visible API for that, but it'd be easy to add.) > > Should we use XDG under Windows? > [my gut feeling is "hell, no", but I really have no idea. ] What do you mean by "use XDG"? We can honor the XDG environment variables, if they are defined (we already do in a couple of places), and if not, fall back to standard Windows places. (Actually, as you might know, Windows _invented_ all those places in the first place, and freedesktop just copycat that. Windows had "My Documents", "My Pictures", "My Music", etc. since much more than the last 6 years.) My point was that the "standard places" on Windows don't need us to run a shell script, as on GNU/Linux.