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#53053: 28.0.90; Tramp completion bug of path /sudo::~/ Date: Thu, 6 Jan 2022 13:52:49 +0100 Message-ID: <58e88707-e8e1-604d-945a-4a1e234b86a5@daniel-mendler.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38539"; mail-complaints-to="usenet@ciao.gmane.io" To: 53053@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 06 14:02:54 2022 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 1n5SPu-0009o2-1C for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Jan 2022 14:02:54 +0100 Original-Received: from localhost ([::1]:36622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5SPt-0002g0-3y for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Jan 2022 08:02:53 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5SHK-0001aN-3K for bug-gnu-emacs@gnu.org; Thu, 06 Jan 2022 07:54:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46968) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n5SHJ-00089J-PF for bug-gnu-emacs@gnu.org; Thu, 06 Jan 2022 07:54:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n5SHJ-0008UW-M7 for bug-gnu-emacs@gnu.org; Thu, 06 Jan 2022 07:54:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Mendler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Jan 2022 12:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53053 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.164147360132583 (code B ref -1); Thu, 06 Jan 2022 12:54:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Jan 2022 12:53:21 +0000 Original-Received: from localhost ([127.0.0.1]:39871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5SGf-0008TS-LS for submit@debbugs.gnu.org; Thu, 06 Jan 2022 07:53:21 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:52960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5SGd-0008TK-5D for submit@debbugs.gnu.org; Thu, 06 Jan 2022 07:53:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5SGb-0000ad-NP for bug-gnu-emacs@gnu.org; Thu, 06 Jan 2022 07:53:18 -0500 Original-Received: from [2a01:4f8:121:346::180] (port=44041 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 1n5SGV-0007zl-ES for bug-gnu-emacs@gnu.org; Thu, 06 Jan 2022 07:53:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=qxqx.de; s=mail1392553390; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date: Message-ID:Subject:From:To: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=SC6POBkdGdoM2fbG8osdyKV0e3sGcvZyPVqqffC10os=; b=xdoZzxv1Wl8/4WAQAZIlRr6vgP zKLwPsu8gL5D2EwwortwI13nrdyrYZ9/gYuf6H6AeUcveqSuh44vLEur4/sJZlAOrdCEZxpZ6K08c V6nyrlB/hfMa3bA1UeTE70gtshRYGf4+Avtx9x3hdS5QciNCHZ6AKMvs+67mDsA5nPv8=; Content-Language: en-US X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f8:121:346::180 (failed) Received-SPF: pass client-ip=2a01:4f8:121:346::180; envelope-from=mail@daniel-mendler.de; helo=mail.qxqx.de X-Spam_score_int: -33 X-Spam_score: -3.4 X-Spam_bar: --- X-Spam_report: (-3.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, SPF_HELO_PASS=-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" Xref: news.gmane.io gmane.emacs.bugs:223732 Archived-At: 1. emacs -Q 2. C-x f /sudo::~/ (alternatively use an ssh path of a similar form) 3. Open the completion buffer by pressing ? 4. Click/select a directory in the completions buffer The resulting path looks like this: /sudo::~dir/ The underlying issue is that somewhere a wrong completion boundary is reported by the Emacs completion table for non-normalized file paths which contain ~. This issue also affects other completion UIs. The issue is present on both 27 and 28. (Original report: https://github.com/minad/vertico/issues/174) In GNU Emacs 28.0.90 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.24.5, cairo version 1.16.0) of 2022-01-01 built on projects Repository revision: efb1c7ec379430f560c5b801969ae43023c52734 Repository branch: emacs-28 Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux 10 (buster)