From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#5475: Archives with filenames with square brackets Date: Mon, 01 Feb 2010 06:15:27 +0200 Message-ID: <83zl3th9r4.fsf@gnu.org> 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> <87y6jfcg8b.fsf@mail.jurta.org> <83d40qj4av.fsf@gnu.org> <87aavua6gb.fsf@mail.jurta.org> <838wbei224.fsf@gnu.org> <87zl3uorzn.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1264998458 31099 80.91.229.12 (1 Feb 2010 04:27:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Feb 2010 04:27:38 +0000 (UTC) Cc: 5475@debbugs.gnu.org, cyd@stupidchicken.com To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 01 05:27:33 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 1Nbnsp-0000xX-3R for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Feb 2010 05:27:31 +0100 Original-Received: from localhost ([127.0.0.1]:43091 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nbnso-0003KG-I5 for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Jan 2010 23:27:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nbnsj-0003Jp-Cr for bug-gnu-emacs@gnu.org; Sun, 31 Jan 2010 23:27:25 -0500 Original-Received: from [199.232.76.173] (port=33287 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nbnsi-0003Jd-Tp for bug-gnu-emacs@gnu.org; Sun, 31 Jan 2010 23:27:24 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nbnsh-0001zA-Cw for bug-gnu-emacs@gnu.org; Sun, 31 Jan 2010 23:27:24 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40825) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Nbnsh-0001z4-4y for bug-gnu-emacs@gnu.org; Sun, 31 Jan 2010 23:27:23 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Nbnih-00007l-3o; Sun, 31 Jan 2010 23:17:03 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Feb 2010 04:17:03 +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.1264997768454 (code B ref 5475); Mon, 01 Feb 2010 04:17:03 +0000 Original-Received: (at 5475) by debbugs.gnu.org; 1 Feb 2010 04:16:08 +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 1Nbnhn-00007H-9K for submit@debbugs.gnu.org; Sun, 31 Jan 2010 23:16:07 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nbnhk-00006o-8R for 5475@debbugs.gnu.org; Sun, 31 Jan 2010 23:16:04 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0KX500H00AEYAC00@a-mtaout22.012.net.il> for 5475@debbugs.gnu.org; Mon, 01 Feb 2010 06:15:23 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.70.67.249]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KX500DO6AHM12I0@a-mtaout22.012.net.il>; Mon, 01 Feb 2010 06:15:23 +0200 (IST) In-reply-to: <87zl3uorzn.fsf@mail.jurta.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 31 Jan 2010 23:17:03 -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:34831 Archived-At: > From: Juri Linkov > Cc: cyd@stupidchicken.com, 5475@debbugs.gnu.org > Date: Sun, 31 Jan 2010 23:59:40 +0200 > > When I try to set `archive-zip-extract' to ("7z" "x" "-so") it puts some > unnecessary information (header lines, progress indication, etc.) to > the output buffer, because it outputs this to stderr. With the following > change, stderr goes to /dev/null, but there is no chance to see possible errors > (this patch is for demonstration only, not to be installed): > > === modified file 'lisp/arc-mode.el' > --- lisp/arc-mode.el 2010-01-28 20:06:36 +0000 > +++ lisp/arc-mode.el 2010-01-31 21:48:51 +0000 > @@ -1080,7 +1080,7 @@ (defun archive-extract-by-stdout (archiv > (apply 'call-process > (car command) > nil > - t > + '(t nil) > nil > (append (cdr command) (list archive name)))) > > To process 7z in the correct branch, the following patch is needed, > where any values other than pkunzip/pkzip are processed by > archive-extract-by-stdout instead of archive-*-extract, > where "unzip" needs to quote its filenames. > > So I propose to install the following patch, and add more > changes for 7z processing after feature freeze. Thanks. I'm not sure we need to support 7z, I just tried it to see if other unzip programs expand wildcards by default like "unzip" does.