emacs-devel
[Top][All Lists]
Advanced

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

Re: Slow access to files using UNC path


From: Dhruva Krishnamurthy
Subject: Re: Slow access to files using UNC path
Date: Mon, 19 Jul 2004 10:05:17 +0530

On Sun, 18 Jul 2004 21:41:13 +0200, "Eli Zaretskii" <address@hidden> said:
> > Date: Sun, 18 Jul 2004 11:42:25 +0530
> > From: "Dhruva Krishnamurthy" <address@hidden>
> > > 
> > > AFAIK, Windows behaves the same no matter if you pass it a forward
> > > slash or a backslash.  But a UNC _must_ start with two of them, so
> > > "^[/\\]" is not good enough.  It should be "^[/\\][/\\]" or something
> > > similar.
> > 
> > It should match: "\\" or "//" , which is basically 2 forward/backward
> > slashes
> 
> AFAIK, "/\" and "\/" produce the same result, which is why I said
> "^[/\\][/\\]",

This will also match a combination (2 nos) of forward and/or backword
slash which is not correct. It shouldeither be 2 forward slashes or 2
backword slashes.
Ex: A valid UNC can be either "//hostname/sharefolder/file" or
"\\hostname\sharefolder\file" (add extra backslash in Emacs)
and _not_ "/\hostname/sharefolder/file" ...

with best regards,
dhruva
________________________________________
Dhruva Krishnamurthy
Proud FSF member: #1935
http://schemer.fateback.com/





reply via email to

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