[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: completing-read depricated initial-input
From: |
carlmarcos |
Subject: |
Re: completing-read depricated initial-input |
Date: |
Tue, 21 Jun 2022 13:15:00 +0200 (CEST) |
--
Sent with Tutanota, enjoy secure & ad-free emails.
Jun 21, 2022, 10:26 by rpluim@gmail.com:
>>>>>> On Tue, 21 Jun 2022 09:56:59 +0200 (CEST), carlmarcos--- via Users list
>>>>>> for the GNU Emacs text editor <help-gnu-emacs@gnu.org> said:
>>>>>>
>
> >> 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`?
>
> No such plan exists. At best Emacs could start ignoring that arg, but
> we canʼt just change the signature of such a public function.
>
> Robert
>
Have put some explanation on the value of keeping the functionality of
`INITIAL-INPUT`, rather than
stopping it having any effect. I can see the value of using an initial value
for certain situations, rather than always having the field empty,
particularly when one has `REQUIRE-MATCH` being `t`.
- Re: completing-read depricated initial-input, (continued)
- Message not available
- Re: completing-read depricated initial-input, carlmarcos, 2022/06/21
- Re: completing-read depricated initial-input, Michael Heerdegen, 2022/06/21
- Re: completing-read depricated initial-input, Emanuel Berg, 2022/06/21
- Re: completing-read depricated initial-input, Michael Heerdegen, 2022/06/21
- RE: [External] : Re: completing-read depricated initial-input, Drew Adams, 2022/06/21
- Re: [External] : Re: completing-read depricated initial-input, Michael Heerdegen, 2022/06/21
- RE: [External] : Re: completing-read depricated initial-input, Drew Adams, 2022/06/21
- Re: completing-read depricated initial-input, Jean Louis, 2022/06/22
- Re: completing-read depricated initial-input, Emanuel Berg, 2022/06/22
Re: completing-read depricated initial-input, Robert Pluim, 2022/06/21
- Re: completing-read depricated initial-input,
carlmarcos <=
Re: completing-read depricated initial-input, Christopher Dimech, 2022/06/21
- RE: [External] : Re: completing-read depricated initial-input, Drew Adams, 2022/06/21
- Re: completing-read depricated initial-input, Arash Esbati, 2022/06/21
- Re: completing-read depricated initial-input, Emanuel Berg, 2022/06/21
- RE: [External] : Re: completing-read depricated initial-input, Drew Adams, 2022/06/21
- Re: completing-read depricated initial-input, Arash Esbati, 2022/06/21
- RE: [External] : Re: completing-read depricated initial-input, Drew Adams, 2022/06/21
- Re: [External] : Re: completing-read depricated initial-input, Emanuel Berg, 2022/06/21
- RE: [External] : Re: completing-read depricated initial-input, Drew Adams, 2022/06/22
- standard libraries again (was: Re: [External] : Re: completing-read depricated initial-input), Emanuel Berg, 2022/06/22