Subject: Re: partial-completion-mode and completion-ignore-case combine to make 'read-file-name return a subdirectory when user enters the parent

From: Chong Yidong <[email-masked]>
Date: Sun, 07 Sep 2008 17:02:12 -0400

>   mkdir /scratch2/rfn-bug
>   touch /scratch2/rfn-bug/a
>   touch /scratch2/rfn-bug/b
>   mkdir /scratch2/rfn-bug/frog
>
> Run emacs, and then evaluate:
>
>    (setq read-file-name-completion-ignore-case t)
>    (require 'complete)
>    (partial-completion-mode t)
>    (read-file-name prompt dir dir 'must-match nil 'file-directory-p)
>
> When you enter "/scratch2/rfn-bug/", you'll get back
> "/scratch2/rfn-bug/frog"

I've checked in a fix into CVS.  Thanks for the bug report.