From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: vc-find-root and nonexistent drives Date: Sat, 16 Feb 2008 19:09:35 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1203185390 15703 80.91.229.12 (16 Feb 2008 18:09:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Feb 2008 18:09:50 +0000 (UTC) Cc: Emacs Devel To: "Stefan Monnier" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 16 19:10:14 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JQRUL-0005GI-OR for ged-emacs-devel@m.gmane.org; Sat, 16 Feb 2008 19:10:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQRTr-000697-GB for ged-emacs-devel@m.gmane.org; Sat, 16 Feb 2008 13:09:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQRTm-00068l-BP for emacs-devel@gnu.org; Sat, 16 Feb 2008 13:09:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQRTl-00068R-3O for emacs-devel@gnu.org; Sat, 16 Feb 2008 13:09:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQRTl-00068O-0u for emacs-devel@gnu.org; Sat, 16 Feb 2008 13:09:37 -0500 Original-Received: from wa-out-1112.google.com ([209.85.146.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JQRTk-0008Kn-TG for emacs-devel@gnu.org; Sat, 16 Feb 2008 13:09:37 -0500 Original-Received: by wa-out-1112.google.com with SMTP id k34so1988017wah.10 for ; Sat, 16 Feb 2008 10:09:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=A4I8ICK20zGdUYPenKkOqLSYjvIEnmY5eRfi3iaPLi0=; b=CDm4H+PijlM6WGs4JcG2sgalwmsnPwIqHOHo68Y+mVX9/2d9XD7rZxyl/P/oUS+rNUHbOtassiAFfhAvmIbkPVU288XabC39QtVmvV8hBNT8zWIMv3nPFrOMOZQirR91pUH7SG2LCxMD4780z5QgV/onJYyfMl0trhHtDb1C2LM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ckfmx1cNDo0pd5YOB3GHtrcp62A1ucou/IBll2jGBgZ1c6wdZh5aWhTMXSspF5LNw4HwMBrBEjZT17j6OlU7yDO+LNgVrJLQz9Nku9xyBv3asyfctN3QnmWwBjQ21ynzjcoCs/jCMGt9SyhsvRBMV3HT18+jK6hyZn+kDKCOasc= Original-Received: by 10.114.150.1 with SMTP id x1mr4473559wad.145.1203185375694; Sat, 16 Feb 2008 10:09:35 -0800 (PST) Original-Received: by 10.115.72.13 with HTTP; Sat, 16 Feb 2008 10:09:35 -0800 (PST) In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:89263 Archived-At: On Feb 16, 2008 3:29 PM, Stefan Monnier wrote: > I don't follow. The code in the 22 branch does: > > (while (not (or root > (null file) [snip] > where you see (last 3 lines) that it checks that `file' does change at > each iteration. I think you misread my message. What I'm talking about happens before, in the first while loop of `vc-find-root'. It is written assuming that you can keep taking out parts of a filename until you eventually end with a valid directory, because / always exists. But g:/ does not need to exist on Windows. Juanma