From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dan McCarthy Newsgroups: gmane.emacs.bugs Subject: bug#66123: 29.1; tar-mode errors when saving remote files Date: Wed, 20 Sep 2023 15:34:57 -0400 Message-ID: References: <87ttro7ku1.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002019040605cf798c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19142"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66123@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 20 21:36:17 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 1qj2zh-0004m3-92 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Sep 2023 21:36:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qj2zL-0005Z5-Qe; Wed, 20 Sep 2023 15:35:55 -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 1qj2zJ-0005Yn-76 for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2023 15:35:53 -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 1qj2zI-0005TN-V5 for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2023 15:35:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qj2zS-0001Hq-FU for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2023 15:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dan McCarthy Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Sep 2023 19:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66123 X-GNU-PR-Package: emacs Original-Received: via spool by 66123-submit@debbugs.gnu.org id=B66123.16952385284896 (code B ref 66123); Wed, 20 Sep 2023 19:36:02 +0000 Original-Received: (at 66123) by debbugs.gnu.org; 20 Sep 2023 19:35:28 +0000 Original-Received: from localhost ([127.0.0.1]:60415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj2yt-0001Gs-Rj for submit@debbugs.gnu.org; Wed, 20 Sep 2023 15:35:28 -0400 Original-Received: from mail-oi1-x236.google.com ([2607:f8b0:4864:20::236]:61921) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qj2yq-0001GX-9b for 66123@debbugs.gnu.org; Wed, 20 Sep 2023 15:35:26 -0400 Original-Received: by mail-oi1-x236.google.com with SMTP id 5614622812f47-3adf115ba79so125123b6e.3 for <66123@debbugs.gnu.org>; Wed, 20 Sep 2023 12:35:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695238509; x=1695843309; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=hCoDrHmUwy+y01KVogjrHCFDd1M+oYgpptExf0oualE=; b=gkyr3rv3dbedtkiM+2qR7TK4kNQpUNFoYx1Lg3uEWMcPndoWTz7sDPoID+X3+Cl9XL QBWIZFKseBN6BcIzLyfABBVYTfQzq+TJDUrsYe05shMozyWe1nXj2d+Qf8EnP/TqV+81 Ktrn6Vm0lAPFz9aRzJLQDIt4kdJXNmtTqewRxu1GV3VvCr8IQkZ5ALwACH6d8ldQJj56 npp3Joq2nh3wqDP4y+vx6x/hTLbOdT5isSo1V2lJu8ZGs0KqX4FKoCl3uDidxGxAhK8e IwLAMX3Xv8eYCYBft9Na9kT06yKL7k7oqq5FzJtlDqw76Mvf20SUbrXn8L5/26pVizYx yaOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695238509; x=1695843309; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hCoDrHmUwy+y01KVogjrHCFDd1M+oYgpptExf0oualE=; b=Ob33rHBho7vgxGeYzZ9fBkWs9rSTldNPGs9HVb6kgUIp7yPkxUQgFDDIWbptde/ZLw cDppc0en1tXJovhXf141QfafSjSfjTVpWiAahw55+oWqQFrAGjYEl+OPpBW1ZGpHs0rx eDCctetTCJkmFK2PbZA7MKMpUHofVVD8bYlT0bXe/nlTC+F7iNqmo26BVUfaIBRbSEh7 JcTIHovuLPNcjCqLZdtYO/8f1U8D1M/G0oNpytPIndXpPBO7DhQojo8QxbAQ5o4VkF1o iy2ZKUrICvavJjWW6+EsMXU4iXFH93fpChZRMd16Mg9ABfME7cMCM8rhlTBen0ENF8bD 3yyA== X-Gm-Message-State: AOJu0Yx9wcP3jyzz08kM+3TDE7dJ0Kg5sNlUmFqz08rLvxHwI5klkMuo ddOgrxBl0j7VlEumr++nGvz3Vy8Bw8ZQ1PgNVZ8= X-Google-Smtp-Source: AGHT+IF3BkVFqXcpAgyOXBgNmj08987YKQL11vp/xlo2q7XHbk7of2D0ojUuQorNx4DaCV3QtzrjsMHqyE7fbyDS9yc= X-Received: by 2002:a05:6808:201a:b0:3a4:34c8:f84e with SMTP id q26-20020a056808201a00b003a434c8f84emr3955057oiw.2.1695238508778; Wed, 20 Sep 2023 12:35:08 -0700 (PDT) In-Reply-To: <87ttro7ku1.fsf@gmx.de> 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:270950 Archived-At: --0000000000002019040605cf798c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable That fixes it. Thank you! On Wed, Sep 20, 2023 at 2:36=E2=80=AFPM Michael Albinus wrote: > Dan McCarthy writes: > > Hi Dan, > > > The setup is the same as bug#55166: > > > > /ssh:dan@solstice:/tmp/ #$ touch a b c > > /ssh:dan@solstice:/tmp/ #$ tar cf test.tar a b c > > /ssh:dan@solstice:/tmp/ #$ xz test.tar > > > > but in this case write-file throws an error instead of failing > > silently: > > > > Debugger entered--Lisp error: (wrong-type-argument "listp > > (tramp-file-name-handler tramp-crypt-file-name-handler . > > inhibit-file-name-handlers)") > > signal(wrong-type-argument ("listp (tramp-file-name-handler > > tramp-crypt-file-name-handler . inhibit-file-name-handlers)")) > > Oops, a comma is missing. Could you pls try the appended patch? Note > that, due to macro expansion, you must recompile lisp/net/tramp.el first > and then lisp/net/tramp-sh.el afterwards. > > Best regards, Michael. > > --0000000000002019040605cf798c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That fixes it. Thank you!

On Wed, Sep 20, 2023 at 2:36= =E2=80=AFPM Michael Albinus <m= ichael.albinus@gmx.de> wrote:
Dan McCarthy <daniel.c.mccarthy@gmail.com> writes:

Hi Dan,

> The setup is the same as bug#55166:
>
> /ssh:dan@solstice:/tmp/ #$ touch a b c
> /ssh:dan@solstice:/tmp/ #$ tar cf test.tar a b c
> /ssh:dan@solstice:/tmp/ #$ xz test.tar
>
> but in this case write-file throws an error instead of failing
> silently:
>
> Debugger entered--Lisp error: (wrong-type-argument "listp
> (tramp-file-name-handler tramp-crypt-file-name-handler .
> inhibit-file-name-handlers)")
>=C2=A0 =C2=A0signal(wrong-type-argument ("listp (tramp-file-name-h= andler
> tramp-crypt-file-name-handler . inhibit-file-name-handlers)"))
Oops, a comma is missing. Could you pls try the appended patch? Note
that, due to macro expansion, you must recompile lisp/net/tramp.el first and then lisp/net/tramp-sh.el afterwards.

Best regards, Michael.

--0000000000002019040605cf798c--