From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Bug in completion Date: Mon, 19 Feb 2007 23:54:38 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1171925698 11760 80.91.229.12 (19 Feb 2007 22:54:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Feb 2007 22:54:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 19 23:54:51 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 1HJHPG-0007jO-WD for ged-emacs-devel@m.gmane.org; Mon, 19 Feb 2007 23:54:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJHPG-0001NB-HR for ged-emacs-devel@m.gmane.org; Mon, 19 Feb 2007 17:54:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HJHOQ-0000yo-2n for emacs-devel@gnu.org; Mon, 19 Feb 2007 17:53:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HJHOO-0000yZ-Fe for emacs-devel@gnu.org; Mon, 19 Feb 2007 17:53:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJHOO-0000yO-AQ for emacs-devel@gnu.org; Mon, 19 Feb 2007 17:53:56 -0500 Original-Received: from pfepa.post.tele.dk ([195.41.46.235]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HJHOL-0006m7-T8; Mon, 19 Feb 2007 17:53:54 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx19.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id DB17DFAC017; Mon, 19 Feb 2007 23:53:52 +0100 (CET) In-Reply-To: (Richard Stallman's message of "Mon\, 19 Feb 2007 17\:17\:38 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:66540 Archived-At: Richard Stallman writes: > This fails in a recent version; would someone please fix it? I have installed a fix. > > 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. > > > From: John J Foerch > Subject: completing-read > To: bug-gnu-emacs@gnu.org > Date: Mon, 19 Feb 2007 11:53:42 -0500 > > 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 > > > > _______________________________________________ > bug-gnu-emacs mailing list > bug-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs > ---------- > -- Kim F. Storm http://www.cua.dk