emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: completing-read case problem


From: Stefan Monnier
Subject: Re: completing-read case problem
Date: Mon, 15 Nov 2004 10:38:54 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

> (let ((completion-ignore-case t))
>   (completing-read "Give me ABC: "
>                  (list "abc")
>                  (lambda (string)
>                    (string= string "abc"))
>                  t
>                  ))

> With input "ABC" it returns "ABC", which I think is incorrect -- at
> least it may lead to surprises in programs which assume that the
> output of completing-read is always an exact member of TABLE,
> restricted by PREDICATE.

Yes, we pretty much agreed to that in an earlier discussion this year.
Nobody has stepped forward with a patch for it, tho.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]