bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#24486: 25.1; `dired-do-compress-to' needs to call `expand-file-name'


From: Eli Zaretskii
Subject: bug#24486: 25.1; `dired-do-compress-to' needs to call `expand-file-name'
Date: Fri, 23 Sep 2016 11:09:50 +0300

> Date: Tue, 20 Sep 2016 13:11:19 -0700 (PDT)
> From: Drew Adams <drew.adams@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.





reply via email to

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