GNU bug report logs - #33255
27.0.50; expand-file-name: default directory expanded twice if relative

Previous Next

Package: emacs;

Reported by: immerrr again <immerrr <at> gmail.com>

Date: Sun, 4 Nov 2018 10:56:02 UTC

Severity: minor

Fixed in version 27.0.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 33255 <at> debbugs.gnu.org, immerrr again <immerrr <at> gmail.com>, Noam Postavsky <npostavs <at> gmail.com>
Subject: bug#33255: 27.0.50; expand-file-name: default directory expanded twice if relative
Date: Wed, 14 Nov 2018 13:10:44 -0500
Paul Eggert wrote:

> However, POSIX says that sh treats ~/foo like $HOME/foo even when HOME
> is not absolute [...]

Can you point me to the citation for that please (I'm not doubting you,
just interested to read the wording, which I could not find).

I'm a bit disappointed to see that a relative HOME is now documented
in the Emacs manuals, since IMO it lends legitimacy to a questionable
usage. I don't see it mentioned in eg the bash manual.
I also don't see why it is in NEWS since it is described as
a bug fix, and those aren't normally mentioned.




This bug report was last modified 6 years and 261 days ago.

Previous Next


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