all messages for Emacs-related lists mirrored at yhetil.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.