emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Doc of deprecated INITIAL-INPUT arg of completing-read


From: Stefan Monnier
Subject: Re: Doc of deprecated INITIAL-INPUT arg of completing-read
Date: Thu, 30 Jun 2022 10:28:43 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>   > Because there's a lot of past experience where people want to have the
>   > Windows-style behavior where prompts get prefilled with the (selected)
>   > default, and they don't understand that in order to get that they need
>   > to change `completing-read`.  So instead they abuse `initial-content` in
>   > their code (even though it doesn't give quite the same behavior either
>   > but gets the closer).
>
> Would it be possible to tell users the rest of that?
> That is, to tell them what to do instead of using INITIAL-CONTENT?
> Ideally it should tell them what mode to enable to get that behavior
> for Emacs completion generally.

It's mostly waiting for someone to write the code.  Then it's just
a matter of setting a boolean config var.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]