From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70217: [PATCH] Add substring-partial-completion style Date: Sun, 26 May 2024 18:51:35 +0300 Message-ID: <86ikz0wozc.fsf@gnu.org> References: <86a5kpgdo7.fsf@gnu.org> <86ttilvsy8.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23230"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70217@debbugs.gnu.org, monnier@iro.umontreal.ca To: Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 26 17:52:21 2024 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 1sBGAX-0005sO-6j for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 May 2024 17:52:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sBGA8-00015F-B2; Sun, 26 May 2024 11:51:56 -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 1sBGA6-00014d-Rx for bug-gnu-emacs@gnu.org; Sun, 26 May 2024 11:51:54 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sBGA6-0007T1-Jz for bug-gnu-emacs@gnu.org; Sun, 26 May 2024 11:51:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sBGAE-0006e6-EU for bug-gnu-emacs@gnu.org; Sun, 26 May 2024 11:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 May 2024 15:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70217 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 70217-submit@debbugs.gnu.org id=B70217.171673871625533 (code B ref 70217); Sun, 26 May 2024 15:52:02 +0000 Original-Received: (at 70217) by debbugs.gnu.org; 26 May 2024 15:51:56 +0000 Original-Received: from localhost ([127.0.0.1]:42307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBGA8-0006dl-Eg for submit@debbugs.gnu.org; Sun, 26 May 2024 11:51:56 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBGA5-0006dX-Tw for 70217@debbugs.gnu.org; Sun, 26 May 2024 11:51:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sBG9s-0007SD-5f; Sun, 26 May 2024 11:51:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=RF6GeJlEgNTUcFeMjW7NP/FiOsQAUKVZB1f6lKla8Eg=; b=IGE4S5UnefH5 q4Sk/zFOoMpo5MIoy3CnVFJkg6yJoq7uuqEdKzuud19jbbcvXo8SAB12BZPeeNvX4R6n16pmDVhSY yBlZgUZIsoMn3fV7mfh16c7tEY0fx4FsMmkIqMZ/x4KGuDGcLnmBppTcfR5ODlwzdZ7WshiTik8Hx zrdBbzs/GvR52+Ps0AdIjNOvWWvyQUBTBZT12GYxiMoApU4/2tikoJ/juTzISb9Uj8TxFyg8mDGvh GsBxL1aXpaPO9x5l1k67Nxnnzy6FmjsuqPlxf2uKbElvcw9xeb1EwdVNEfZXbslfwEXzUvt+/PU/2 Uszr3Zz7OWQbZlCuru9tWA==; In-Reply-To: (message from Spencer Baugh on Sun, 26 May 2024 09:02:13 -0400) 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:285976 Archived-At: > From: Spencer Baugh > Cc: 70217@debbugs.gnu.org, monnier@iro.umontreal.ca > Date: Sun, 26 May 2024 09:02:13 -0400 > > >> +For example: when the string being completed is \"b/c\", > >> +\"bbb/ccc\" is a valid completion according to > >> +partial-completion. If this is nil, then \"aaa/bbb/ccc\" and > >> +\"aaabbb/ccc\" are also valid completions." > > > > Isn't this not the best example? "b/c" does NOT match "bbb/ccc" at > > the beginning. Or what am I missing? > > b/c does match bbb/ccc at the beginning, according to the > partial-completion rules. Explained as a glob, partial-completion turns > b/c into b*c which then can expand to bbb/ccc. Sorry, I don't understand what you are saying and how it addresses my concern. To me, this example contradicts what was explained in the documentation earlier, so we must clarify this, whether in the example or in the preceding descriptions. Please re-read how you described the effect of this option, and go from there.