all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 24486@debbugs.gnu.org
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)	[thread overview]
Message-ID: <12719a6a-8ec1-471b-bca2-51dc34ee434f@default> (raw)

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	other threads:[~2016-09-20 20:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-20 20:11 Drew Adams [this message]
2016-09-23  8:09 ` bug#24486: 25.1; `dired-do-compress-to' needs to call `expand-file-name' Eli Zaretskii

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=12719a6a-8ec1-471b-bca2-51dc34ee434f@default \
    --to=drew.adams@oracle.com \
    --cc=24486@debbugs.gnu.org \
    /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.