[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sh.exe needed to bootstrap on Windows?
From: |
Dan Nicolaescu |
Subject: |
Re: sh.exe needed to bootstrap on Windows? |
Date: |
Mon, 16 Jul 2007 14:01:16 -0700 |
Eli Zaretskii <address@hidden> writes:
> > Date: Mon, 16 Jul 2007 22:28:22 +0200
> > From: "Juanma Barranquero" <address@hidden>
> > Cc: "Dan Nicolaescu" <address@hidden>, address@hidden
> >
> > On 7/16/07, Eli Zaretskii <address@hidden> wrote:
> > > But why
> > > does it fail to find sh.exe in your case? Do you even have sh.exe?
> >
> > Not in the path, no.
> >
> > Perhaps some tool tries to run sh?
>
> What I see is that Emacs runs shell-command-to-string from vc-bzr.el:
> (defun vc-bzr-version ()
> "Return a three-numeric element list with components of the bzr version.
> This is of the form (X Y Z) for revision X.Y.Z. The elements are zero
> if running `vc-bzr-program' doesn't produce the expected output."
> (or vc-bzr-version
> (setq vc-bzr-version
> (let ((s (shell-command-to-string
> (concat (shell-quote-argument vc-bzr-program)
> " --version"))))
> (if (string-match "\\([0-9]+\\)\\.\\([0-9]+\\)\\.\\([0-9]+\\)$"
s)
> (list (string-to-number (match-string 1 s))
> (string-to-number (match-string 2 s))
> (string-to-number (match-string 3 s)))
> '(0 0 0))))))
What calls this function? It seems that it can be called when
vc-bzr.el is loaded, but why is vc-bzr loaded? I assume you don't use
bzr for emacs...
- sh.exe needed to bootstrap on Windows?, Juanma Barranquero, 2007/07/16
- Re: sh.exe needed to bootstrap on Windows?, Eli Zaretskii, 2007/07/16
- Re: sh.exe needed to bootstrap on Windows?, Juanma Barranquero, 2007/07/16
- Re: sh.exe needed to bootstrap on Windows?, Eli Zaretskii, 2007/07/16
- Re: sh.exe needed to bootstrap on Windows?, Juanma Barranquero, 2007/07/16
- Re: sh.exe needed to bootstrap on Windows?, Eli Zaretskii, 2007/07/16
- Re: sh.exe needed to bootstrap on Windows?,
Dan Nicolaescu <=
- Re: sh.exe needed to bootstrap on Windows?, Eli Zaretskii, 2007/07/16
- Re: sh.exe needed to bootstrap on Windows?, Dan Nicolaescu, 2007/07/16
- Re: sh.exe needed to bootstrap on Windows?, Eli Zaretskii, 2007/07/16
- Re: sh.exe needed to bootstrap on Windows?, Dan Nicolaescu, 2007/07/16
- Re: sh.exe needed to bootstrap on Windows?, Eli Zaretskii, 2007/07/16
- Re: sh.exe needed to bootstrap on Windows?, Dan Nicolaescu, 2007/07/16
- Re: sh.exe needed to bootstrap on Windows?, Eli Zaretskii, 2007/07/16
- Re: sh.exe needed to bootstrap on Windows?, Dan Nicolaescu, 2007/07/16
- Re: sh.exe needed to bootstrap on Windows?, Jason Rumney, 2007/07/17
- Re: sh.exe needed to bootstrap on Windows?, Dan Nicolaescu, 2007/07/17