GNU bug report logs - #50811
28.0.50; Misleading Docstring for read-string function

Previous Next

Package: emacs;

Reported by: Codruț Constantin Gușoi <mail <at> codrut.pro>

Date: Sun, 26 Sep 2021 08:29:01 UTC

Severity: minor

Tags: moreinfo, notabug

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 50811 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>,
 Codruț Constantin Gușoi <mail <at> codrut.pro>
Cc: "50811 <at> debbugs.gnu.org" <50811 <at> debbugs.gnu.org>
Subject: RE: [External] : bug#50811: 28.0.50; Misleading Docstring for
 read-string function
Date: Mon, 27 Sep 2021 15:17:27 +0000
> The point is that we want to move away from pre-filled prompts in
> Emacs, and instead put the default in the "future history", i.e., say
> (read-string "PROMPT " nil nil "B")
> and then the user should `M-n' to edit the default.

Yes, and that "moving away" is misguided, IMHO.
There was never any reason to call INITIAL-INPUT
obsolete.

It's not either-or.

Just because `M-n' and DEFAULTS are useful, that's
never been a logical reason to make INITIAL-INPUT
obsolete.

(Oh, and that misguided deprecation was proclaimed
long before we allowed DEFAULTS to be a list and
not just a single value.)

This bug report was last modified 3 years and 233 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.