From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#5540: 23.1.92; failed to access zip inside zip when not using tramp Date: Tue, 09 Feb 2010 23:16:12 +0200 Organization: JURTA Message-ID: <87ocjy155v.fsf@mail.jurta.org> References: <87vde9m7dn.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1265752478 30296 80.91.229.12 (9 Feb 2010 21:54:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Feb 2010 21:54:38 +0000 (UTC) To: 5540@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 09 22:54:35 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 1Ney2V-0007ly-Ak for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Feb 2010 22:54:35 +0100 Original-Received: from localhost ([127.0.0.1]:39042 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ney2U-0007BE-IV for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Feb 2010 16:54:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ney0P-0006Ld-7z for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2010 16:52:25 -0500 Original-Received: from [199.232.76.173] (port=57987 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ney0O-0006Kt-IH for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2010 16:52:24 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ney0M-0004kz-Sg for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2010 16:52:24 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34662) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ney0M-0004kt-KG for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2010 16:52:22 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Nexco-0002rA-Qo; Tue, 09 Feb 2010 16:28:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Feb 2010 21:28:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5540 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5540-submit@debbugs.gnu.org id=B5540.126575086910952 (code B ref 5540); Tue, 09 Feb 2010 21:28:02 +0000 Original-Received: (at 5540) by debbugs.gnu.org; 9 Feb 2010 21:27:49 +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 1Nexca-0002qb-Sh for submit@debbugs.gnu.org; Tue, 09 Feb 2010 16:27:49 -0500 Original-Received: from smtp-out4.starman.ee ([85.253.0.6] helo=mx2.starman.ee) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NexcY-0002qT-IO for 5540@debbugs.gnu.org; Tue, 09 Feb 2010 16:27:47 -0500 X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Original-Received: from mail.starman.ee (82.131.55.178.cable.starman.ee [82.131.55.178]) by mx2.starman.ee (Postfix) with ESMTP id BA9ED3F7E5F for <5540@debbugs.gnu.org>; Tue, 9 Feb 2010 23:27:36 +0200 (EET) In-Reply-To: <87vde9m7dn.fsf@mail.jurta.org> (Juri Linkov's message of "Sun, 07 Feb 2010 19:01:56 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 09 Feb 2010 16:28: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:34989 Archived-At: > I currently don't understand the decision to use archive-remote=t > for nested archives (this is an old decision), but perhaps they > should be distinguished from remote archives with a new variable > or a new value of `archive-remote'? Actually for remote archives `archive-remote' is 0 and for nested archives `archive-remote' is t. But this difference doesn't matter. The following patch creates the directories for nested archives: === modified file 'lisp/arc-mode.el' --- lisp/arc-mode.el 2010-02-04 19:54:46 +0000 +++ lisp/arc-mode.el 2010-02-09 21:12:51 +0000 @@ -850,6 +850,11 @@ (defun archive-unique-fname (fname dir) ;; reconstructed in the temporary directory. (make-directory (file-name-directory tmpfile) t) (make-temp-file tmpfile)) + ;; Maked sure all the leading directories in `fullname' exist + ;; under archive-tmpdir. This is necessary for nested archives + ;; (`archive-extract' sets `archive-remote' to t in case + ;; an archive occurs inside another archive). + (make-directory (file-name-directory fullname) t) fullname))) (defun archive-maybe-copy (archive) -- Juri Linkov http://www.jurta.org/emacs/