From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: A Soare Newsgroups: gmane.emacs.devel Subject: Re: Bug in completion Date: Tue, 20 Feb 2007 02:48:08 +0100 (CET) Message-ID: <5267918.423961171936088728.JavaMail.www@wwinf4002> Reply-To: alinsoar@voila.fr NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1171936113 30535 80.91.229.12 (20 Feb 2007 01:48:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Feb 2007 01:48:33 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 20 02:48:26 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HJK7E-0007Hi-DR for ged-emacs-devel@m.gmane.org; Tue, 20 Feb 2007 02:48:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJK7D-0007li-Tk for ged-emacs-devel@m.gmane.org; Mon, 19 Feb 2007 20:48:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HJK72-0007kn-EO for emacs-devel@gnu.org; Mon, 19 Feb 2007 20:48:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HJK70-0007kL-Q8 for emacs-devel@gnu.org; Mon, 19 Feb 2007 20:48:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJK70-0007kF-Mt for emacs-devel@gnu.org; Mon, 19 Feb 2007 20:48:10 -0500 Original-Received: from smtp1.voila.fr ([193.252.22.174]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HJK70-0007Ym-6M for emacs-devel@gnu.org; Mon, 19 Feb 2007 20:48:10 -0500 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf4006.voila.fr (SMTP Server) with ESMTP id C23151C013B0 for ; Tue, 20 Feb 2007 02:48:08 +0100 (CET) Original-Received: from wwinf4002 (wwinf4002 [172.22.157.29]) by mwinf4006.voila.fr (SMTP Server) with ESMTP id B47721C013A1 for ; Tue, 20 Feb 2007 02:48:08 +0100 (CET) X-ME-UUID: 20070220014808739.B47721C013A1@mwinf4006.voila.fr X-Originating-IP: [86.107.96.49] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-REPLYTO: |~| X-detected-kernel: Linux 2.4-2.6 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:66545 Archived-At: I updated emacs from cvs and compiled on Tuesday, February 20, 2007 at 01:44:43 (GMT) and this code works to me... maybe somebody has already solved it in the meantime... > > ------------------------------ > > Message: 11 > Date: Mon, 19 Feb 2007 17:17:38 -0500 > From: Richard Stallman > Subject: Bug in completion > To: emacs-devel@gnu.org > Message-ID: > Content-Type: text/plain; charset=ISO-8859-15 > > This fails in a recent version; would someone please fix it? > > If the symbols as alist keys are replaced with strings, it does > not fail. However, both cases are supposed to work. > So this is a bug. > > > ------- Start of forwarded message ------- > To: bug-gnu-emacs@gnu.org > From: John J Foerch > Date: Mon, 19 Feb 2007 11:53:42 -0500 > Mime-Version: 1.0 > Content-Type: text/plain; charset=us-ascii > Subject: completing-read > X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed > version=3.0.4 > > Hello, > > The following code exhibits a behavior of completing-read that I would call a > bug. Or am I missing something? > > (let ((table '((foo . "you selected foo") > (foobar . "you selected foobar")))) > (completing-read "Symbol: " table nil 'require-match)) > > The unexpected behavior is that it is impossible to select `foo'. > > Thanks, > John Foerch>