GNU bug report logs - #12443
24.2.50; Default values in the minibuffer prompt (fix

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Fri, 14 Sep 2012 14:08:01 UTC

Severity: minor

Found in version 24.2.50

Fixed in version 28.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 12443 <at> debbugs.gnu.org
Subject: Re: bug#12443: 24.2.50; Default values in the minibuffer prompt
 (fix inconsisntecy)
Date: Thu, 10 Sep 2020 15:14:03 +0200
Juri Linkov <juri <at> linkov.net> writes:

>> Sixth arg DEFAULT-VALUE, if non-nil, should be a string, which is used
>>   as the default to ‘read’ if READ is non-nil and the user enters
>>   empty input.  But if READ is nil, this function does _not_ return
>>   DEFAULT-VALUE for empty input!  Instead, it returns the empty string.
>>
>> But what a...  strange interface.
>
> It seems this "default" value is needed here only for convenience
> of retrieving it into the minibuffer for editing using the M-n key.

Ah, right.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 124 days ago.

Previous Next


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