help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: completing-read depricated initial-input


From: Jean Louis
Subject: Re: completing-read depricated initial-input
Date: Wed, 22 Jun 2022 08:50:26 +0000


On June 21, 2022 9:51:07 AM UTC, carlmarcos--- via Users list for the GNU Emacs 
text editor <help-gnu-emacs@gnu.org> wrote:
>
>Jun 21, 2022, 07:56 by help-gnu-emacs@gnu.org:
>
>>
>> Have been reading the docstring of `completing-read`.
>>
>> (completing-read PROMPT COLLECTION &optional PREDICATE REQUIRE-MATCH
>> INITIAL-INPUT HIST DEF INHERIT-INPUT-METHOD)
>>
>> INITIAL-INPUT states that this feature is deprecated - it is best to
>pass nil
>> for INITIAL-INPUT and supply the default value DEF instead.  
>>
>> When do you plan to remove the `INITIAL-INPUT` argument from
>`completing-read`?
>>
>I differ with the plan to depricate `INITIAL-INPUT`.  This is because
>it is useful to immediately
>show a value when using `completing-read`.  New users do not usually
>know many keybinding sequences such as `M-n` to show `DEF`.  Besides
>the utility of having an initial value that is different from a
>default.

I agree to this notion as being heavy user of this function.


Jean



reply via email to

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