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

From: Stefan Kangas <[email-masked]>
Date: Mon, 30 Sep 2019 02:41:54 +0200

tags 20205 + notabug
close 20205
quit

Eli Zaretskii <[email-masked]> writes:

>> (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.

With the above explanation, I'm closing this as notabug.

Best regards,
Stefan Kangas