From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#24486: 25.1; `dired-do-compress-to' needs to call `expand-file-name' Date: Tue, 20 Sep 2016 13:11:19 -0700 (PDT) Message-ID: <12719a6a-8ec1-471b-bca2-51dc34ee434f@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1474402340 4194 195.159.176.226 (20 Sep 2016 20:12:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Sep 2016 20:12:20 +0000 (UTC) To: 24486@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 20 22:12:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1bmROo-0000Ie-9Q for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Sep 2016 22:12:14 +0200 Original-Received: from localhost ([::1]:37824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmROm-0001lW-Jc for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Sep 2016 16:12:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmROf-0001lF-Lb for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2016 16:12:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmROc-0001vZ-ES for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2016 16:12:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmROc-0001vU-B8 for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2016 16:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bmROc-0003nS-6Z for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2016 16:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Sep 2016 20:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24486 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147440229914562 (code B ref -1); Tue, 20 Sep 2016 20:12:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Sep 2016 20:11:39 +0000 Original-Received: from localhost ([127.0.0.1]:58501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmROF-0003mo-AH for submit@debbugs.gnu.org; Tue, 20 Sep 2016 16:11:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmROC-0003mb-Dj for submit@debbugs.gnu.org; Tue, 20 Sep 2016 16:11:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmRO6-0001ga-9b for submit@debbugs.gnu.org; Tue, 20 Sep 2016 16:11:31 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:37424) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmRO6-0001g2-7T for submit@debbugs.gnu.org; Tue, 20 Sep 2016 16:11:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmRO4-0001RF-3m for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2016 16:11:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmRO0-0001eQ-TX for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2016 16:11:28 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:32550) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmRO0-0001e3-J6 for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2016 16:11:24 -0400 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u8KKBNno006511 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 20 Sep 2016 20:11:23 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u8KKBMEI014428 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 20 Sep 2016 20:11:23 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u8KKBKa7003264 for ; Tue, 20 Sep 2016 20:11:21 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6753.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:123486 Archived-At: This line of `dired-do-compress-to': (out-file (read-file-name "Compress to: ")) needs to be changed to this: (out-file (expand-file-name (read-file-name "Compress to: "))) Otherwise, an output file name that is read as, say, ~/some/dir/foo.zip ends up erroneously trying to do this, or similar: zip I/O error: No such file or directory zip error: Could not create output file (/cygdrive/d/some/path//some/dir/fo= o.zip) ^^ NOTE In GNU Emacs 25.1.1 (x86_64-w64-mingw32) of 2016-09-17 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --without-dbus --without-compress-install CFLAGS=3D-static'