From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#4674: 23.1; UNC paths and file-relative-directory Date: Fri, 9 Oct 2009 17:28:11 +0100 Message-ID: Reply-To: Richard Copley , 4674@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1255106881 32635 80.91.229.12 (9 Oct 2009 16:48:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Oct 2009 16:48:01 +0000 (UTC) To: 4674@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 09 18:47:54 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MwIdG-00018I-19 for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Oct 2009 18:47:54 +0200 Original-Received: from localhost ([127.0.0.1]:55173 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwIdF-0006jV-Gg for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Oct 2009 12:47:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MwIch-0006WJ-0F for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2009 12:47:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MwIcb-0006Tc-1A for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2009 12:47:17 -0400 Original-Received: from [199.232.76.173] (port=56537 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwIca-0006TP-P2 for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2009 12:47:12 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45569) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MwIca-0007fd-2a for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2009 12:47:12 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n99Gl9B8002478; Fri, 9 Oct 2009 09:47:10 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n99GZ60p032699; Fri, 9 Oct 2009 09:35:06 -0700 Resent-Date: Fri, 9 Oct 2009 09:35:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Richard Copley Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 09 Oct 2009 16:35:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4674 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4674-submit@emacsbugs.donarmstrong.com id=B4674.125510569931607 (code B ref 4674); Fri, 09 Oct 2009 16:35:05 +0000 Original-Received: (at 4674) by emacsbugs.donarmstrong.com; 9 Oct 2009 16:28:19 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-bw0-f226.google.com (mail-bw0-f226.google.com [209.85.218.226]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n99GSHE7031589 for <4674@emacsbugs.donarmstrong.com>; Fri, 9 Oct 2009 09:28:18 -0700 Original-Received: by bwz26 with SMTP id 26so892360bwz.1 for <4674@emacsbugs.donarmstrong.com>; Fri, 09 Oct 2009 09:28:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=yQ9QafwlnxBx22dDKvdLVm5CVoSznCfUxmAQVVXxpsw=; b=tELDYuw6NmfSVnsA3eaDK10S9lerCAwcZapZKRdsiwSaKsQyCsiWoUxkHPKUOEfB1W 7jgAw9NBSjCoAnHJBLiwMEZPQGmFZ9aykpqk8d2uNJB4m+zlUZzYErAYnFMCi0heYP1T Tz7AgRf42DuzTjjueX0tvn6LfqOA9gEzq/7Fs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nmJJilA/bg3mw4ObU2iGfebp5gJC6anK2N2PTEg/yRtETmezj8FbSJSDa3Blr5cDsg IPbolyY81S/2BaDxsNNkyX+RAsZOmO9eodApONpb4BxUfsXlRuaXRO6wajDrD73x6GuR MufejPxUV0In0hVet70BAB65pZJeVBSco+BO8= Original-Received: by 10.103.126.9 with SMTP id d9mr1186165mun.103.1255105691435; Fri, 09 Oct 2009 09:28:11 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 09 Oct 2009 12:47:17 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31819 Archived-At: Thinking about it, that advice can be changed so that it only returns the server name, since "../SHARE2" is a valid relative path from "//SERVER/SHARE1" to "//SERVER/SHARE2": change the regexp to something more like "\\`\\(//[^:/\\]+\\)/[^:/\\]+". I'm reconsidering my "I don't think that's wise" attitude towards this workaround. It's probably not illogical to treat files on UNC paths as remote files (even in the case when the server name resolves to the local computer anyway), and the old piece of advice has worked okay for me so far. Apologies for sending this message to the wrong place yesterday (see bug #4763).