all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#24486: 25.1; `dired-do-compress-to' needs to call `expand-file-name'
@ 2016-09-20 20:11 Drew Adams
  2016-09-23  8:09 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2016-09-20 20:11 UTC (permalink / raw)
  To: 24486

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'





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-23  8:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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.