From unknown Thu Aug 14 22:20:36 2025 X-Loop: don@donarmstrong.com Subject: bug#177: 23.0.60; doc for read-from-minibuffer Reply-To: "Drew Adams" , 177@debbugs.gnu.org Resent-From: "Drew Adams" Original-Sender: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 01 May 2008 21:00:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 177 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.1209675120594 (code B ref -1); Thu, 01 May 2008 21:00:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.3 required=4.0 tests=AWL,FOURLA,UNPARSEABLE_RELAY autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 1 May 2008 20:52:00 +0000 Received: from mercure.iro.umontreal.ca (mercure.iro.umontreal.ca [132.204.24.67]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m41Kpqvt000588 for ; Thu, 1 May 2008 13:51:53 -0700 Received: by mercure.iro.umontreal.ca (Postfix, from userid 20848) id 67D662CFC53; Thu, 1 May 2008 16:51:52 -0400 (EDT) X-Original-To: monnier@iro.umontreal.ca Delivered-To: monnier@iro.umontreal.ca Received: from pinpin.iro.umontreal.ca (pinpin.iro.umontreal.ca [132.204.24.52]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id CFC202CF9CC for ; Thu, 1 May 2008 16:51:51 -0400 (EDT) Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by pinpin.iro.umontreal.ca (Postfix) with ESMTP id 3635E3B8B5B for ; Thu, 1 May 2008 16:51:46 -0400 (EDT) Received: from localhost ([127.0.0.1]:35790 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jrfkn-0006LQ-Ux for monnier@iro.umontreal.ca; Thu, 01 May 2008 16:51:45 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JrfkY-0006LB-L7 for emacs-devel@gnu.org; Thu, 01 May 2008 16:51:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JrfkW-0006Kz-9q for emacs-devel@gnu.org; Thu, 01 May 2008 16:51:29 -0400 Received: from [199.232.76.173] (port=57347 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JrfkW-0006Kw-1k for emacs-devel@gnu.org; Thu, 01 May 2008 16:51:28 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JrfkV-0006jF-OE for emacs-devel@gnu.org; Thu, 01 May 2008 16:51:27 -0400 Received: from mx10.gnu.org ([199.232.76.166]:39130) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JrfkA-0002fX-3S for emacs-pretest-bug@gnu.org; Thu, 01 May 2008 16:51:06 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JrfkR-0006iL-2H for emacs-pretest-bug@gnu.org; Thu, 01 May 2008 16:51:27 -0400 Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JrfkQ-0006i9-MC for emacs-pretest-bug@gnu.org; Thu, 01 May 2008 16:51:22 -0400 Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m41KpJov006223 for ; Thu, 1 May 2008 15:51:19 -0500 Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m41BXnEY004176 for ; Thu, 1 May 2008 14:51:18 -0600 Received: from inet-141-146-46-1.oracle.com by acsmt351.oracle.com with ESMTP id 3664223121209675061; Thu, 01 May 2008 13:51:01 -0700 Received: from dradamslap1 (/130.35.178.194) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 01 May 2008 13:50:59 -0700 From: "Drew Adams" To: Date: Thu, 1 May 2008 13:51:07 -0700 Message-ID: <008f01c8abcd$14683c40$c2b22382@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcirzRQBe6HOWSJxSHa/yxjfGjt2NQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Errors-To: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-1.94, requis 5, BAYES_00 -2.60, RECEIVED_FROM_NOUNK 0.66, SPF_HELO_PASS -0.00) X-DIRO-MailScanner-From: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org 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' From unknown Thu Aug 14 22:20:36 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: "Drew Adams" Subject: bug#177 closed by Chong Yidong (Re: 23.0.60; doc for read-from-minibuffer) Message-ID: References: <87lk2q4xor.fsf@stupidchicken.com> <008f01c8abcd$14683c40$c2b22382@us.oracle.com> X-Emacs-PR-Message: they-closed 177 X-Emacs-PR-Package: emacs Reply-To: 177@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1209868503-25450-1" This is a multi-part message in MIME format... ------------=_1209868503-25450-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 . 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 by replying to this email. --=20 177: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D177 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1209868503-25450-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From cyd@stupidchicken.com Sat May 3 19:25:17 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-0.0 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 177-done) by emacsbugs.donarmstrong.com; 4 May 2008 02:25:17 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m442PEkS023124 for <177-done@emacsbugs.donarmstrong.com>; Sat, 3 May 2008 19:25:15 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 3C7C94E2DE; Sat, 3 May 2008 22:20:36 -0400 (EDT) From: Chong Yidong To: "Drew Adams" Cc: 177-done@debbugs.gnu.org Subject: Re: 23.0.60; doc for read-from-minibuffer Date: Sat, 03 May 2008 22:20:36 -0400 Message-ID: <87lk2q4xor.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > 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. ------------=_1209868503-25450-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From monnier@iro.umontreal.ca Thu May 1 13:52:00 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.3 required=4.0 tests=AWL,FOURLA,UNPARSEABLE_RELAY autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 1 May 2008 20:52:00 +0000 Received: from mercure.iro.umontreal.ca (mercure.iro.umontreal.ca [132.204.24.67]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m41Kpqvt000588 for ; Thu, 1 May 2008 13:51:53 -0700 Received: by mercure.iro.umontreal.ca (Postfix, from userid 20848) id 67D662CFC53; Thu, 1 May 2008 16:51:52 -0400 (EDT) X-Original-To: monnier@iro.umontreal.ca Delivered-To: monnier@iro.umontreal.ca Received: from pinpin.iro.umontreal.ca (pinpin.iro.umontreal.ca [132.204.24.52]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id CFC202CF9CC for ; Thu, 1 May 2008 16:51:51 -0400 (EDT) Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by pinpin.iro.umontreal.ca (Postfix) with ESMTP id 3635E3B8B5B for ; Thu, 1 May 2008 16:51:46 -0400 (EDT) Received: from localhost ([127.0.0.1]:35790 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jrfkn-0006LQ-Ux for monnier@iro.umontreal.ca; Thu, 01 May 2008 16:51:45 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JrfkY-0006LB-L7 for emacs-devel@gnu.org; Thu, 01 May 2008 16:51:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JrfkW-0006Kz-9q for emacs-devel@gnu.org; Thu, 01 May 2008 16:51:29 -0400 Received: from [199.232.76.173] (port=57347 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JrfkW-0006Kw-1k for emacs-devel@gnu.org; Thu, 01 May 2008 16:51:28 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JrfkV-0006jF-OE for emacs-devel@gnu.org; Thu, 01 May 2008 16:51:27 -0400 Received: from mx10.gnu.org ([199.232.76.166]:39130) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JrfkA-0002fX-3S for emacs-pretest-bug@gnu.org; Thu, 01 May 2008 16:51:06 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JrfkR-0006iL-2H for emacs-pretest-bug@gnu.org; Thu, 01 May 2008 16:51:27 -0400 Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JrfkQ-0006i9-MC for emacs-pretest-bug@gnu.org; Thu, 01 May 2008 16:51:22 -0400 Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m41KpJov006223 for ; Thu, 1 May 2008 15:51:19 -0500 Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m41BXnEY004176 for ; Thu, 1 May 2008 14:51:18 -0600 Received: from inet-141-146-46-1.oracle.com by acsmt351.oracle.com with ESMTP id 3664223121209675061; Thu, 01 May 2008 13:51:01 -0700 Received: from dradamslap1 (/130.35.178.194) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 01 May 2008 13:50:59 -0700 From: "Drew Adams" To: Date: Thu, 1 May 2008 13:51:07 -0700 Message-ID: <008f01c8abcd$14683c40$c2b22382@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcirzRQBe6HOWSJxSHa/yxjfGjt2NQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Cc: Subject: 23.0.60; doc for read-from-minibuffer X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org Errors-To: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-1.94, requis 5, BAYES_00 -2.60, RECEIVED_FROM_NOUNK 0.66, SPF_HELO_PASS -0.00) X-DIRO-MailScanner-From: emacs-devel-bounces+monnier=iro.umontreal.ca@gnu.org 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' ------------=_1209868503-25450-1--