From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#60505: 29.0.60; Fido Mode and Tramp Completion Date: Fri, 03 Feb 2023 15:51:03 -0500 Message-ID: References: <87k024918k.fsf@jroy.ca> <8dea9f3e0e411c315b04@heytings.org> <87tu15m6g7.fsf@gmx.de> <8dea9f3e0eb47ac9e4ab@heytings.org> <371ba1d0be1f14c7c798@heytings.org> <8aadf0ddd54d67a3213d@heytings.org> <87a62jmwj6.fsf@gmx.de> <87o7qwm3dd.fsf@gmx.de> <43562d4dd9c31382eb40@heytings.org> <87k011dtw2.fsf@gmx.de> <43562d4dd93037f7d01f@heytings.org> <834js4zi69.fsf@gnu.org> <87cz6seanu.fsf@gmx.de> <87mt5udaey.fsf@gmx.de> <87h6w2d041.fsf@gmx.de> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14797"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 60505@debbugs.gnu.org, Eli Zaretskii , Gregory Heytings , julien@jroy.ca To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 03 21:52:26 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 1pO32o-0003fv-FM for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Feb 2023 21:52:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pO32U-0001v8-AX; Fri, 03 Feb 2023 15:52:06 -0500 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 1pO32R-0001uw-Uq for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2023 15:52:03 -0500 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 1pO32Q-0008OD-RF for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2023 15:52:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pO32Q-0002ud-BT for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2023 15:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Feb 2023 20:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60505 X-GNU-PR-Package: emacs Original-Received: via spool by 60505-submit@debbugs.gnu.org id=B60505.167545748011142 (code B ref 60505); Fri, 03 Feb 2023 20:52:02 +0000 Original-Received: (at 60505) by debbugs.gnu.org; 3 Feb 2023 20:51:20 +0000 Original-Received: from localhost ([127.0.0.1]:40031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pO31j-0002te-Id for submit@debbugs.gnu.org; Fri, 03 Feb 2023 15:51:19 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:44155) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pO31g-0002tP-H1 for 60505@debbugs.gnu.org; Fri, 03 Feb 2023 15:51:18 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id AED98810E7; Fri, 3 Feb 2023 15:51:09 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id D8275805B7; Fri, 3 Feb 2023 15:51:05 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1675457465; bh=n+fpKWsD/Yvcernk9b+YytHp+h+MUPuR4UoaNi6uGrg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=jLfnsmIdP3lItB3vlveRE+4zi8B/lVzdM2y2iv3lgJrLLTtM+HaJWW4I8fK0E8Qza RCIDM1HrZHk+vXMwo1Sd+1GX9wcpGpwdw52KTEm6RdzONlZWup3I45rHzoR9hnyzRz lEhdMYVzdrda1N6g739Boj8IFjrY8oWUcj6MpkCx3Uc42YPr6SO+CN1BbsZSrBdzpc 091sUJ6hkpY///+UAOEUhOdYnPAMcS+Rs7MiYqxYr0ui8ihRXlNFWaPBpFPM3OzUyH nBXbbE5VGUJTmXnHJJA6H1Wie0GocIgCMqSF2Q68YS2Xm+M458p/yDWTgd/RGvvllr QUwAu6jSTdRBQ== Original-Received: from ceviche (76-10-137-88.dsl.teksavvy.com [76.10.137.88]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 7BBC7122519; Fri, 3 Feb 2023 15:51:05 -0500 (EST) In-Reply-To: <87h6w2d041.fsf@gmx.de> (Michael Albinus's message of "Fri, 03 Feb 2023 20:23:26 +0100") 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:254742 Archived-At: >> I didn't remember this part of the design, but it sounds good and does >> make changes to that part (like the proposed patch) "safer", so it's >> probably OK to try it on `master`. > There is no special design for it. Ordinary file name handler machinery. I was referring to the design choice of approximating "completion context" by "partial Tramp file name". >> I wonder how this patch interacts with `locate-dominating-file`. > I'll check tomorrow. But since there isn't a slash in such filenames > (except the leading one), I expect it shall work. Needs more testing, > this case and other use cases. I was thinking of what happens when `locate-dominating-file` does: try /ssh:host:./foo/bar/.git try /ssh:host:./foo/.git try /ssh:host:./.git ? try /ssh:.git ? try /.git -- Stefan