From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#5475: Archives with filenames with square brackets Date: Thu, 28 Jan 2010 22:24:50 +0100 Message-ID: References: <874omakv2m.fsf@mail.jurta.org> <87eilca86n.fsf@stupidchicken.com> <83r5pc4jye.fsf@gnu.org> <87vden4h9x.fsf@stupidchicken.com> <83ljfj4fje.fsf@gnu.org> <87r5pavvrm.fsf@stupidchicken.com> <838wbiszy7.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1264714831 14190 80.91.229.12 (28 Jan 2010 21:40:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Jan 2010 21:40:31 +0000 (UTC) Cc: 5475@debbugs.gnu.org, Chong Yidong To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 28 22:40:28 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nac6F-0002Ys-EN for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Jan 2010 22:40:27 +0100 Original-Received: from localhost ([127.0.0.1]:47911 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nac6E-0006zI-Nc for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Jan 2010 16:40:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nac5u-0006s5-T0 for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2010 16:40:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Nac5p-0006q0-TJ for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2010 16:40:06 -0500 Original-Received: from [199.232.76.173] (port=36091 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nac5p-0006pv-Nf for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2010 16:40:01 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51032) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Nac5p-00055V-Au for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2010 16:40:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NabsI-0001VO-7H; Thu, 28 Jan 2010 16:26:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Jan 2010 21:26:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5475 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5475-submit@debbugs.gnu.org id=B5475.12647139185742 (code B ref 5475); Thu, 28 Jan 2010 21:26:02 +0000 Original-Received: (at 5475) by debbugs.gnu.org; 28 Jan 2010 21:25:18 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NabrZ-0001UZ-MK for submit@debbugs.gnu.org; Thu, 28 Jan 2010 16:25:17 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.152]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NabrX-0001UP-QV for 5475@debbugs.gnu.org; Thu, 28 Jan 2010 16:25:16 -0500 Original-Received: by fg-out-1718.google.com with SMTP id 22so193208fge.15 for <5475@debbugs.gnu.org>; Thu, 28 Jan 2010 13:25:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=5GsxSrtEl/JvyBBXuK8Hsm4dvwnBWndhcF6/QaVU2ls=; b=R3J2uUSKgkAhzczBjc88Y2VLu4q7Lkwc3OFCfToSmUHprKOU9iLOoX7eVfXqRnYVs0 FuI4ly3Cc/yLj0yYZxe+E8ANkp6eNHSn6XFDwSsRBNJ2FJhZebIgv7RVMw4pUpK4BBru dVajNjo9p/q6LxoH7PRMxNAyPeulUvC/u9cfY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=f+X+/9RCMxXCDBeNyEF39eUkh0p9nBDsE9j/9yFVJTlVqvbobhXHxNZ9yxLKwYkG8U rE4lgcCEfUjYg8Bw7mQy5gt5g6UQS8s5kHc51hOeTtrfWG6+w65ZAXRjqtT3gXMVGfeY vKJeq0pLsk3981iu3yP3+TXF4xhCdvOv0UUl8= Original-Received: by 10.239.166.141 with SMTP id b13mr1251588hbe.101.1264713910406; Thu, 28 Jan 2010 13:25:10 -0800 (PST) In-Reply-To: <838wbiszy7.fsf@gnu.org> X-Spam-Score: -3.0 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -3.0 (---) Resent-Date: Thu, 28 Jan 2010 16:26:02 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:34784 Archived-At: On Thu, Jan 28, 2010 at 10:05 PM, Eli Zaretskii wrote: >> From: Chong Yidong >> Cc: juri@jurta.org, 5475@debbugs.gnu.org >> Date: Thu, 28 Jan 2010 15:07:09 -0500 >> >> Eli Zaretskii 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. Excuse me, I did not follow this thread at all, but I get curious. What does shell-quote have to do with the arc-mode library? Does it use a shell at all? > 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. =C2=A0But 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. =C2=A0That doesn't seem right to me. Now that 7-zip is available on GNU/Linux too wouldn't it be very good to include support for it? >> It doesn't seem like anyone's going to test PKzip anytime soon. =C2=A0In= the >> meantime, I have checked in the change to use shell-quote-argument for >> unzip. > > My "soon" is once a week. =C2=A0You only waited 2 days. :-( > > > > >