|
From: | Stefan Monnier |
Subject: | Re: Doc of deprecated INITIAL-INPUT arg of completing-read |
Date: | Tue, 28 Jun 2022 17:10:47 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> For anything there must be reason. What is reason to "strongly warn" > programmer not to use it? 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). Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |