From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pedro Andres Aranda Gutierrez Newsgroups: gmane.emacs.bugs Subject: bug#70449: 30.0.50; Can't save .zip archive in TRAMP Date: Fri, 19 Apr 2024 09:28:17 +0200 Message-ID: References: <877cguo8im.fsf@gmx.de> <86frviczsl.fsf@gnu.org> <87plummt7c.fsf@gmx.de> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.8\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_5FCCC1D4-03E9-4708-9EE9-DA6F775A920C" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5688"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70449@debbugs.gnu.org, Eli Zaretskii To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 19 09:29:02 2024 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 1rxig9-0001C4-NR for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Apr 2024 09:29:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxig1-0007Ca-8K; Fri, 19 Apr 2024 03:28:53 -0400 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 1rxifw-0007Bd-CB for bug-gnu-emacs@gnu.org; Fri, 19 Apr 2024 03:28:48 -0400 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 1rxifw-0000qs-3J for bug-gnu-emacs@gnu.org; Fri, 19 Apr 2024 03:28:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rxig9-00014y-W7 for bug-gnu-emacs@gnu.org; Fri, 19 Apr 2024 03:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pedro Andres Aranda Gutierrez Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Apr 2024 07:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70449 X-GNU-PR-Package: emacs Original-Received: via spool by 70449-submit@debbugs.gnu.org id=B70449.17135117233978 (code B ref 70449); Fri, 19 Apr 2024 07:29:01 +0000 Original-Received: (at 70449) by debbugs.gnu.org; 19 Apr 2024 07:28:43 +0000 Original-Received: from localhost ([127.0.0.1]:57325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxifp-00011l-Sw for submit@debbugs.gnu.org; Fri, 19 Apr 2024 03:28:43 -0400 Original-Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:57739) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxifm-00010P-UT for 70449@debbugs.gnu.org; Fri, 19 Apr 2024 03:28:40 -0400 Original-Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-41882c16824so13678465e9.3 for <70449@debbugs.gnu.org>; Fri, 19 Apr 2024 00:28:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713511699; x=1714116499; darn=debbugs.gnu.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=z24+TjC+nbQrNu9rursBbaCv2SzkSYdhi4N64HrfM+U=; b=JzI67gtG+XWN/TIM/HSXUwJ1l6F1DvzoPyAxNbUniwNoq+0DhNSDek8dgGF6nQXKfg 4U53Ey/ANCaaL2srDznKnvvWiZ08nCuyhu8Wuvw+8fm57SldNHVQqddMEsj4GNp/qYoD FKmuGBsdZ9T6EPZz+5nf52R2zZq6Pyy2g6nNlH3PIFWbpWHtPLWgm0TmgiNXpgTQm+Av dQwHGPn5h+NXism68V8CEYxCzQMXjSX0W+ZTv66ZrEab/aA8aE1Pm+xp0lP5qtV3aEno 0Bb2VYCU8eL7JNs2MBWl+3adYcVNZelU2mS65ZWSlljCPptWAMR4Z72VEdjS57DX/et1 CXnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713511699; x=1714116499; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=z24+TjC+nbQrNu9rursBbaCv2SzkSYdhi4N64HrfM+U=; b=e0ZgTxmEPs/Kaj/LIfu4HrmEf6g6eEmF+T64zyECR5pvMOWrqIF7j2FSiGjCt4SxYW RyP7X+s/BuA0LIJ8r3jPN+A+6LjP2lw3KNreKEuFbyQw/7aSqlGtKF+8AjUOaoV9cB04 jQ32y3M6YlHSfu0ivIpOFyydXw9rHgHXdMSVdvx9VD0FlRLbKlI1NRXwyDAioT0kcYeX FkJgoIYVAO1GcUEafbDHRVZO1cFrm5IXr7UI9n2h4Bm4rcjIG4apjccS5Q+78ciw4N22 CwYYs7Q0UK+ei8EbsnkAEH+xQq52UR3ICpfKk6unghQaQkM4YlIMaNnwer1wtQhzO11O SBPg== X-Forwarded-Encrypted: i=1; AJvYcCV91IDgLUkQN1D4mGaYO+QgqbIQjzty2dOZdlcZNnF5hUIlgp/5qQutCuCO2TLMH38WF1wLahkMl9gGW5O1Q1d/7cLmLaM= X-Gm-Message-State: AOJu0Yzdx817MSWyWqr3waqBNVElZbYRfbW++g17OX9hA76cNx6hZpZ2 z1W2gIDtn1X4h+SuW/G+oIQfUeb4zGKn5LcJrrzb7RQNpMQOS7CK X-Google-Smtp-Source: AGHT+IEilnh6MRWlvqs8drncJVEuJBhi0S9xvmjMV/AUEQP8yheKAWWCGl5Asqp/G6aPw1LHpGrFYg== X-Received: by 2002:a05:600c:5012:b0:416:9e38:3bdd with SMTP id n18-20020a05600c501200b004169e383bddmr910237wmr.27.1713511698787; Fri, 19 Apr 2024 00:28:18 -0700 (PDT) Original-Received: from smtpclient.apple (nat-eduroam-L.uc3m.es. [163.117.64.8]) by smtp.gmail.com with ESMTPSA id f11-20020a05600c4e8b00b00417ee886977sm9313201wmq.4.2024.04.19.00.28.18 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Apr 2024 00:28:18 -0700 (PDT) In-Reply-To: <87plummt7c.fsf@gmx.de> X-Mailer: Apple Mail (2.3696.120.41.1.8) 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:283642 Archived-At: --Apple-Mail=_5FCCC1D4-03E9-4708-9EE9-DA6F775A920C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Michael, Fair enough, /PA > El 18 abr 2024, a las 20:17, Michael Albinus = escribi=C3=B3: >=20 > Eli Zaretskii > writes: >=20 > Hi Eli, >=20 >>>> 1.- Open zip archive in remote machine using TRAMP >>>> 2.- Modify archive member >>>> 3.- Try to save with Ctrl-x Ctrl-s >>>>=20 >>>> Will work w/o problems on locally edited archive >>>=20 >>> I can reproduce it. There seems to be an error in arc-mode.el. I'll >>> debug it when time permits; however, this mode is terra incognita = for >>> me. >>>=20 >>> Or somebody who knows arc-mode.el could debug. >>=20 >> I only know how it works with local archives, not with remote ones. >=20 > Yes. But from my short debug cycle I've tried just now it looks, like > arc-mode detects that the zip file couldn't be edited directly, and it > works over a local temporary copy of that zip file. So it couldn't be > too hard to fix this, once we (I?) understand the different steps. >=20 > In order to make it clear, I transform this report into a wishlist. > Editing remote zip files hasn't been offered ever I believe. >=20 > Best regards, Michael. --Apple-Mail=_5FCCC1D4-03E9-4708-9EE9-DA6F775A920C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi = Michael,

Fair = enough,
/PA

El 18 abr 2024, a las 20:17, = Michael Albinus <michael.albinus@gmx.de> escribi=C3=B3:

Eli Zaretskii <eliz@gnu.org> writes:

Hi Eli,

1.- Open zip archive in remote machine using TRAMP
2.- Modify archive member
3.- Try to save with = Ctrl-x Ctrl-s

Will work w/o problems on = locally edited archive

I can = reproduce it. There seems to be an error in arc-mode.el. I'll
debug it when time permits; however, this mode is terra = incognita for
me.

Or somebody = who knows arc-mode.el could debug.

I only know how it works with local archives, not with remote = ones.

Yes. But from my short debug cycle I've tried just now it = looks, like
arc-mode = detects that the zip file couldn't be edited directly, and it
works over a local temporary = copy of that zip file. So it couldn't be
too hard to fix this, once we (I?) understand the different = steps.

In order to = make it clear, I transform this report into a wishlist.
Editing remote zip files hasn't = been offered ever I believe.

Best regards, Michael.

= --Apple-Mail=_5FCCC1D4-03E9-4708-9EE9-DA6F775A920C--