Subject: Re: [External] : bug#65348: INITIAL-INPUT in completing-read repeats same entry twice consecutively

From: Heime <[email-masked]>
Date: Mon, 21 Aug 2023 13:27:21 +0000

Sent with Proton Mail secure email.

------- Original Message -------
On Tuesday, August 22nd, 2023 at 12:25 AM, Eli Zaretskii <[email-masked]> wrote:

> > From: Christopher Dimech [email-masked]
> > Cc: [email-masked], [email-masked],
> > [email-masked], [email-masked]
> > Date: Mon, 21 Aug 2023 14:07:07 +0200
> > 
> > > There are no plans to remove INITIAL-INPUT, if that's what you are
> > > asking. We cannot possibly remove it, ever. The argument is not
> > > deprecated; its use is "deprecated" (a.k.a. "discouraged"), that's
> > > all.
> > 
> > INITIAL-INPUT is basically meant for prefilling the minibuffer with an entry.
> 
> 
> Yes.
> 
> > Do not see anything to encourage or discourage.
> 
> 
> The doc string and the manual explain this.
> 
> > Perhaps renaming it would be more appropriate to describe what
> > actually happens ?
> 
> 
> I see no reason to rename, as the current name describes the purpose
> quite well.

Consequently, its _use_ should not be discouraged.  It is for the person 
calling the function to decide whether it is appropriate for their package.

Is prefilling the minibuffer wrong as matter of principle ?  Or just that 
on occasions it is not useful ?