Subject: bug#20205: 24.4; lgrep will not accept a directory of ~ to search; problem with read-file-name?

From: Eli Zaretskii <[email-masked]>
Date: Thu, 26 Mar 2015 18:31:38 +0200

> From: Mark Lillibridge <[email-masked]>
> Date: Wed, 25 Mar 2015 21:58:30 -0700
> 
> 
> (found also in Emacs 24.3, not in 24.2)
> 
> Recipe:
>     emacs -q
>     
>     M-x lgrep enter
>     target enter
>     enter
>     <edit mini-buffer to get ~; I had to backspace once then hit ~>
>     enter
> 
> when you hit the last enter, Emacs gives you a completion buffer and
> refuses to accept "~" as a valid directory to search.  "~/" does work,
> however.

It's a feature: "~" gets completed to "~USER" where USER are the users
known by the system.