From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 24486-done@debbugs.gnu.org
Subject: bug#24486: 25.1; `dired-do-compress-to' needs to call `expand-file-name'
Date: Fri, 23 Sep 2016 11:09:50 +0300 [thread overview]
Message-ID: <83zimzca0h.fsf@gnu.org> (raw)
In-Reply-To: <12719a6a-8ec1-471b-bca2-51dc34ee434f@default> (message from Drew Adams on Tue, 20 Sep 2016 13:11:19 -0700 (PDT))
> 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.
prev parent reply other threads:[~2016-09-23 8:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-20 20:11 bug#24486: 25.1; `dired-do-compress-to' needs to call `expand-file-name' Drew Adams
2016-09-23 8:09 ` Eli Zaretskii [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83zimzca0h.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=24486-done@debbugs.gnu.org \
--cc=drew.adams@oracle.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.