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#74772: [PATCH] Consistently add wildcards for completion-pcm-leading-wildcard Date: Tue, 10 Dec 2024 21:40:06 +0200 Message-ID: <86wmg79vjd.fsf@gnu.org> References: <86zfl39xaj.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14827"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74772@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 Tue Dec 10 20:41:26 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 1tL66m-0003df-B2 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Dec 2024 20:41:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tL66S-0003iB-M1; Tue, 10 Dec 2024 14:41:04 -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 1tL66Q-0003hx-CE for bug-gnu-emacs@gnu.org; Tue, 10 Dec 2024 14:41:02 -0500 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 1tL66Q-00041S-3p for bug-gnu-emacs@gnu.org; Tue, 10 Dec 2024 14:41:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=U1EkWr7pOiXI9cQuzFtiSjeGfzGHt9OZROb74jmGIP4=; b=BJXfz2nKH3qXbmvqUdB23dkZKjSCQa85hcHf/sIC4q0cZxrR1vP47Qu82iaQ+XXq6ShFVph5/8anM/b5bwNOeR11lhYE7/50ddOU6O2wgv9Va6dpg1kfaWdqEFm34RXHOLagRXGWjyv0m4yeLnElRpRQcq3M/A6eloebWATbMMRismKhpIcZBp8u/kquqUXqq4OScIJOi48Gf5SDXzE009nhCWg8VnRLKBikjd5ljHH05ySf8JWF1ed9ZSO66snLB8dKGO3qfoDXygdpLPIyya+Hs9JU3ehTktwdjdusbrrj4EVog51KGgND2l5CAOmAIKoKiyZ2OySbw5g9gLwZIw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tL66P-0002Uu-ML for bug-gnu-emacs@gnu.org; Tue, 10 Dec 2024 14:41:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Dec 2024 19:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74772 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74772-submit@debbugs.gnu.org id=B74772.17338596229466 (code B ref 74772); Tue, 10 Dec 2024 19:41:01 +0000 Original-Received: (at 74772) by debbugs.gnu.org; 10 Dec 2024 19:40:22 +0000 Original-Received: from localhost ([127.0.0.1]:59677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL65l-0002SV-BN for submit@debbugs.gnu.org; Tue, 10 Dec 2024 14:40:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tL65j-0002S4-9c for 74772@debbugs.gnu.org; Tue, 10 Dec 2024 14:40:20 -0500 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 1tL65c-0003z1-BQ; Tue, 10 Dec 2024 14:40:12 -0500 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=U1EkWr7pOiXI9cQuzFtiSjeGfzGHt9OZROb74jmGIP4=; b=f39aGT1c7jrZ 9XSFUAlRpzZCdJHpcnSgNU3g4tlZUJJV+OImySGmh4L6j2Vmf0qPdi744gdHniAwiNV2d1qES+m9m paHhWqoqXtG4lBQ0cZAQC6vzdKAhV3F45K/MhHsvscsdREVgniQW0NtxbqaT6oP7hfv3N2RMEjwlH e89k0ZBUgknsVKWfyL3aybBi9EfpM/OfTqlwO/2/ezhR4Dd4O8HSXjkzZ03i9tLbgtbXoIlTXphhi PB51vUiH3H4qZ77vtvQK7PD8/xRxbfxmRapDdG9bBigvIMz2QZRlfDP4g2cP8iAn3l8VKm2wkphFb VJnXXeoqB3/WqQa8ZyqUAg==; In-Reply-To: (message from Spencer Baugh on Tue, 10 Dec 2024 14:14:15 -0500) 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:296780 Archived-At: > From: Spencer Baugh > Cc: 74772@debbugs.gnu.org, monnier@iro.umontreal.ca > Date: Tue, 10 Dec 2024 14:14:15 -0500 > > Eli Zaretskii writes: > > >> Cc: Stefan Monnier > >> Date: Tue, 10 Dec 2024 12:48:23 -0500 > >> From: Spencer Baugh via "Bug reports for GNU Emacs, > >> the Swiss army knife of text editors" > >> > >> (defcustom completion-pcm-leading-wildcard nil > >> - "If non-nil, partial-completion completes as if there's a leading wildcard. > >> + "If non-nil, partial-completion adds a leading wildcard for each word. > > > > The modified wording is misleading, because it says something that > > doesn't really happen (as the rest of the doc string reveals). > > Okay, how about: > > If non-nil, PCM completes as if there's a wildcard before each word. Much better, thanks. You could even say If non-nil, partial-completion behaves as if each word is preceded by wildcard.