Re: master a1f5b8cf863: Don't immediately show *Completions* for icomplete-in-buffer

Eshel Yaron <[email protected]> Mon, 03 Aug 2026 14:05:18 +0200
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
Sean Whitton <[email protected]> writes:

> branch: master
> commit a1f5b8cf863778d867e6ef318cc493cae4ca76f4
> Author: Sean Whitton <[email protected]>
> Commit: Sean Whitton <[email protected]>
>
>     Don't immediately show *Completions* for icomplete-in-buffer
>     
>     * lisp/minibuffer.el (completion--icomplete-in-buffer-p):
>     New function.
>     (completion--do-completion, completion--in-region-1):
>     Use it (bug#81537).

Hmm...

> @@ -1686,6 +1689,7 @@ when the buffer's text is already an exact match."
>                (minibuffer-force-complete beg end))
>               ((or completed only-changed-boundaries)
>                (cond
> +               ((completion--icomplete-in-buffer-p)) ; Bug#81537.
>                 ((pcase completion-auto-help
>                    ('visible (minibuffer--completions-visible))
>                    ('always t))

Icomplete is "one of many" completion frontends, so it seems odd
for this low-level completion infrastructure to hardcode such
Icomplete-specific checks.  Am I missing something?


Thanks,

Eshel