From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: Slow access to files using UNC path Date: Sun, 18 Jul 2004 21:41:13 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <2914-Sun18Jul2004214112+0300-eliz@gnu.org> References: <1089978045.7826.200489429@webmail.messagingengine.com> <1090070598.482.200548261@webmail.messagingengine.com> <2914-Sun18Jul2004070932+0300-eliz@gnu.org> <1090131145.14224.200572407@webmail.messagingengine.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1090176195 15106 80.91.224.253 (18 Jul 2004 18:43:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Jul 2004 18:43:15 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Jul 18 20:43:04 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BmGcq-00048G-00 for ; Sun, 18 Jul 2004 20:43:04 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BmGcp-00041F-00 for ; Sun, 18 Jul 2004 20:43:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BmGfT-0001PW-Ll for emacs-devel@quimby.gnus.org; Sun, 18 Jul 2004 14:45:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BmGfM-0001PQ-MG for emacs-devel@gnu.org; Sun, 18 Jul 2004 14:45:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BmGfL-0001PE-6r for emacs-devel@gnu.org; Sun, 18 Jul 2004 14:45:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BmGfL-0001PB-0J for emacs-devel@gnu.org; Sun, 18 Jul 2004 14:45:39 -0400 Original-Received: from [192.114.186.23] (helo=aragorn.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BmGcR-000659-UY for emacs-devel@gnu.org; Sun, 18 Jul 2004 14:42:40 -0400 Original-Received: from zaretski (pns03-195-136.inter.net.il [80.230.195.136]) by aragorn.inter.net.il (MOS 3.4.6-GR) with ESMTP id DUV44998; Sun, 18 Jul 2004 21:42:09 +0300 (IDT) Original-To: "Dhruva Krishnamurthy" X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <1090131145.14224.200572407@webmail.messagingengine.com> (list@dhruva.fastmail.fm) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25819 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25819 > Date: Sun, 18 Jul 2004 11:42:25 +0530 > From: "Dhruva Krishnamurthy" > > > > 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 "^[/\\][/\\]",