From: Eli Zaretskii <eliz@gnu.org>
To: Yuri Khan <yuri.v.khan@gmail.com>
Cc: mvoteiza@udel.edu, larsi@gnus.org, emacs-devel@gnu.org
Subject: Re: [PATCH] checking eww download directory
Date: Sat, 28 Jan 2017 10:54:06 +0200 [thread overview]
Message-ID: <83o9yrzhsh.fsf@gnu.org> (raw)
In-Reply-To: <CAP_d_8XeZW+zHp6kCnkW82DrWaXNmakB0t+xU_mWgD4t+3c5ow@mail.gmail.com> (message from Yuri Khan on Sat, 28 Jan 2017 15:01:23 +0700)
> From: Yuri Khan <yuri.v.khan@gmail.com>
> Date: Sat, 28 Jan 2017 15:01:23 +0700
> Cc: Mark Oteiza <mvoteiza@udel.edu>, Lars Magne Ingebrigtsen <larsi@gnus.org>,
> Emacs developers <emacs-devel@gnu.org>
>
> On Sat, Jan 28, 2017 at 3:10 AM, Eli Zaretskii <eliz@gnu.org> 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
exist.
next prev parent reply other threads:[~2017-01-28 8:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-27 19:10 [PATCH] checking eww download directory Mark Oteiza
2017-01-27 19:21 ` Lars Ingebrigtsen
2017-01-27 19:48 ` Mark Oteiza
2017-01-27 20:10 ` Eli Zaretskii
2017-01-28 8:01 ` Yuri Khan
2017-01-28 8:54 ` Eli Zaretskii [this message]
2017-01-28 14:14 ` Lars Ingebrigtsen
2017-01-28 21:04 ` Mark Oteiza
2017-01-27 19:27 ` Lars Ingebrigtsen
2017-01-27 19:38 ` Clément Pit-Claudel
2017-01-27 20:17 ` Mark Oteiza
2017-01-27 22:21 ` Clément Pit-Claudel
2017-01-28 7:53 ` Eli Zaretskii
2017-01-29 1:01 ` Library for XDG things (was Re: [PATCH] checking eww download directory) Mark Oteiza
2017-01-30 14:40 ` Ted Zlatanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83o9yrzhsh.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
--cc=mvoteiza@udel.edu \
--cc=yuri.v.khan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).