unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13033: 24.3.50; regression: read-file-name-internal handles "~" wrong
@ 2012-11-29 21:44 Drew Adams
  2012-11-29 23:58 ` Juanma Barranquero
  2012-11-30  3:56 ` Stefan Monnier
  0 siblings, 2 replies; 20+ messages in thread
From: Drew Adams @ 2012-11-29 21:44 UTC (permalink / raw)
  To: 13033

This is on Windows.  I have Cygwin installed, but that should not
affect how Emacs interprets `~'.
 
My `user-login-name' is "dradams".  My `user-full-name' is "".
 
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:\\".
 
In 24.2 and in all previous Emacs versions (with the 2nd arg a dir, as needed),
(read-file-name-internal "~" 'file-exists-p nil) returns nil.
 
Please revert the code that causes this regression.

In GNU Emacs 24.3.50.1 (i386-mingw-nt5.1.2600)
 of 2012-11-19 on MS-W7-DANI
Bzr revision: 110950 monnier@iro.umontreal.ca-20121119182725-5p6w4wjimm7epggr
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.7) --no-opt --enable-checking --cflags
 -Ic:/emacs/libs/libXpm-3.5.10/include -Ic:/emacs/libs/libXpm-3.5.10/src
 -Ic:/emacs/libs/libpng-1.2.37-lib/include -Ic:/emacs/libs/zlib-1.2.5
 -Ic:/emacs/libs/giflib-4.1.4-1-lib/include
 -Ic:/emacs/libs/jpeg-6b-4-lib/include
 -Ic:/emacs/libs/tiff-3.8.2-1-lib/include
 -Ic:/emacs/libs/libxml2-2.7.8-w32-bin/include/libxml2
 -Ic:/emacs/libs/gnutls-3.0.9-w32-bin/include
 -Ic:/emacs/libs/libiconv-1.9.2-1-lib/include'
 






^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2014-02-09  2:51 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-29 21:44 bug#13033: 24.3.50; regression: read-file-name-internal handles "~" wrong Drew Adams
2012-11-29 23:58 ` Juanma Barranquero
2012-11-30 13:12   ` Michael Heerdegen
2012-11-30 13:55     ` Eli Zaretskii
2012-12-01 10:13       ` Michael Heerdegen
2012-11-30  3:56 ` Stefan Monnier
2012-11-30  4:08   ` Drew Adams
2012-11-30 17:00     ` Stefan Monnier
2012-11-30 17:24       ` Drew Adams
2012-11-30 18:44         ` Stefan Monnier
2012-11-30 19:50           ` Drew Adams
2012-11-30 20:07             ` Eli Zaretskii
2012-11-30 21:09               ` Drew Adams
2012-12-01  7:46                 ` Eli Zaretskii
2012-12-01 16:34                   ` Drew Adams
2012-11-30 20:08             ` Stefan Monnier
2012-11-30 20:42               ` Eli Zaretskii
2012-11-30 21:14               ` Drew Adams
2014-02-09  2:51                 ` Lars Ingebrigtsen
2012-11-30 19:01       ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).