Subject: bug#74772: [PATCH] Consistently add wildcards for completion-pcm-leading-wildcard

From: Eli Zaretskii <[email-masked]>
Date: Tue, 10 Dec 2024 21:40:06 +0200

> From: Spencer Baugh <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Tue, 10 Dec 2024 14:14:15 -0500
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> >> Cc: Stefan Monnier <[email-masked]>
> >> 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" <[email-masked]>
> >> 
> >>  (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.