Subject: bug#177 closed by Chong Yidong <[email-masked]> (Re: 23.0.60; doc for read-from-minibuffer)

From: [email-masked] (Emacs bug Tracking System)

This is an automatic notification regarding your bug report
which was filed against the emacs package:

#177: 23.0.60; doc for read-from-minibuffer

It has been closed by Chong Yidong <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <[email-masked]> by
replying to this email.

-- 
177: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=177
Emacs Bug Tracking System
Contact [email-masked] with problems
>From [email-masked] Sat May  3 19:25:17 2008
From: Chong Yidong <[email-masked]>
To: "Drew Adams" <[email-masked]>
Cc: [email-masked]
Subject: Re: 23.0.60; doc for read-from-minibuffer
Date: Sat, 03 May 2008 22:20:36 -0400

> Arg DEFAULT can now be a list. This is not reflected in the doc
> string.

In the latest CVS version, this is documented.

> If READ is non-`nil', then DEFAULT is also used as the input to
>     `read', if the user enters empty input.

As pointed out later in that paragraph,

 If @var{default} is a list of strings, the first string is used as the
 input.

>From [email-masked] Thu May  1 13:52:00 2008
From: "Drew Adams" <[email-masked]>
To: <[email-masked]>
Date: Thu, 1 May 2008 13:51:07 -0700
Cc: 
Subject: 23.0.60; doc for read-from-minibuffer
Sender: emacs-devel-bounces+monnier=[email-masked]

Arg DEFAULT can now be a list. This is not reflected in the doc string.
 
And the Elisp manual doc is not clear about what happens with non-nil
READ and list-valued DEFAULT:
 
 If READ is non-`nil', then DEFAULT is also used as the input to
     `read', if the user enters empty input.
 
Does this mean the whole list DEFAULT is passed to `read'.
 
Allow me to mention also that letting DEFAULT be a list also breaks
code that I have, FWIW...

In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-04-19 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include
-fno-crossjumping'