From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#51386: 29.0.50; fido-vertical-mode: ssh host completion Date: Wed, 27 Oct 2021 13:10:52 +0200 Message-ID: <874k92en9f.fsf@gmx.de> References: <410f97e4-1cc0-3a3e-bc07-b076ccd52ac8@inventati.org> <822aec9d010037a1158a@heytings.org> <87916c87-fcea-d8a4-5f1d-9066e845add1@inventati.org> <822aec9d01dd14907c52@heytings.org> <664bd93fdd4dd6ce0249@heytings.org> <2f34674e-a170-99e6-f923-dabbd7013e60@inventati.org> <877ddzk64t.fsf@gmx.de> <1df528ef-ade0-898f-29fc-2936cb2c88c3@inventati.org> <878ryeet1p.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40609"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 51386@debbugs.gnu.org, Manuel Uberti To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 27 13:12:20 2021 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 1mfgqy-000AJw-7m for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Oct 2021 13:12:20 +0200 Original-Received: from localhost ([::1]:40200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfgqw-00082m-5A for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Oct 2021 07:12:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfgqi-000825-9t for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2021 07:12:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36980) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfgqg-0002ak-7Y for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2021 07:12:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mfgqg-0007LJ-2V for bug-gnu-emacs@gnu.org; Wed, 27 Oct 2021 07:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Oct 2021 11:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51386 X-GNU-PR-Package: emacs Original-Received: via spool by 51386-submit@debbugs.gnu.org id=B51386.163533306528156 (code B ref 51386); Wed, 27 Oct 2021 11:12:02 +0000 Original-Received: (at 51386) by debbugs.gnu.org; 27 Oct 2021 11:11:05 +0000 Original-Received: from localhost ([127.0.0.1]:48526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfgpk-0007K4-Ma for submit@debbugs.gnu.org; Wed, 27 Oct 2021 07:11:04 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:57047) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfgph-0007JY-DT for 51386@debbugs.gnu.org; Wed, 27 Oct 2021 07:11:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1635333054; bh=vy8G8xIw0BbulP+MwRJ2LTwYwd8CtGV3szbDgM2Fz+w=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=TkKQK7c9XPMwvi32hJxdO/m1T2LoSZLGKwN47ZwGrjE+uGVudSkMjzPjCb1q7bOrh 8VlYTlpQOAiph5Y8vSqo2WKQy8ZI/rt+kqhQCwXfsfYQyuriWLp7VVCJmirYksX2XG Dw2KzeBRnYhNLgtIqhzwtN1sF/AZamVryaYuMZ9s= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([212.91.242.69]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MWzfl-1m8RRn1R0L-00XOZD; Wed, 27 Oct 2021 13:10:54 +0200 In-Reply-To: (Gregory Heytings's message of "Wed, 27 Oct 2021 09:12:45 +0000") X-Provags-ID: V03:K1:HV6MwU1Ud/mzSLjm2CEz6y7PFx95yxYI0uk0SzQdkMh9J0sWR2S C1gQLTZknmOalI3Eogl/uWnuhZmTbtWA4E+TCIoJiOX3uMckTwA9NcOZjhCtHL3MXCcDfW6 uOkKZ5yhmaE2EXyvwWkzUiJIV3t0yI/ydRl2+bo9dTf3lk8j2UCZ6HAJZavyGkimPU00Naa HF+LKcnCWOnIZVZWvUw5g== X-UI-Out-Filterresults: notjunk:1;V03:K0:El0QAW/wcLA=:lr5TE6VQhBlgIVErMShRog NyFlbVS18631TVhYIT0WWUYlN+KLkwqAac/FjCBbba+6RAHvWPajEG9D4YQbmBlRYTirM7vBQ 6DpZ3uHPTwrrkabRGDRL4zfoP3WeE9gU3JS5iX56tQX9Y5kEbfhBtsrLWxv/1xcvZfwqLSVar H+HpD2WAH8905pIyzmTnMsuAS3b2An+Eq6wgBWvL2v2lb/pxsgpmTXCrdbFK1u+jWdwSBAYQb gy0VosQqRizUtqnf75hjwd/d7zimjNYJPBapkUTuEtUpNZ0Sx6VOh18+dsdaPOwRzyZYGdnZK gVrVAQYVp9UIfEm9N5NW+3hMiL7iKVHd/OdLFlKy4tnelCef7l1uIMnQEpZeynJRtSGDz6sYY OvKUglZ6mkCbdLudDbcSAuN5nhMM5v/HekjIySxw+8z/eixB+/T9/2dGX1k5xLohCYawVsNrS jcSQF7IAMWELl5mWyNLx6x76sy9jozvCWq9twrd9PrSr2XFlPXBcMHxqAH/7EFaNwB8eXk0ly Szr/AC+Jorr+5nJwhKmvDBk2CI8xeMM2112wV2b4SpmuM6/7ZvCvkOwaslY/n8ldL05jnrNAr c9huQ/hnGfArrkZW89+zYu6d30WBTEGF6PgopTBPCq2L5UrIWK/gB0brrLFFRrPNBVQeBs3ON CdJAPrbeUvA7+iD8/vTGEuDDxlzuRHpzlmzlCAm6NfYNGxUs1H8sjmUHz9TSf6oMu1l/yj+yg pOhP/GGMngPt9JtzXB8XQnKi94usjEOKKaOiXRhBDBdiVGTfDG1uNVzchm3wtW6x/t6Ppqhn 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:218429 Archived-At: Gregory Heytings writes: Hi Grepor, >> If I do instead >> >> emacs -Q -l tramp --eval "(setq completion-styles '(basic flex))" -f >> fido-vertical-mode >> >> it doesn't work. Debugging of fido-vertical-mode is needed, I suppose. >> > > This has already been done, as Manuel suggested the solution would be > to add a fallback in icomplete--fido-mode-setup, which amounts to > doing (set completion-styles '(flex basic)). Yep. However, even if I apply this patch to icomplete.el and also your Tramp patch it doesn't complete method names like "/ss TAB". So this cannot be the proper solution I believe. And, beside of fido-vertical-mode, your Tramp patch hides the method names at all. If I try emacs -Q -l tramp --eval "(setq completion-styles '(flex basic))" and apply then 'C-x C-f /ss TAB', it offers only the candidate '/sys/', and nothing else. W/o your patch, there are the candidates --8<---------------cut here---------------start------------->8--- Possible completions are: sshfs: ssh: sshx: sys/ --8<---------------cut here---------------end--------------->8--- Anyway, all our tests are mood. I would really appreciate if a completion style author could chime in, and could investigate. I don't say that there isn't an error in Tramp, but before I accept patches I must understand what's up. And the proposed patch doesn't fix all cases sufficiently (plus it violates the API, but this we have discussed already in several rounds). Best regards, Michael.