>>>> Adrian Aichner <adrian(a)xemacs.org> writes:
Adrian> I access files on administrative shares under windows, or should I
Adrian> say, I used to :-)
Adrian> Paths of the pattern
Adrian> trigger the same problem.
Home directories under Windows sometimes (often!?) contains a $. This
gives similar problems. I work around that by setting HOME to
something else than what the system uses. This is for instance needed
to build 21.5 on cygwin.
One could argue that expanding environment variables based on the $
sign should not be done on at all on a windows native built XEmacs. It
should expand %ENVVAR%s instead!?
For a cygwin build XEmacs it is another deal. I work around the
homedir problem as outlined above by using a cygwin soft link from
/home/username to the mapped network drive where my username windows
home folder is.
Adrian> The difference is that insert-file-contents in 21.5 epands the
Adrian> file argument using substitute-in-file-name, which the 21.4
Adrian> variant did not use to.
Another idea is that if the environment variable is non existing then
why complain about the substitution in the first place. Just keep the
$ and move on!?
XEmacs-Beta mailing list