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: xdg-directories.el Date: Wed, 07 Sep 2016 12:46:54 -0400 Message-ID: References: <83shtbaj4b.fsf@gnu.org> <83inu7aeo5.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1473267028 29653 195.159.176.226 (7 Sep 2016 16:50:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Sep 2016 16:50:28 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 07 18:50:24 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 1bhg3G-0006o6-Ne for ged-emacs-devel@m.gmane.org; Wed, 07 Sep 2016 18:50:18 +0200 Original-Received: from localhost ([::1]:42054 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhg3F-0004bt-NS for ged-emacs-devel@m.gmane.org; Wed, 07 Sep 2016 12:50:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhg0Q-0002lE-HH for emacs-devel@gnu.org; Wed, 07 Sep 2016 12:47:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhg0M-0004d5-9M for emacs-devel@gnu.org; Wed, 07 Sep 2016 12:47:21 -0400 Original-Received: from [195.159.176.226] (port=53525 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhg0M-0004cf-1l for emacs-devel@gnu.org; Wed, 07 Sep 2016 12:47:18 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bhg09-0004AG-87 for emacs-devel@gnu.org; Wed, 07 Sep 2016 18:47:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:lcnMw2+yWS4yYZdnPgVQ2i0F4hY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:207255 Archived-At: >> I have seen once again the source code for xdg-user-dir, and there is no >> environment variables until one runs >> ~/.config/user-dirs.dirs (or the file in $XDG_CONFIG_HOME). Oh, right. It looks like a shell is unavoidable, indeed. So we might as well run xdg-user-dir instead of re-implementing it (but let's do it via call-process rather than shell-command*). > 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. ] Stefan