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: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 13033 <at> debbugs.gnu.org, drew.adams <at> oracle.com
Subject: bug#13033: 24.3.50; regression: read-file-name-internal handles "~" wrong
Date: Fri, 30 Nov 2012 22:42:14 +0200
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Date: Fri, 30 Nov 2012 15:08:57 -0500
> Cc: 13033 <at> debbugs.gnu.org
> 
> >> > And there is no such directory ~dradams either.
> >> Actually, there should be (in the same sense that there is a directory
> >> named ~, i.e. it's a shorthand expanded by Emacs, more specifically by
> >> `expand-file-name').
> >> What does C-x C-f ~dradams/.emacs RET do?  It should open 
> >> your ~/.emacs file.
> > It does.  Now.  But it does not in older releases.
> 
> It's done so under posix "for ever".

And it's done so on Windows forever as well.

> > That's OK for an Emacs convention.  I just was not aware of it.  (And for MS
> > Windows itself there is still no association between HOME and the user login
> > name, AFAIK.  This is an Emacs-only convention.  Nothing wrong with that,
> > obviously.)
> 
> Right, I'll let Windows users figure out whether it's useful or not.

They (Windows users) already did.




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.