GNU bug report logs - #5475
Archives with filenames with square brackets

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> jurta.org>

Date: Mon, 25 Jan 2010 17:58:02 UTC

Severity: normal

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: juri <at> jurta.org, 5475 <at> debbugs.gnu.org
Subject: bug#5475: Archives with filenames with square brackets
Date: Thu, 28 Jan 2010 23:05:04 +0200
> From: Chong Yidong <cyd <at> stupidchicken.com>
> Cc: juri <at> jurta.org, 5475 <at> debbugs.gnu.org
> Date: Thu, 28 Jan 2010 15:07:09 -0500
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> Well, archive-zip-extract already branches for pkzip/unzip
> >
> > Yes, but it does that by a user option, not by some hidden knowledge.
> > I won't mind introducing a similar option that would tell arc-mode to
> > quote the file arguments.
> 
> Right, but once the user tells arc-mode to use unzip, we can
> automagically shell-quote the filename; there seems to be no reason not
> to.

If you want to glean the need for quoting from the value of
archive-zip-extract (i.e. its car being "unzip"), I'm fine with that
as well.  But as your patch is written, it imposes that on any unzip
command, regardless of whether it was "unzip" or something else, like
p7zip, for example.  That doesn't seem right to me.

> It doesn't seem like anyone's going to test PKzip anytime soon.  In the
> meantime, I have checked in the change to use shell-quote-argument for
> unzip.

My "soon" is once a week.  You only waited 2 days. :-(




This bug report was last modified 15 years and 37 days ago.

Previous Next


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