GNU bug report logs - #177
23.0.60; doc for read-from-minibuffer

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Thu, 1 May 2008 21:00:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 177 in the body.
You can then email your comments to 177 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#177; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <emacs-pretest-bug <at> gnu.org>
Subject: 23.0.60; doc for read-from-minibuffer
Date: Thu, 1 May 2008 13:51:07 -0700
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'
 







Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to "Drew Adams" <drew.adams <at> oracle.com>:
bug acknowledged by developer. Full text and rfc822 format available.

Message #10 received at 177-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 177-done <at> debbugs.gnu.org
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.




Message #11 received at 177-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Chong Yidong'" <cyd <at> stupidchicken.com>
Cc: <177-done <at> debbugs.gnu.org>
Subject: RE: 23.0.60; doc for read-from-minibuffer
Date: Sat, 3 May 2008 23:44:40 -0700
> > Arg DEFAULT can now be a list. This is not reflected in the doc
> > string.
> 
> In the latest CVS version, this is documented.

Not in the CVS version of the day I submitted the bug, May 1. The doc string (in
minibuf.c) says nothing about it.

> > 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.

That was added in response to my bug report of 5/1. Here is the changelog entry
Fri May 2 01:03:21 2008 UTC by jurta:

(Text from Minibuffer): Document a list of default values for
`read-from-minibuffer'.






bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Sun, 01 Jun 2008 14:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 202 days ago.

Previous Next


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