From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#67926: 29.1; fail to extract ZIP subfile named with [...] Date: Sat, 23 Dec 2023 12:16:10 +0200 Message-ID: <83a5q1dy1h.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35396"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67926@debbugs.gnu.org To: awrhygty@outlook.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 23 11:17:20 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rGz4J-0008yY-8z for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Dec 2023 11:17:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rGz3z-0005I9-AQ; Sat, 23 Dec 2023 05:16:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGz3x-0005Hc-GO for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2023 05:16:57 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rGz3x-0001yy-7x for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2023 05:16:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rGz42-0003TJ-AT for bug-gnu-emacs@gnu.org; Sat, 23 Dec 2023 05:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Dec 2023 10:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67926 X-GNU-PR-Package: emacs Original-Received: via spool by 67926-submit@debbugs.gnu.org id=B67926.170332659913313 (code B ref 67926); Sat, 23 Dec 2023 10:17:02 +0000 Original-Received: (at 67926) by debbugs.gnu.org; 23 Dec 2023 10:16:39 +0000 Original-Received: from localhost ([127.0.0.1]:48654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGz3f-0003Sf-DM for submit@debbugs.gnu.org; Sat, 23 Dec 2023 05:16:39 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGz3d-0003SP-Nr for 67926@debbugs.gnu.org; Sat, 23 Dec 2023 05:16:38 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGz3S-0001p4-P6; Sat, 23 Dec 2023 05:16:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=xfHtoQ8ZSOL05+wqjm9XFUJ4I0gwqSrlk2OeCKRCPt8=; b=owB11gj7QwDR 0WjENrFys7nkUjk03M6OqYVeymWslLM+vs1gYo7ppZ9gEzAOd2lcGH4USCC7FvvWPRgRmqQ9jBuTy UNV8jhtqK7aYAZtWcqxMbW9izJyihHnZrY5ssk/AWje0wL/gYGY9oDV5BLJDOxHo+ct+bJ9KbmHNz 1lo+bFb3vWyf5K10BpwoEzHgUYBk/FwNMMJS7fTdo/6qDU96lodVboVny2q4mm5Nmnm/JS4FarmQh CIMh1qktC6CqLGzXvP/M+7cloCbRwP/0ou0CSyYwg+badYhL81/c5tXiqXLmzSt0RRysEvTmYHtdy 2BFizPmNjCtqSrNltQjnug==; In-Reply-To: (awrhygty@outlook.com) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:276727 Archived-At: > From: awrhygty@outlook.com > Date: Wed, 20 Dec 2023 20:23:38 +0900 > > > If a ZIP archive has a subfile named 'file[abc].txt', > RET(archive-extract) in an archive-mode buffer fails to extract with > message: > caution: filename not matched: file[abc].txt > > Unfortunately if there are filea.txt, fileb.txt and filec.txt, > extraction does not report errors and the buffer of 'file[abc].txt' > contains all contents of filea.txt, fileb.txt and filec.txt, but does > not contains the contents of 'file[abc].txt'. > > This is because 'unzip.exe' treats subfilename arguments containing > '[...]' as subfilename patterns. This does not occur with '7z.exe'. Is there any way of making 'unzip' extract file[abc].txt by name, by some kind of escaping or protecting the [...] wildcard from expansion? If there is such a way, we could try using it (maybe); if there's no such way, I will tag this bug "wontfix", since it isn't a problem with Emacs, but with the Windows build of 'unzip'. Thanks.