all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Stefan Monnier" <monnier@iro.umontreal.ca>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: vc-find-root and nonexistent drives
Date: Sat, 16 Feb 2008 19:09:35 +0100	[thread overview]
Message-ID: <f7ccd24b0802161009o540abc38m16a16580858dbba3@mail.gmail.com> (raw)
In-Reply-To: <jwvhcg9kmdz.fsf-monnier+emacs@gnu.org>

On Feb 16, 2008 3:29 PM, Stefan Monnier <monnier@iro.umontreal.ca> 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




  reply	other threads:[~2008-02-16 18:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-16  3:52 vc-find-root and nonexistent drives Juanma Barranquero
2008-02-16 13:43 ` Eli Zaretskii
2008-02-16 18:12   ` Juanma Barranquero
2008-02-16 20:16     ` Stefan Monnier
2008-02-16 20:18       ` Juanma Barranquero
2008-02-16 14:29 ` Stefan Monnier
2008-02-16 18:09   ` Juanma Barranquero [this message]
2008-02-16 20:33     ` Stefan Monnier
2008-02-16 20:46       ` Juanma Barranquero
2008-02-17  4:18       ` Eli Zaretskii
2008-02-17 19:00         ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f7ccd24b0802161009o540abc38m16a16580858dbba3@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.