From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#5345: Password asked when visiting a file in a lightweight checkout Date: Sat, 9 Jan 2010 21:57:58 +0100 Message-ID: References: <87eilzio5b.fsf@gmx.de> <83vdfb8jxa.fsf@gnu.org> <201001091846.o09Ikv1G009474@godzilla.ics.uci.edu> <201001091920.o09JKqPp010697@godzilla.ics.uci.edu> <201001092039.o09Kd2B0013507@godzilla.ics.uci.edu> Reply-To: Lennart Borgman , 5345@debbugs.gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1263071984 18788 80.91.229.12 (9 Jan 2010 21:19:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Jan 2010 21:19:44 +0000 (UTC) Cc: Juanma Barranquero To: Dan Nicolaescu , 5345@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 09 22:19:38 2010 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 1NTiif-0004js-Jm for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jan 2010 22:19:37 +0100 Original-Received: from localhost ([127.0.0.1]:49683 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NTiig-0002l7-33 for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jan 2010 16:19:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NTiiD-0002Sv-45 for bug-gnu-emacs@gnu.org; Sat, 09 Jan 2010 16:19:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NTii8-0002Q2-Ef for bug-gnu-emacs@gnu.org; Sat, 09 Jan 2010 16:19:08 -0500 Original-Received: from [199.232.76.173] (port=58906 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NTii8-0002Pz-7a for bug-gnu-emacs@gnu.org; Sat, 09 Jan 2010 16:19:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60645) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NTii7-0004eH-To for bug-gnu-emacs@gnu.org; Sat, 09 Jan 2010 16:19:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NTiOk-0005TL-6I; Sat, 09 Jan 2010 15:59:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Mail-Followup-To: Lennart Borgman , 5345@debbugs.gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Jan 2010 20:59:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5345 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5345-submit@debbugs.gnu.org id=B5345.126307070421022 (code B ref 5345); Sat, 09 Jan 2010 20:59:02 +0000 Original-Received: (at 5345) by debbugs.gnu.org; 9 Jan 2010 20:58:24 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NTiO8-0005T1-Ds for submit@debbugs.gnu.org; Sat, 09 Jan 2010 15:58:24 -0500 Original-Received: from mail-fx0-f226.google.com ([209.85.220.226]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NTiO7-0005Su-2w for 5345@debbugs.gnu.org; Sat, 09 Jan 2010 15:58:23 -0500 Original-Received: by fxm26 with SMTP id 26so18042175fxm.39 for <5345@debbugs.gnu.org>; Sat, 09 Jan 2010 12:58:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=9qAVHWwFo5A6eHQuo6y5JnBF9OBriHIectmqUeWV9Gw=; b=XFcnVUjEw+9giFHKZdxAoLbpV6fVH8Ilb52IxZeelhuLD5wkat17cZSlvI1zZiHZIU P4ZuRocPZmBkVMp2i7oupRJzDlD4CEgn9WgbEH/5i2yrEpJrXQBYuHZ3kGFcT21Ne414 5yUrfWg47mD0m067ogF3N9mEISLSVDWTeOG0M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=aKA3bHRkYI6GcQ2m53uQ3gh0eIfl+DL+wtIEtZdcRl82zwTT++fA8w1Q8Kt3tTHhoG OafXGoB+6Hs7sDfZefCe/KD1uo7mdwLghpsHGqnAwRJbv1fTRo2Z1LeG1bIraPaU0Whf +vufMcnVp218FiXZGCPrCYd/04GbDmOrtJH1w= Original-Received: by 10.239.192.79 with SMTP id d15mr697335hbi.52.1263070698164; Sat, 09 Jan 2010 12:58:18 -0800 (PST) In-Reply-To: <201001092039.o09Kd2B0013507@godzilla.ics.uci.edu> X-Spam-Score: -2.5 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -2.5 (--) Resent-Date: Sat, 09 Jan 2010 15:59:02 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:34133 Archived-At: On Sat, Jan 9, 2010 at 9:39 PM, Dan Nicolaescu wrote: > Juanma Barranquero writes: > > =C2=A0> On Sat, Jan 9, 2010 at 20:20, Dan Nicolaescu w= rote: > =C2=A0> > =C2=A0> > Is that the correct URL syntax? > =C2=A0> > =C2=A0> Yes. This kind of URL is very common when dealing with files on > =C2=A0> Windows. According to RFC 1738 ("Uniform Resource Locators (URL)"= ), > =C2=A0> section 3.10 ("FILES"), the syntax is > =C2=A0> > =C2=A0> =C2=A0 =C2=A0 =C2=A0file:/// > =C2=A0> > =C2=A0> i.e., the slashes are separators. And "[a]s a special case, can > =C2=A0> be the string "localhost" or the empty string; this is interprete= d as > =C2=A0> `the machine from which the URL is being interpreted'.". So > =C2=A0> file:///C:/path is a perfectly valid URL for a local file on Wind= ows, > =C2=A0> as a shorthand for file://localhost/C:/path. I'm surprised Unix U= RLs > =C2=A0> for absolute paths do not start with file:////. We were discussing before if file://c:/some/where.txt also was correct. We could not rule out the possibility that it was. So please take care of this case too. > =C2=A0> > But please do it with a system-type test, /C:/emacs/repo/bugs/5= 313/ is a > =C2=A0> > valid unix file name. =C2=A0Probably not used too much, but val= id, so it > =C2=A0> > should not be excluded. > =C2=A0> > =C2=A0> Are you OK with the following patch? > > Sure.