Michael Sperber <sperber(a)deinprogramm.de> writes:
"Adrian Aichner" <adrian(a)xemacs.org> writes:
> Right, Skip!
>
> By sheer coincidence I have partially tracked down a variation on the
> theme today.
>
> I access files on administrative shares under windows, or should I
> say, I used to :-)
>
> Paths of the pattern
> \\COMPUTER\DRIVE$\FILE
> trigger the same problem.
>
> I can do dired, using
> \\COMPUTER\DRIVE$$
> which evaluates to
> \\COMPUTER\DRIVE$
> but opening FILE will evaluate C$ once more and fall over.
>
> The difference is that insert-file-contents in 21.5 epands the file
> argument using substitute-in-file-name, which the 21.4 variant did not
> use to.
>
> Michael Sperber should know more about this.
>
> Mike?
Yo. It was me. Sorry. I just copied the call to
`substitute-in-file-name' from somewhere else, and I believe it's just
as incorrect there. So how about this?
The patch seems to work in initial testing.
Thanks Mike!
Adrian
2008-01-04 Michael Sperber <mike(a)xemacs.org>
* code-files.el (insert-file-contents):
(load): Don't call `substitute-in-file-name' on the file name.
--
Adrian Aichner
mailto:adrianï¼ xemacs.org
http://www.xemacs.org/
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta