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 11:32:04 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000007d4e6c0605cc14ab" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19075"; mail-complaints-to="usenet@ciao.gmane.io" To: 66123@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 20 17:33: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 1qizCa-0004kD-3F for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Sep 2023 17:33:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qizCA-0001w3-VP; Wed, 20 Sep 2023 11:32: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 1qizC9-0001vU-6R for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2023 11:32: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 1qizC8-00050I-UI for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2023 11:32:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qizCH-00089k-VU for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2023 11:33:01 -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 15:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66123 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.169522396131316 (code B ref -1); Wed, 20 Sep 2023 15:33:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Sep 2023 15:32:41 +0000 Original-Received: from localhost ([127.0.0.1]:60175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qizBw-000892-8r for submit@debbugs.gnu.org; Wed, 20 Sep 2023 11:32:40 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:32884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qizBs-00088m-GZ for submit@debbugs.gnu.org; Wed, 20 Sep 2023 11:32:38 -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 1qizBb-0001hE-Ve for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2023 11:32:20 -0400 Original-Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qizBZ-0004wc-LF for bug-gnu-emacs@gnu.org; Wed, 20 Sep 2023 11:32:19 -0400 Original-Received: by mail-qt1-x836.google.com with SMTP id d75a77b69052e-417e4289dedso725531cf.0 for ; Wed, 20 Sep 2023 08:32:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695223936; x=1695828736; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=5DWCi4rTvuMdUeZKnBtynDkekkxJqUJ0B7xw5y7O7n4=; b=HgtdqVgqA5g2eJLSBi9SwSOvDnDIqAnB37VzmyOLhbhePhWrOglrqJ2kGXUNWojwx6 YTzoq8/UyU7foDXrgZqUMwOitwWAA1sPOneH6P/jsA2gUJ3wBqnJorE8AV1o5SHIEsai BpV7bvJd06sWPDH9y/br7Ci7jZsC7YopIbDsR+GvMpDaTRyBFOwp26HaGOEtF1PZ1u5l OZ7QLxlRfV4eRaIuepjY90YzL1PvcdCz1oEJyej0zChug1yGta1S45M4ILA0TjOXCodE KtnrfRYa46pcOYEYiGgX6srqAGVJSlKl2Q7u9+kJB1xvck/DW56ZFSyzMnwQHjITncV2 9ooQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695223936; x=1695828736; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5DWCi4rTvuMdUeZKnBtynDkekkxJqUJ0B7xw5y7O7n4=; b=lodFL0IT1vUUgnfvcogku5mVsj1BzcSFp3K97LHoMsm50pHnzDr2JaZKD7+LBJ/oKR N5nRuYZga8Q+zXq1vucgzzft3krDHd7IdDe4wN+cZE2VoVO1hKHmIGmURHXUBX8w8Ou3 uZ4HSPXWpmZqGh5izLakvhxpd2LsPuF98ZyH8lDP7Tt335RnL6XUn+kRw6d8KqRfLhAB hqqxZbIWoNGYQDI2G2X1mFTcdW1ysf1Xn4sKN2PxX/Hc9YMOEaYKTohVk/Nl6D5vbjL6 H9hbkJyj0VQTpCK7Q8b0T6SECLkSiB6HRqq0MNUrgI9IP6HoI28dl32z3LE+LPo63gxq 5Ekw== X-Gm-Message-State: AOJu0YyyuROpU1joPlk8b1fZWKSFz9z0lcG02TalZx1yir9VmhfzKjob 2YeMVDJQPXm3eSKfl80yapFwt+DnkQ3wN07MOL44JIWevVw= X-Google-Smtp-Source: AGHT+IFyFvGD8ETHp4A/hf0zYafWrSNDDGr0y+x7OtwtlIewbfJ/1JaUUQDqgZY74fkUMeLFnP80NZTyTGuS+24Msx4= X-Received: by 2002:a05:622a:1490:b0:3fd:dab5:9430 with SMTP id t16-20020a05622a149000b003fddab59430mr2480233qtx.16.1695223935486; Wed, 20 Sep 2023 08:32:15 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::836; envelope-from=daniel.c.mccarthy@gmail.com; helo=mail-qt1-x836.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:270931 Archived-At: --0000000000007d4e6c0605cc14ab Content-Type: text/plain; charset="UTF-8" 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)")) basic-save-buffer-2() basic-save-buffer-1() basic-save-buffer(nil) save-buffer() write-file("/ssh:dan@solstice:/tmp/test2.tar.xz" t) funcall-interactively(write-file "/ssh:dan@solstice:/tmp/test2.tar.xz" t) call-interactively(write-file nil nil) command-execute(write-file) In GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.31, cairo version 1.16.0) of 2023-07-31 built on october.example.org Windowing system distributor 'The X.Org Foundation', version 11.0.12014000 System Description: Slackware 15.0 x86_64 Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LC_COLLATE: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Debugger Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils sh-script smie treesit executable calculator vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view pcvs-util vc bug-reference cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cl-extra shortdoc text-property-search thingatpt help-fns radix-tree cl-print debug backtrace help-mode find-func vc-hg vc-git diff-mode easy-mmode vc-bzr vc-dispatcher tar-mode arc-mode archive-mode jka-compr tramp-cmds tramp-cache time-stamp tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat rx shell pcomplete comint ansi-osc ansi-color ring parse-time iso8601 time-date format-spec auth-source cl-seq eieio eieio-core cl-macs cl-loaddefs cl-lib password-cache json subr-x map byte-opt gv bytecomp byte-compile rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 134931 10283) (symbols 48 13252 0) (strings 32 47223 1850) (string-bytes 1 1527085) (vectors 16 25505) (vector-slots 8 335082 9416) (floats 8 123 55) (intervals 56 717 0) (buffers 976 23)) --0000000000007d4e6c0605cc14ab Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The setup is the same as bug#55166:

/ssh:dan@solsti= ce:/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-f= ile throws an error instead of failing silently:

Debugger entered--L= isp error: (wrong-type-argument "listp (tramp-file-name-handler tramp-= crypt-file-name-handler . inhibit-file-name-handlers)")
=C2=A0 sign= al(wrong-type-argument ("listp (tramp-file-name-handler tramp-crypt-fi= le-name-handler . inhibit-file-name-handlers)"))
=C2=A0 basic-save-= buffer-2()
=C2=A0 basic-save-buffer-1()
=C2=A0 basic-save-buffer(nil)=
=C2=A0 save-buffer()
=C2=A0 write-file("/ssh:dan@solstice:/tmp/= test2.tar.xz" t)
=C2=A0 funcall-interactively(write-file "/ssh= :dan@solstice:/tmp/test2.tar.xz" t)
=C2=A0 call-interactively(write= -file nil nil)
=C2=A0 command-execute(write-file)



In GNU = Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.31,
=C2=A0ca= iro version 1.16.0) of 2023-07-31 built on october.example.org
Windowing system distributor 'The X.O= rg Foundation', version 11.0.12014000
System Description: Slackware = 15.0 x86_64

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB= GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBXML2 MODULES NOTIF= Y INOTIFY PDUMPER PNG RSVG SECCOMP SOUND
SQLITE3 THREADS TIFF TOOLKIT_SC= ROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM
GTK3 ZLIB

Important setti= ngs:
=C2=A0 value of $LC_COLLATE: C
=C2=A0 value of $LANG: en_US.UTF-= 8
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Debugger
Minor modes in effect:
=C2=A0 shell-dirtrack-mode: t
=C2=A0 tool= tip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 show-paren-mode: t
= =C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool= -bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t<= br>=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 bl= ink-cursor-mode: t
=C2=A0 buffer-read-only: t
=C2=A0 line-number-mode= : t
=C2=A0 indent-tabs-mode: t
=C2=A0 transient-mark-mode: t
=C2= =A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 au= to-compression-mode: t

Load-path shadows:
None found.

Feat= ures:
(shadow sort mail-extr emacsbug message mailcap yank-media puny di= red
dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config=
gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrevgmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-= prsvr mail-utils sh-script smie treesit executable calculator
vc-src vc-= sccs vc-svn vc-cvs vc-rcs log-view pcvs-util vc bug-reference
cc-mode cc= -fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc= -defs cl-extra shortdoc text-property-search thingatpt
help-fns radix-tr= ee cl-print debug backtrace help-mode find-func vc-hg
vc-git diff-mode e= asy-mmode vc-bzr vc-dispatcher tar-mode arc-mode
archive-mode jka-compr = tramp-cmds tramp-cache time-stamp tramp-sh tramp
tramp-loaddefs trampver= tramp-integration files-x tramp-compat rx shell
pcomplete comint ansi-o= sc ansi-color ring parse-time iso8601 time-date
format-spec auth-source = cl-seq eieio eieio-core cl-macs cl-loaddefs
cl-lib password-cache json s= ubr-x map byte-opt gv bytecomp byte-compile
rmc iso-transl tooltip cconv= eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp= -mode mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset= image regexp-opt fringe
tabulated-list replace newcomment text-mode lis= p-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easy= menu timer select
scroll-bar mouse jit-lock font-lock syntax font-core t= erm/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian= philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai t= ai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slova= k czech
european ethiopic indian cyrillic chinese composite emoji-zwj ch= arscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray = oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macr= oexp
files window text-properties overlay sha1 md5 base64 format env
= code-pages mule custom widget keymap hashtable-print-readable backquote
= threads dbusbind inotify lcms2 dynamic-setting system-font-setting
font-= render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty
make= -network-process emacs)

Memory information:
((conses 16 134931 10= 283)
=C2=A0(symbols 48 13252 0)
=C2=A0(strings 32 47223 1850)
=C2= =A0(string-bytes 1 1527085)
=C2=A0(vectors 16 25505)
=C2=A0(vector-sl= ots 8 335082 9416)
=C2=A0(floats 8 123 55)
=C2=A0(intervals 56 717 0)=
=C2=A0(buffers 976 23))
--0000000000007d4e6c0605cc14ab--