From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Mendler Newsgroups: gmane.emacs.bugs Subject: bug#63127: 29.0.90; Tramp all-completions errors with internal error Date: Thu, 27 Apr 2023 20:40:56 +0200 Message-ID: <401f6607-29cf-9ed8-e89e-bc67b37daf81@daniel-mendler.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29853"; mail-complaints-to="usenet@ciao.gmane.io" To: michael.albinus@gmx.de, 63127@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 27 20:42:14 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 1ps6ZJ-0007aF-IR for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Apr 2023 20:42:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ps6ZE-0003t8-DK; Thu, 27 Apr 2023 14:42:08 -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 1ps6Z9-0003rv-1P for bug-gnu-emacs@gnu.org; Thu, 27 Apr 2023 14:42:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ps6Z8-0008KZ-35 for bug-gnu-emacs@gnu.org; Thu, 27 Apr 2023 14:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ps6Z7-0006jG-V3 for bug-gnu-emacs@gnu.org; Thu, 27 Apr 2023 14:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Mendler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Apr 2023 18:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63127 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Michael Albinus , bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.168262089325822 (code B ref -1); Thu, 27 Apr 2023 18:42:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Apr 2023 18:41:33 +0000 Original-Received: from localhost ([127.0.0.1]:59799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ps6Ye-0006iQ-Lp for submit@debbugs.gnu.org; Thu, 27 Apr 2023 14:41:32 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:38906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ps6Yb-0006iG-8r for submit@debbugs.gnu.org; Thu, 27 Apr 2023 14:41:31 -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 1ps6YT-0003jp-Vu for bug-gnu-emacs@gnu.org; Thu, 27 Apr 2023 14:41:24 -0400 Original-Received: from server.qxqx.de ([2a01:4f8:121:346::180] helo=mail.qxqx.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ps6YQ-0008FJ-NJ for bug-gnu-emacs@gnu.org; Thu, 27 Apr 2023 14:41:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=qxqx.de; s=mail1392553390; h=Content-Transfer-Encoding:Content-Type:Subject:From:To: MIME-Version:Date:Message-ID:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ozC7NIvPe9dYt4Ev3ZG1lEQSLtP7apjnNrNF/KXQMEI=; b=CS8QOA9nAdJSWEVgUdTXkFH1sM 50RRTEwbm77oZ3f8OLcUpGukEBR2pmvg4sYGrDAkiQWHY9JrD41Pi5tTsFMBMmHgvQSWA6yp5EZBy +LuuEOhfV0rvYjtkr6km8NHXRz326dFUjneK6YMio+VRbaRZtEDfEFpCNZJ6qIvLtYuM=; Content-Language: en-US Received-SPF: pass client-ip=2a01:4f8:121:346::180; envelope-from=mail@daniel-mendler.de; helo=mail.qxqx.de X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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:260732 Archived-At: I accidentally typed /sudo:::/ instead of /sudo::/ in the file completion prompt of my Vertico completion UI. Vertico immediately recomputes candidates and in this case shows an internal Tramp error. File error: tramp-sh-handle-file-name-all-completions: internal error accessing ‘/root/\:/’: ‘’ For reproduction, this internal error can be triggered by executing the following expressions: (all-completions "/sudo:::/" #'completion-file-name-table) (try-completion "/sudo:::/" #'completion-file-name-table) I am not sure if this can be considered a bug, certainly not a serious one. Usually completion tables are supposed to not show such internal errors. Instead they ideally just return nil signaling the absence of matches. Maybe this indicates some problem in the Tramp file handler parser, which could bail out earlier on such an invalid path? Thanks! Daniel ---- In GNU Emacs 29.0.90 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw scroll bars) of 2023-04-27 built on projects Repository revision: a40b1cba5ea53a780e9d3bb6b36e050dfa5e7c12 Repository branch: debundlemacs-29 Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux 11 (bullseye) Configured using: 'configure --prefix=/home/user/emacs/install --with-json --with-native-compilation --with-x-toolkit=athena --without-dbus --without-selinux --without-threads --without-gsettings --with-cairo'