[Top][All Lists]

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

Re: [PATCH] checking eww download directory

From: Eli Zaretskii
Subject: Re: [PATCH] checking eww download directory
Date: Sat, 28 Jan 2017 10:54:06 +0200

> From: Yuri Khan <address@hidden>
> Date: Sat, 28 Jan 2017 15:01:23 +0700
> Cc: Mark Oteiza <address@hidden>, Lars Magne Ingebrigtsen <address@hidden>, 
>       Emacs developers <address@hidden>
> On Sat, Jan 28, 2017 at 3:10 AM, Eli Zaretskii <address@hidden> wrote:
> > The Downloads directory exists on Windows only since Windows 7, it's
> > not there on older versions.
> The SHGetKnownFolderPath API function is supported since Vista,
> though.

I'd prefer using SHGetFolderPath (which Emacs already uses), as its
availability is almost universal on the supported versions of the OS.
Probably in conjunction with CSIDL_PROFILE.

> The politically correct way on Windows would probably be to
> try to call that with FOLDERID_Downloads, although since Windows 7
> Microsoft dropped the dubious practice of localizing directory names
> on the file system, replacing it with the equally dubious practice of
> replacing actual directory names with localized strings in the shell
> UI instead.

My point was where do you put stuff if Downloads doesn't exist.  That
is separate from the issue of finding the directory when it does

reply via email to

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