From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3662: Possible problem with ido-completing-read Date: Wed, 24 Jun 2009 09:08:42 +0200 Message-ID: <874ou6xg5h.fsf@escher.local.home> References: <791153ba0906231437j7de0768ag1523ff93bfeabb12@mail.gmail.com> Reply-To: Stephen Berman , 3662@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1245827925 2590 80.91.229.12 (24 Jun 2009 07:18:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Jun 2009 07:18:45 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 3662@emacsbugs.donarmstrong.com To: Peter Milliken Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 24 09:18:38 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MJMke-0006zB-M6 for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Jun 2009 09:18:37 +0200 Original-Received: from localhost ([127.0.0.1]:45793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJMkd-0006bs-Hr for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Jun 2009 03:18:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJMjb-0006Mx-41 for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2009 03:17:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJMjW-0006Jw-5w for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2009 03:17:30 -0400 Original-Received: from [199.232.76.173] (port=43481 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJMjV-0006Jr-PW for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2009 03:17:25 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:55252) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MJMjV-0007K7-3U for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2009 03:17:25 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MJMjU-0000Uo-6P for bug-gnu-emacs@gnu.org; Wed, 24 Jun 2009 03:17:24 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5O7HM39029271; Wed, 24 Jun 2009 00:17:22 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5O7F5ug028608; Wed, 24 Jun 2009 00:15:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stephen Berman Original-Sender: steve@escher.local.home Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 24 Jun 2009 07:15:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3662 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3662-submit@emacsbugs.donarmstrong.com id=B3662.124582733827653 (code B ref 3662); Wed, 24 Jun 2009 07:15:05 +0000 Original-Received: (at 3662) by emacsbugs.donarmstrong.com; 24 Jun 2009 07:08:58 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with SMTP id n5O78qmi027648 for <3662@emacsbugs.donarmstrong.com>; Wed, 24 Jun 2009 00:08:53 -0700 Original-Received: (qmail invoked by alias); 24 Jun 2009 07:08:45 -0000 Original-Received: from i59F55FC4.versanet.de (EHLO escher.local.home) [89.245.95.196] by mail.gmx.net (mp043) with SMTP; 24 Jun 2009 09:08:45 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1+PtBpGwLaPCBqAyo3vQwfb2BuXZVRXGxyYpQbUs4 BCG94WJxo1uYLb Original-Received: by escher.local.home (Postfix, from userid 1000) id 661861D168D; Wed, 24 Jun 2009 09:08:43 +0200 (CEST) In-Reply-To: <791153ba0906231437j7de0768ag1523ff93bfeabb12@mail.gmail.com> (Peter Milliken's message of "Wed, 24 Jun 2009 07:37:42 +1000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.52 X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Wed, 24 Jun 2009 03:17:30 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28942 gmane.emacs.pretest.bugs:24687 Archived-At: On Wed, 24 Jun 2009 07:37:42 +1000 Peter Milliken wrote: > This bug is also present in Emacs 22.3. I am attempting to use > ido-completing-read in a defun and the function "hangs" at the prompt > i.e. it does no completion at all, it will not allow me to cancel the > command, or accept a string typed in followed by RET. > > I have produced a small test function to attempt to minimise possible > problems on my part: > > (defun test () > =C2=A0=C2=A0(interactive) > =C2=A0=C2=A0(let ((a)(d))=C2=A0 > =C2=A0=C2=A0 =C2=A0(setq d '("abc" "xyz" "abe" "def")) > =C2=A0=C2=A0 =C2=A0(setq a (ido-completing-read "prompt: " d)))) > > My *understanding* of reading the defun documentation is that I should > be able to type "a" (at the prompt) and have a completion list of > "abc" and "abe" offered. But this does not happen, all I get is "a > TAB". If I hit C-g nothing happens, the prompt line remains at the > command line. I get this behavior as well (with GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of 2009-06-23 on escher). However, if I add `(ido-mode 1)' before the first setq, then it works as I assume it's supposed to: typing `M-x test' shows "prompt: {abc | xyz | abe | def}" in the minibuffer, and then typing `a' (without subsequent TAB) shows "prompt: a[b] {abc | abe}", and `C-g' quits the minibuffer. Steve Berman