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

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

bug#40949: 26.3; substitute-env-in-file-name: Undefined variables not su


From: Lars Ingebrigtsen
Subject: bug#40949: 26.3; substitute-env-in-file-name: Undefined variables not substituted
Date: Sun, 13 Jun 2021 14:15:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Marcus Harnisch <marcus.harnisch@gmx.net> writes:

>> Whether Emacs should follow what the shell does is a separate issue.
>> In this case, since we use this function in substitute-in-file-name,
>> what it does should serve what substitute-in-file-name was always
>> doing: it left the $foo constructs unaltered.
> It is probably moot to argue against long-standing practice, but the
> behaviour could perhaps benefit from a note in docstrings of functions
> that rely on `s-e-i-f-n'.

Makes sense -- it is somewhat surprising behaviour, so I've now done
this in Emacs 28 for substitute-in-file-name.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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