Subject: bug#13033: 24.3.50; regression: read-file-name-internal handles "~" wrong

From: Stefan Monnier <[email-masked]>
Date: Thu, 29 Nov 2012 22:56:44 -0500

> In this Emacs version,
> (read-file-name-internal "~" 'file-exists-p nil) returns "~/dradams/".
> That is wrong.  Not only is there no such directory as ~/dradams/".  But
> my HOME environment variable is defined as "c:\\".
 
Can you tell me what happens when you do the following:

   (completion--embedded-envvar-table "~" 'file-exists-p nil)
or
   (completion--file-name-table "~" 'file-exists-p nil)
or
   (completion-file-name-table "~" 'file-exists-p nil)

        Stefan