unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40949: 26.3; substitute-env-in-file-name: Undefined variables not substituted
@ 2020-04-28 20:38 Marcus Harnisch
  2020-04-29 11:27 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Marcus Harnisch @ 2020-04-28 20:38 UTC (permalink / raw)
  To: 40949

With commit ee041f2d07b6ed485dc34c115588f973f046c9d4 the function
`substitute-env-in-file-name' was introduced.

The function substitutes environment variable references in filenames
with the help of `substitute-env-vars'. On systems that are neither
windows-nt nor ms-dos, the optional argument to that function is set to
t with the consequence that references to undefined variables are not
substituted. This is unexpected, IMHO.
Expected behaviour would match that of shell expansion, which
substitutes undefined variables with the empty string.

Cheers,
Marcus






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

end of thread, other threads:[~2021-06-13 12:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-28 20:38 bug#40949: 26.3; substitute-env-in-file-name: Undefined variables not substituted Marcus Harnisch
2020-04-29 11:27 ` Eli Zaretskii
2020-04-29 12:06   ` Marcus Harnisch
2021-06-13 12:15     ` Lars Ingebrigtsen

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).