GNU bug report logs - #74772
[PATCH] Consistently add wildcards for completion-pcm-leading-wildcard

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Tue, 10 Dec 2024 17:51:01 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 74772 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Spencer Baugh <sbaugh <at> janestreet.com>, monnier <at> iro.umontreal.ca
Cc: 74772 <at> debbugs.gnu.org
Subject: Re: bug#74772: [PATCH] Consistently add wildcards for
 completion-pcm-leading-wildcard
Date: Sat, 21 Dec 2024 11:16:42 +0200
> From: Spencer Baugh <sbaugh <at> janestreet.com>
> Cc: 74772 <at> debbugs.gnu.org,  monnier <at> iro.umontreal.ca
> Date: Tue, 10 Dec 2024 15:05:12 -0500
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> From: Spencer Baugh <sbaugh <at> janestreet.com>
> >> Cc: 74772 <at> debbugs.gnu.org,  monnier <at> iro.umontreal.ca
> >> Date: Tue, 10 Dec 2024 14:14:15 -0500
> >> 
> >> Eli Zaretskii <eliz <at> gnu.org> writes:
> >> 
> >> >> Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>
> >> >> 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" <bug-gnu-emacs <at> gnu.org>
> >> >> 
> >> >>  (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?




This bug report was last modified 148 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.