From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] checking eww download directory Date: Sat, 28 Jan 2017 15:01:23 +0700 Message-ID: References: <87wpdgmi84.fsf@udel.edu> <87inp08g2b.fsf@mouse> <20170127194816.GA18966@holos.localdomain> <83y3xwz2kv.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1485590519 11860 195.159.176.226 (28 Jan 2017 08:01:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 28 Jan 2017 08:01:59 +0000 (UTC) Cc: Mark Oteiza , Lars Magne Ingebrigtsen , Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 28 09:01:52 2017 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 1cXNxF-0002Ib-EF for ged-emacs-devel@m.gmane.org; Sat, 28 Jan 2017 09:01:49 +0100 Original-Received: from localhost ([::1]:50339 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXNxK-000402-MW for ged-emacs-devel@m.gmane.org; Sat, 28 Jan 2017 03:01:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXNxE-0003uw-W3 for emacs-devel@gnu.org; Sat, 28 Jan 2017 03:01:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXNxE-0002v8-7E for emacs-devel@gnu.org; Sat, 28 Jan 2017 03:01:49 -0500 Original-Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:33948) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cXNxC-0002u3-Pd; Sat, 28 Jan 2017 03:01:46 -0500 Original-Received: by mail-lf0-x244.google.com with SMTP id q89so27557882lfi.1; Sat, 28 Jan 2017 00:01:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=y0wqqrkaMmOeq+CwpHORIP1J92nCEuz+UnskRqakzPk=; b=dJaaXaLnebbRIJ9w5Ob3nUfSCpNdXNX8HjZXOqcxd+NkAwgoMb2FNmhxNi8wWH6xFk g9Ofu9qmTaK1vBau9gkCY5X3czkY/neoBNgGg+bp+nSjtX9PQtPfhJLPl3OoSOAXYRLM gulyujpMc9i94hW6pTtZRHRakEvMrDwkJe/H/ic32j6t4ty6oEHAD7+MF7xuZGhMhYu2 gzfzbfFxRXic9xl1GyAKgZYxl05KCDCQeW0ZQ+T6+/hx7Ho5oYT/pZR9O6LBSDV62vAh F6c43qlQfkdmWF1mjG0HDimiqquvgaXRztajTuyXSfPrARNekvdUd6BbK9SibzNcZqdT jDUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=y0wqqrkaMmOeq+CwpHORIP1J92nCEuz+UnskRqakzPk=; b=K8zHSsJKpQFxj0pa8yF7qG6rYOMJ+E/uvESBx27x5yJeokSOEjId/pyVbycu6Eht+3 l/9KAl8XpFD61IdUI1B2JhtvU/SfSzFeXHE5vrpHWxv5Uart8tuQgMqNpLtN3AAZnY3m I6vGabyoVSBVT7Eb/xvjnAsd70uRiBP3IS7lf/prwJK6IQNT4r5+V3LSRTGycJ+7EQxe 6XkZBf963T9c5Rt9G7k+8HPMtDQKCorlRSXFJn5ATN267c5EBzSG/UyGtPbJW8J/u0Wo InqcPPIZcPUJ07bDVnBucpZdxuj9sb/LMAzrEqlUhe9/uSJvTIr2gH3oWS593Jd+JNp7 Aa7Q== X-Gm-Message-State: AIkVDXIYFP5MejpH+FOmFqd7xGA5bga6L5DD6iPOO4AwFJMqJzepxeXwFtw/3im7njjXdIyc7y3T2mMr5hdfXg== X-Received: by 10.25.156.144 with SMTP id f138mr4270994lfe.80.1485590503619; Sat, 28 Jan 2017 00:01:43 -0800 (PST) Original-Received: by 10.25.8.212 with HTTP; Sat, 28 Jan 2017 00:01:23 -0800 (PST) In-Reply-To: <83y3xwz2kv.fsf@gnu.org> X-Google-Sender-Auth: BYIJdJouBvleOX_iOFjtUXKcsnY X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::244 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:211674 Archived-At: On Sat, Jan 28, 2017 at 3:10 AM, Eli Zaretskii 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. 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.