[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in completion
From: |
A Soare |
Subject: |
Re: Bug in completion |
Date: |
Tue, 20 Feb 2007 02:48:08 +0100 (CET) |
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 <address@hidden>
> Subject: Bug in completion
> To: address@hidden
> Message-ID: <address@hidden>
> 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: address@hidden
> From: John J Foerch <address@hidden>
> 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>