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: Sat, 21 Dec 2024 11:16:42 +0200 Message-ID: <86ed218kg5.fsf@gnu.org> References: <86zfl39xaj.fsf@gnu.org> <86wmg79vjd.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28995"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74772@debbugs.gnu.org To: Spencer Baugh , monnier@iro.umontreal.ca Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 21 10:17: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 1tOvbx-0007QI-Ud for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Dec 2024 10:17:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOvbf-0005jP-Hv; Sat, 21 Dec 2024 04:17:07 -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 1tOvba-0005j3-Lb for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 04:17:05 -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 1tOvba-0002u6-0h for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 04:17: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=UjGL3AqSN+w/6zGEaeP9cFRyULkdQl3Y3yqHdQ0NokU=; b=QlTIFwN7gu2McPV3L9qe3/FA/n38p4R5f7nTpX2LDWJtkd29pGUbNKT/CWOzQ65PdVaf65krmnIf2tfnE0jbVUAGGhRklEvTdjNK1BBMwEE+cCQlaTb6piGJTV/Vvqp5NQt2GTabxher5RHaCfG/WhUb+GRbdyTXz2ge86UixDRfM1PXVeHnxFMADE/VIJglXRgtRzfyN4fC2/2J4s8XKcTcKR9lGF4xe4YKlLO+92wWAaHf5j928nLx7h0rBYXlBsjT2nar8iHrlMS6YwTYVYHM3e/kJ4EUfXTA15dH7LOldZA+Q5p9Ov5B+IpWl8shDw7g0AI31j8WGRr8W0mfdQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tOvbZ-0006hy-Rx for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 04:17: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: Sat, 21 Dec 2024 09:17: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.173477261425766 (code B ref 74772); Sat, 21 Dec 2024 09:17:01 +0000 Original-Received: (at 74772) by debbugs.gnu.org; 21 Dec 2024 09:16:54 +0000 Original-Received: from localhost ([127.0.0.1]:45265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOvbR-0006hU-RN for submit@debbugs.gnu.org; Sat, 21 Dec 2024 04:16:54 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOvbQ-0006hH-3z for 74772@debbugs.gnu.org; Sat, 21 Dec 2024 04:16:52 -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 1tOvbJ-0002sK-QO; Sat, 21 Dec 2024 04:16:46 -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=UjGL3AqSN+w/6zGEaeP9cFRyULkdQl3Y3yqHdQ0NokU=; b=U2VWP+c6tFL/ ZivusB5v/4LGG43o6MImln0FY5S5hI5Oy2oUABQx4I6nbzi/wFQigv9aRK9n6lcOou1QvRXuk189L sLbVbvP5xJS/ePQcS4GSBu6uri9zmLyf4bQgHZAiOq2/N8ynqZLf2xu6adEjudI65PwRN88s4vfUP Hjm8xocQzNKfZ3uOnRg4dnAGTH9t5qoQCGA8zIzQQp8UAbw/Tq3EMS5acYsrZiL/d+A1BhiPo1B6I 1qWlAWRUYUuAC+0g5FwjuCIH5OImtiyXFFcpjiTrXUdq7pCMdDarVxbNHNm/Z7S8UVRY7VwH6y9XS KJtot/wBzDIZ8/CJP4fF5Q==; In-Reply-To: (message from Spencer Baugh on Tue, 10 Dec 2024 15:05:12 -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:297506 Archived-At: > From: Spencer Baugh > Cc: 74772@debbugs.gnu.org, monnier@iro.umontreal.ca > Date: Tue, 10 Dec 2024 15:05:12 -0500 > > Eli Zaretskii writes: > > >> 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. > > Ok, updated patch: Stefan, is this patch okay with you? Any comments?