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

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Thu, 29 Nov 2012 21:48:01 UTC

Severity: minor

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 13033 <at> debbugs.gnu.org
Subject: bug#13033: 24.3.50; regression: read-file-name-internal handles "~" wrong
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




This bug report was last modified 11 years and 162 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.