X-Loop: help-debbugs@HIDDEN Subject: bug#42706: 27.0.50; commands breaking on unreachable remote directory Resent-From: Ken Raeburn <raeburn@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 04 Aug 2020 13:57:02 +0000 Resent-Message-ID: <handler.42706.B.15965493914641 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 42706 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 42706 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.15965493914641 (code B ref -1); Tue, 04 Aug 2020 13:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Aug 2020 13:56:31 +0000 Received: from localhost ([127.0.0.1]:48688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1k2xQc-0001Cn-Cn for submit <at> debbugs.gnu.org; Tue, 04 Aug 2020 09:56:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:44686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <raeburn@HIDDEN>) id 1k2xQZ-0001Cg-9x for submit <at> debbugs.gnu.org; Tue, 04 Aug 2020 09:56:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <raeburn@HIDDEN>) id 1k2xQY-0007Ad-T1 for bug-gnu-emacs@HIDDEN; Tue, 04 Aug 2020 09:56:26 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:23766 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from <raeburn@HIDDEN>) id 1k2xQV-0002XS-HI for bug-gnu-emacs@HIDDEN; Tue, 04 Aug 2020 09:56:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1596549382; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=e3D589tSq19Y83pRbqhVEYW6MUd64Qei7j42Ov+2PmY=; b=P+IE3ui+6PpydnJbR/IklMw9bkhR8rh6MGrCTxXDcNPJ2GX15awn6NGZXeol3rElbwOuJM KQ/uCYxngR16bKfuezH/diQAa8OlyWbts+NAvjFIvXMil152k32YII2dRXAJ6wd/4Ny0Lj /KQ1XGV1Wups4LqD1z6315g21+6P9rE= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-6-barWcN6YN1azXSpDTs7hAw-1; Tue, 04 Aug 2020 09:55:08 -0400 X-MC-Unique: barWcN6YN1azXSpDTs7hAw-1 Received: by mail-qt1-f200.google.com with SMTP id m88so29217467qtd.15 for <bug-gnu-emacs@HIDDEN>; Tue, 04 Aug 2020 06:55:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=Fiw5g+trQGLBU0YsDLNACXvzFBOS4F5airb/uskQFNA=; b=XuIhRiah3P1bjpCcKaWIVFJbYDzX4R8sOQHQMES9zPCLj/eu1b0lvpK7Ezgkb9XTLp 2riuCZTRiS8IjTXuBRKI7hdwABvdPsvx3mtT591aSBdBy/kAwBIS6vILPA6Cqj1w5c7a UE9tPWomMWsEgYwZ4DvrEqvho2OxxNJ+CVTSa7SksXAsXnULB5r5WpiA9GyBiNqTzUU0 ax+nGT7nmtQLLa7OfjKcAmsjy0SjVCiYYz1SQsLik+qT+loveS+YY9dEUJmkX2mKL8ke ICpCVIveJGmM+AitJZpu41IjGImGZ7kOYK7Cso+W5NAq+Le0fCwIk+NdZLNXUu94h2B3 nk5A== X-Gm-Message-State: AOAM5318XwueYYmT7aW3Htr5J1fI9LlpepFm9cjXlqlUAxBip/yY7kP7 hhIjvtAyf+yme8SJQRU0tW3dyj6ad476rs11m8UKB2UV1053RJNv//5tnJtCXTQyFa48yhC87PR 5h2H+oQMdvl8xgPc= X-Received: by 2002:ad4:4cc9:: with SMTP id i9mr21587852qvz.131.1596549307183; Tue, 04 Aug 2020 06:55:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzefg/tEbB3zrfdRIOjUmsvli2VoNR3cpFWOBMeFYouwRhtriR6ltKVwnjVp+XaJJ5vh9jYIA== X-Received: by 2002:ad4:4cc9:: with SMTP id i9mr21587824qvz.131.1596549306779; Tue, 04 Aug 2020 06:55:06 -0700 (PDT) Received: from crash (c-73-253-167-23.hsd1.ma.comcast.net. [73.253.167.23]) by smtp.gmail.com with ESMTPSA id 65sm23213364qkf.33.2020.08.04.06.55.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Aug 2020 06:55:05 -0700 (PDT) From: Ken Raeburn <raeburn@HIDDEN> Date: Tue, 04 Aug 2020 09:55:04 -0400 Message-ID: <877duea53b.fsf@HIDDEN> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=raeburn@HIDDEN X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=205.139.110.120; envelope-from=raeburn@HIDDEN; helo=us-smtp-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/04 01:28:23 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) A couple commands I've tried have failed if the default directory for a buffer is remote and the server is unreachable. One was list-buffers when one of my buffers (not the current one) was visiting a remote file on a server that was down. The other was cd, when the current default directory was remote. In both cases, the file-error error ("Timeout reached") was raised and not trapped. The cd command did not get to the point of prompting me for a new directory. Stack traces are below. Looks like a common failure point is calling abbreviate-file-name, which calls file-name-case-insensitive-p, which under tramp/scp runs remote commands, or tries to. While file-name-case-insensitive-p can't guarantee a reasonable answer in the case of a failed connection, it looks to me like abbreviate-file-name could probably fail safe by assuming case sensitivity and continuing on. I haven't noticed these problems before trying Emacs 27 pretests, but I may have just gotten lucky. Debugger entered--Lisp error: (file-error "Timeout reached, see buffer =E2= =80=98*tramp/scp root@HIDDEN") signal(file-error ("Timeout reached, see buffer =E2=80=98*tramp/scp root@= thomp...")) tramp-signal-hook-function(file-error ("Timeout reached, see buffer =E2= =80=98*tramp/scp root@HIDDEN")) signal(file-error ("Timeout reached, see buffer =E2=80=98*tramp/scp root@= thomp...")) tramp-maybe-open-connection((tramp-file-name "scp" "root" nil "[host]" ni= l "[path]..." nil)) tramp-send-command((tramp-file-name "scp" "root" nil "[host]" nil "[path]= ..." nil) "test 0 2>/dev/null; echo tramp_exit_status $?") tramp-send-command-and-check((tramp-file-name "scp" "root" nil "[host]" n= il "[path]..." nil) "test 0") tramp-get-test-command((tramp-file-name "scp" "root" nil "[host]" nil "[p= ath]..." nil)) tramp-run-test("-d" "[scp-path]") tramp-sh-handle-file-directory-p("[scp-path]") apply(tramp-sh-handle-file-directory-p "[scp-path]") tramp-sh-file-name-handler(file-directory-p "[scp-path]") apply(tramp-sh-file-name-handler file-directory-p "[scp-path]") tramp-file-name-handler(file-directory-p "[scp-path]") file-directory-p("[scp-path]") apply(file-directory-p "[scp-path]") tramp-archive-run-real-handler(file-directory-p ("[scp-path]")) tramp-archive-file-name-handler(file-name-case-insensitive-p "[scp-path]"= ) file-name-case-insensitive-p("[scp-path]") abbreviate-file-name("[scp-path]") Buffer-menu--pretty-file-name("[scp-path]") list-buffers--refresh(nil #<buffer *scratch*>) list-buffers-noselect(nil) list-buffers(nil) funcall-interactively(list-buffers nil) call-interactively(list-buffers nil nil) command-execute(list-buffers) Debugger entered--Lisp error: (file-error "Timeout reached, see buffer =E2= =80=98*tramp/scp root@HIDDEN") signal(file-error ("Timeout reached, see buffer =E2=80=98*tramp/scp root@= thomp...")) tramp-signal-hook-function(file-error ("Timeout reached, see buffer =E2= =80=98*tramp/scp root@HIDDEN")) signal(file-error ("Timeout reached, see buffer =E2=80=98*tramp/scp root@= thomp...")) tramp-maybe-open-connection((tramp-file-name "scp" "root" nil "[host]" ni= l "[path]..." nil)) tramp-send-command((tramp-file-name "scp" "root" nil "[host]" nil "[path]= ..." nil) "test 0 2>/dev/null; echo tramp_exit_status $?") tramp-send-command-and-check((tramp-file-name "scp" "root" nil "[host]" n= il "[path]..." nil) "test 0") tramp-get-test-command((tramp-file-name "scp" "root" nil "[host]" nil "[p= ath]..." nil)) tramp-run-test("-d" "[scp-path]") tramp-sh-handle-file-directory-p("[scp-path]") apply(tramp-sh-handle-file-directory-p "[scp-path]") tramp-sh-file-name-handler(file-directory-p "[scp-path]") apply(tramp-sh-file-name-handler file-directory-p "[scp-path]") tramp-file-name-handler(file-directory-p "[scp-path]") file-directory-p("[scp-path]") apply(file-directory-p "[scp-path]") tramp-archive-run-real-handler(file-directory-p ("[scp-path]")) tramp-archive-file-name-handler(file-name-case-insensitive-p "[scp-path]"= ) file-name-case-insensitive-p("[scp-path]") abbreviate-file-name("[scp-path]") read-file-name-default("Change default directory: " "[scp-path]" "[scp-pa= th]" t nil file-directory-p) read-file-name("Change default directory: " "[scp-path]" "[scp-path]" t n= il file-directory-p) read-directory-name("Change default directory: " "[scp-path]" "[scp-path]= " t) byte-code(... [cd-path default-directory #f(compiled-function () #<byteco= de 0x1fd5f0c2e0f3>) nil make-byte-code 0 ... vconcat vector [remove-hook mi= nibuffer-setup-hook] 3 ... [remove-hook minibuffer-setup-hook] add-hook min= ibuffer-setup-hook parse-colon-path getenv "CDPATH" "./" read-directory-nam= e "Change default directory: " t] 10) call-interactively(cd record nil) command-execute(cd record) execute-extended-command(nil "cd" "cd") funcall-interactively(execute-extended-command nil "cd" "cd") call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw scroll b= ars) of 2019-11-18 built on crash Repository revision: ed52618e707682e812002c98b99efe4baf43e1ca Repository branch: master Windowing system distributor 'Fedora Project', version 11.0.12006000 System Description: Fedora 31 (Workstation Edition) Recent messages: Timeout reached, see buffer =E2=80=98*tramp/scp root@HIDDEN= ab.eng.bos.redhat.com*=E2=80=99 for details Tramp: Waiting for prompts from remote shell...failed Tramp: Opening connection for root@HIDDEN= com using scp...failed Entering debugger... Mark set [4 times] Back to top level Entering debugger... Back to top level uncompressing files.el.gz...done GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars= ) of 2019-11-18 Quit Configured using: 'configure --prefix=3D/home/raeburn/dev/emacs/Install-20191118T1638' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: async-bytecomp-package-mode: t shell-dirtrack-mode: t rcirc-track-minor-mode: t display-time-mode: t desktop-save-mode: t global-edit-server-edit-mode: t which-function-mode: t icomplete-mode: t global-hi-lock-mode: t hi-lock-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tab-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/raeburn/elisp/with-editor hides /home/raeburn/.emacs.d/elpa/with-edit= or-20181113.1845/with-editor Features: (shadow emacsbug debug backtrace thai-util thai-word lao-util enriched view tramp-archive tramp-gvfs zeroconf dbus org-table eww mm-url url-queue ansible-doc ansible poly-ansible poly-ansible-jinja2-filters polymode poly-lock polymode-base polymode-weave polymode-export polymode-compat polymode-methods polymode-core polymode-classes eieio-custom color term/xterm xterm vc vc-dispatcher eieio-opt speedbar sb-image ezimage dframe mh-compat mh-buffers mh-loaddefs gnus-registry registry eieio-base gnus-salt gnus-topic gnus-uu yenc gnus-vm ispell tramp-cmds f s vagrant-tramp dash autoload lisp-mnt tar-mode arc-mode archive-mode url-http url-gw url-cache url-auth mm-archive smiley gnus-cite gnus-async gnus-bcklg qp gnus-ml mailalias smtpmail sendmail sort grep mail-extr tabify cus-edit help-fns radix-tree cl-print ielm pp misearch multi-isearch with-editor async-bytecomp async thingatpt tramp-cache nndraft nnmh nnfolder utf-7 gnutls gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache network-stream nsm add-log mule-util cl-extra help-mode rst compile sh-script executable face-remap conf-mode adaptive-wrap systemtap-mode cc-langs cc-awk cperl-mode perl-mode python tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat ls-lisp smerge-mode diff make-mode org-rmail org-mhe org-irc org-info org-gnus nnir org-docview doc-view jka-compr image-mode exif org-bibtex bibtex org-bbdb org-w3m org-element avl-tree generator org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline org-version ob-shell shell pcomplete ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs ruby-mode smie vc-git diff-mode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs yaml-mode rcirc gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum url url-proxy url-privacy url-expand url-methods url-history mailcap shr url-cookie url-domsuf url-util svg xml dom gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search time-date mail-utils mm-util mail-prsvr wid-edit time desktop frameset cus-start cus-load kr-init edit-server iso-transl advice smart-quotes easy-mmode which-func imenu icomplete server term disp-table comint ansi-color ehelp ring hi-lock finder-inf info package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type 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 elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 12331780 1040220) (symbols 48 58354 53) (strings 32 582500 68903) (string-bytes 1 19352387) (vectors 16 94302) (vector-slots 8 1829418 441520) (floats 8 634 525) (intervals 56 1342629 27544) (buffers 1000 1630))
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Ken Raeburn <raeburn@HIDDEN> Subject: bug#42706: Acknowledgement (27.0.50; commands breaking on unreachable remote directory) Message-ID: <handler.42706.B.15965493914641.ack <at> debbugs.gnu.org> References: <877duea53b.fsf@HIDDEN> X-Gnu-PR-Message: ack 42706 X-Gnu-PR-Package: emacs Reply-To: 42706 <at> debbugs.gnu.org Date: Tue, 04 Aug 2020 13:57:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 42706 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 42706: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D42706 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#42706: 27.0.50; commands breaking on unreachable remote directory [was: Re: master 3e4d4f472d: Rework `abbreviate-file-name' in Tramp] Resent-From: Michael Albinus <michael.albinus@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 13 Mar 2022 09:31:02 +0000 Resent-Message-ID: <handler.42706.B42706.164716384721740 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 42706 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jim Porter <jporterbugs@HIDDEN> Cc: Ken Raeburn <raeburn@HIDDEN>, 42706 <at> debbugs.gnu.org Received: via spool by 42706-submit <at> debbugs.gnu.org id=B42706.164716384721740 (code B ref 42706); Sun, 13 Mar 2022 09:31:02 +0000 Received: (at 42706) by debbugs.gnu.org; 13 Mar 2022 09:30:47 +0000 Received: from localhost ([127.0.0.1]:41650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1nTKYo-0005ea-Qc for submit <at> debbugs.gnu.org; Sun, 13 Mar 2022 05:30:47 -0400 Received: from mout.gmx.net ([212.227.15.15]:52143) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <michael.albinus@HIDDEN>) id 1nTKYl-0005eK-UZ for 42706 <at> debbugs.gnu.org; Sun, 13 Mar 2022 05:30:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1647163835; bh=3nE8l7e/wiDTys2voqUwUIADIGZgTIqkmChCDL2Hyzg=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=LfbOGNwbgS+8jYurjB7hXDFopQS4b2d0dEdUJQQzi4bRGSuroBrEJHuCB3qKJjDuK uGYL7GAizdB9PjK0wbV9XMCLDN7G9HCodcN0j5/oaRePrD3OMLCt0/Y3ipXcDapl1S qnV8iFgM3HR/nd2cWr6HBCjnlHQDJ0mKGRIOT+/w= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([213.220.148.165]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MCKFk-1nL35F2cZW-009LtU; Sun, 13 Mar 2022 10:30:35 +0100 From: Michael Albinus <michael.albinus@HIDDEN> References: <164665696336.29111.11356916615467348904@HIDDEN> <20220307124243.C094FC01681@HIDDEN> <3b6d686e-7951-3ca5-129e-fba24beb35a5@HIDDEN> <87ilsox0ru.fsf@HIDDEN> <87ee3cwux8.fsf@HIDDEN> <87ee3aujbl.fsf@HIDDEN> <CANh=_JEsPt0-E7o1L7BddPxE8yBn6yogNSOqBWGVpxaohdumFg@HIDDEN> <875yokvs86.fsf@HIDDEN> <87r178ubb6.fsf@HIDDEN> <CANh=_JGHTOAeP0N4PFQbySvxNU05nJPdPCWYyRD7RYtPNqft-Q@HIDDEN> Date: Sun, 13 Mar 2022 10:30:34 +0100 In-Reply-To: <CANh=_JGHTOAeP0N4PFQbySvxNU05nJPdPCWYyRD7RYtPNqft-Q@HIDDEN> (Jim Porter's message of "Sat, 12 Mar 2022 11:44:25 -0800") Message-ID: <875yoinqrp.fsf_-_@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:sZ0SyPJHgtDFOyqkP4PEOLnrkqJ7gBhEaygL7bP5BlzG8GDRUbA qmNkwBmCFtGrDfBwmXXewsXSlBzaDGldW5g2UoqMBA3fFyMFmRpbf1gJsrrVnE2jE5NryQ6 pWQVnIdyPC6PY4A5PalQjxjk2VwbnUoMmQX4KQrmqly9u+1H7j4Mg+GU8masGaK1UFSv1Ny 4nW22V9aF1hBhuxLuEXDg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:8rnDxSfzIgA=:0M/9R9/bNcCMoH9DDE9CwS SVtdHFr6Z0n9jKmzj6QkZzJklvPMIGnCqShujpSh+kM0irTAegQ1W5pPH5v5ieevfhL9tO1ty A+x1MOE9DmP5JWzxpY0If71xzjEkJiEEI8YaNZN7V9mXpU/FJEjKepXMlCrDe3lSGN//zUwdP reg/i1YiOYyc9CmRLRWZfOCcqImjpwDgIUoGAj0whfs32xc0Dn4odoXDhyO1kAaT6BKvKsACq 7Wcdl1K5TMpesG32Sz0cTuu011qBLZbEnz/bLlv9Z7K5EndxJUal2CAd/8LLFJESVt3q/9Y88 t2XekNYQzaP9mLdIixmQGAnWgMlu4oAU1GzM9zRyvUiIV3s0Q6RviLdUdrLjn1EiKDpdKh+Fq g+Kh5R8mKnERE96A6indSSUaJzbnslw0b39IwMwt9B6al65qO4nruS6XXE5ILqx23fkK5vxXU KbNtd+tIhS4gywB6BSTVGDEosk1eDmxA/PpjrvrVTfDBvN7VaCC0ZO2va3h0/Pg5lN31vZ7AB J5Jp25WbYZHqWoNSmKylx/0DUyD+Ei68Og/nnLsKspAEksCbcCVm5fz59iSjtiqdXYNP8QO/m gpp7kGZBgBhK5ll/D19iYGvAoo5XEcJp/Tdp7KbwaQmWGh5Ch9NClHg7Uj5MjSjlSow2RJMS5 T9Vd24HtX+3+Baaw/ohvM6W+CPkFJ745Ic+b+Z7Q+oSna51kA82imsPSsFeft7RwbWyC/h5FM AB0igN0qrFoYRls9s66S5HlDUcUEl3inEmQHV+JUMIrpbFVoYKsN9hvEySCYFkrpMxxdL0/FP 1FRZCIQ2MgLFS/ZwaSxwoBDpK81LyaO/VhPjActkUcbZarw88jYNROSXy1VGJ8yqVL43z127W 7/pJVYTs9piSYutlJBn9YF7/elzLNR5Qdqr84eKQRrkwXi1IU7wQZU3pxTafQCSdNGS/1ogoD pQUJ+RjekQUWjR8r6cOgR3rf2IYM7HG7uWqdmRj15K/dDAVho3Vw9VMjopi49C5GcYTJYIRc/ y3cvFPZd6ZGpO0TdE7A3QNOtCD2yTqt3Ssh2D4qXu/aMuW7+nDgACKbGaGhS7Za+gWx82bc5D gvkjacfLS4s+0E= X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) [Changing subject and adding 42706 <at> debbugs.gnu.org to Cc] Jim Porter <jporterbugs@HIDDEN> writes: Hi Jim, > On Fri, Mar 11, 2022 at 12:45 AM Michael Albinus <michael.albinus@HIDDEN> wrote: >> Btw, while you're at this: could you have a look on bug#42706? It is >> related to abbreviate-file-name and Tramp. When it was reported, >> abbreviate-file-name wasn't handled by Tramp, so nobody did any action >> :-( But now we have tramp-handle-abbreviate-file-name and could do >> something, perhaps. > > I tried, but wasn't able to reproduce that issue on Emacs 27.2, so > it's hard to say if things are any better in Emacs 29. I tried by > starting "emacs -Q", opening a file over Tramp, and then turning off > my remote device. While I couldn't connect to the remote host anymore > (as you'd expect), `list-buffers' seemed to work fine, and `cd' showed > the prompt correctly. Actually trying to change the directory timed > out, but that's normal. Well I've tried to reproduce the scenario of the OP with Emacs 27.2, which wasn't trivial due to missing information. However, the backtraces show invocation of tramp-archive-file-name-handler, which gave me the idea, that the OP has applied a remote file name archive, and from within that the problems happened. Remote file name archives, handled by Tramp, are possible only on a local GNU/Linux machine. See the Tramp manual for a description. In order to reproduce the problem, I have opened a file archive 123.tar on a remote machine, like emacs -Q /scp:user@host:tmp/123.tar/ The trailing slash is important. Afterwards, I have disabled the LAN/WLAN connection of my machine. Then I have called "M-x cd" in that buffer. With both Emacs 27.2 and Emacs 29 (from git master) I've got the same backtrace as reported by the OP. So I guess we have to dig somewhere else. > - Jim Thanks for your investigation, and best regards, Michael.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.