bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33255: 27.0.50; expand-file-name: default directory expanded twice i


From: Glenn Morris
Subject: bug#33255: 27.0.50; expand-file-name: default directory expanded twice if relative
Date: Sun, 04 Nov 2018 19:58:01 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Noam Postavsky wrote:

> immerrr again <immerrr@gmail.com> writes:
>
>> I have recently tried to play with a clean .emacs.d directory by setting
>> HOME=clean/home/dir,

I think a non-absolute HOME is a user error.
Eg cd $HOME may then not be idempotent.
I would use $PWD/clean/home/dir.

> I think it would make sense for Emacs to expand HOME against the current
> directory when it starts up, if HOME is relative.  

I would rather see Emacs abort with an error.
Otherwise you have to eg fix up process-environment too, else child
processes may behave oddly.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]