GNU bug report logs -
#24486
25.1; `dired-do-compress-to' needs to call `expand-file-name'
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Tue, 20 Sep 2016 20:12:02 UTC
Severity: normal
Found in version 25.1
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24486 in the body.
You can then email your comments to 24486 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#24486
; Package
emacs
.
(Tue, 20 Sep 2016 20:12:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Drew Adams <drew.adams <at> oracle.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 20 Sep 2016 20:12:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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/foo.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=-static'
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Fri, 23 Sep 2016 08:10:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Drew Adams <drew.adams <at> oracle.com>
:
bug acknowledged by developer.
(Fri, 23 Sep 2016 08:10:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 24486-done <at> debbugs.gnu.org (full text, mbox):
> Date: Tue, 20 Sep 2016 13:11:19 -0700 (PDT)
> From: Drew Adams <drew.adams <at> oracle.com>
>
> 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/foo.zip)
Thanks, fixed on the emacs-25 branch.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 21 Oct 2016 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 301 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.