From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#60505: 29.0.60; Fido Mode and Tramp Completion Date: Fri, 06 Jan 2023 09:51:11 +0000 Message-ID: <371ba1d0be1f14c7c798@heytings.org> References: <87k024918k.fsf@jroy.ca> <8dea9f3e0e411c315b04@heytings.org> <87tu15m6g7.fsf@gmx.de> <8dea9f3e0eb47ac9e4ab@heytings.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="wDM97ByDIu" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4405"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60505@debbugs.gnu.org, Julien Roy To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 06 10:52:18 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 1pDjOc-0000xH-FP for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Jan 2023 10:52:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDjOP-0006No-Vt; Fri, 06 Jan 2023 04: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 1pDjOM-0006NM-C7 for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2023 04:52:02 -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 1pDjOM-0001mb-3Z for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2023 04:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pDjOL-00012z-VE for bug-gnu-emacs@gnu.org; Fri, 06 Jan 2023 04:52:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Jan 2023 09:52:01 +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.16729986753970 (code B ref 60505); Fri, 06 Jan 2023 09:52:01 +0000 Original-Received: (at 60505) by debbugs.gnu.org; 6 Jan 2023 09:51:15 +0000 Original-Received: from localhost ([127.0.0.1]:53822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDjNb-00011y-Ea for submit@debbugs.gnu.org; Fri, 06 Jan 2023 04:51:15 -0500 Original-Received: from heytings.org ([95.142.160.155]:32950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDjNZ-00011p-9a for 60505@debbugs.gnu.org; Fri, 06 Jan 2023 04:51:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1672998671; bh=+7Q+/P5Xy9V2Yk7KUq+DgiZnltES7ji3zwRlIH9DNqY=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=8vKOqEIrDMTV18t1GrZQRSWz6Yoi+SIBdh/HkuYSOXbPJLq+bvu/1LVf2xOS0qPzg 4eLdXVj0E+6b6rEorRW710KQGROOMSlBP9H1GCxe+ommKsbZ8VVPTumEFIf7RGSiDy BGBjihpxgDBgv1TmR09uA9zYkIVI+rKk1f3/G9cS1K8wrSxO/4ktZi4U6U5EkcckYm +oTWU/zVn6KC1KDNPz2ttVY7wCPdYiGb3WFnm6eSlW0Mx3j3VopPmC5m3yQOJbhW+N mSyg/+ZUSEVyVhcPoIAAVSXotozz3CslIoTayZjg6xpYyCklIVgtBrHkLEdIU0PLCQ DLspLBhQmIf4w== In-Reply-To: <8dea9f3e0eb47ac9e4ab@heytings.org> 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:252683 Archived-At: --wDM97ByDIu Content-Type: text/plain; charset=us-ascii; format=flowed > > Why could we not use the ad-hoc patch, with a FIXME note, until somebody > has the time to find a better solution, instead of letting bug reports > about that problem accumulate? Sure, it could possibly have a > collateral damage, but it could as well have no collateral damage at > all. > By the way, to limit the scope of the potential collateral damages, it is also possible to use that condition only when completion-styles contain 'substring' or 'flex'. What do you think of the attached patch? --wDM97ByDIu Content-Type: text/x-diff; name=Improve-handling-of-non-default-completion-styles-wi.patch Content-Transfer-Encoding: base64 Content-ID: <371ba1d0be42f701d249@heytings.org> Content-Disposition: attachment; filename=Improve-handling-of-non-default-completion-styles-wi.patch RnJvbSBlZmUyNmI0ZGMyNjkzNjE5Y2MzZDU2OWM1ZGE5ZGQyYTQzMzIzMDQ0 IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQ0KRnJvbTogR3JlZ29yeSBIZXl0 aW5ncyA8Z3JlZ29yeUBoZXl0aW5ncy5vcmc+DQpEYXRlOiBGcmksIDYgSmFu IDIwMjMgMDk6NDg6MDIgKzAwMDANClN1YmplY3Q6IFtQQVRDSF0gSW1wcm92 ZSB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