[Top][All Lists]

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

Re: xdg-directories.el

From: Stefan Monnier
Subject: Re: xdg-directories.el
Date: Wed, 07 Sep 2016 12:46:54 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>> 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. ]


reply via email to

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