GNU bug report logs - #6144
23.2; unzip arguments quoting

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Sun, 9 May 2010 01:32:02 UTC

Severity: normal

Merged with 6467, 7207

Found in version 23.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 6144 <at> debbugs.gnu.org (full text, mbox):

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 6144 <at> debbugs.gnu.org
Subject: Re: bug#6144: 23.2; unzip arguments quoting
Date: Sun, 9 May 2010 23:13:37 +0200
On Sun, May 9, 2010 at 3:10 AM, Dmitry Gutov <dgutov <at> yandex.ru> wrote:
> When I tried to open any zip or jar archive in dired and view contents of
> any file
> inside, Emacs just writes "caution: filename not matched: "<internal path>".
> An investigation with Process Explorer Monitor has led me to believe that
> Emacs
> launches the unzip executable with parameters -qq -c "<filename>"
> "\"<internal path>\"", and the extra escaped quotes in the last parameter
> are
> the source of the problem.
>
> Replacing
>
> "(if (equal (car archive-zip-extract) "unzip")
>     (shell-quote-argument name)
>       name)"
>
> with "name"
>
> in arc-mode.el and recompiling the file solved the problem.

Thanks for the bug report, Dmitry. However the current code seems to
work well with the unzip program from gnuwin32:

  UnZip 5.51 of 22 May 2004, by Info-ZIP.

What unzip program are you using?




This bug report was last modified 14 years and 146 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.