Nick Dokos <nicholas.do...@hp.com> writes:

> Bernt Hansen <be...@norang.ca> wrote:
>
> ...
>>       (shell-command (concat "GITDIR=" dir " && git describe --abbrev=4 
>> HEAD"))
> ...
>
> Disclaimer: I touch Windows once a day to check a mail account and
> possibly surf the web - other than that, I'm pretty much at sea in it
> (and I've never used emacs on Windows, let alone install git on it.)
> Please excuse the elementary questions.
>
> How does shell-command work under Windows? What shell is it using?
> Is cygwin a prerequisite for it? Is cygwin a prerequisite for git?
>
> Thanks,
> Nick

Nick,

You use windows more than me :)  I have no idea what shell it uses - but
if it's the DOS shell the && above is never going to work.

I have GNU Emacs 23.0.91.1 (i386-mingw-nt5.1.2600) of 2009-02-26 on
LENNART-69DE564 (patched) here which I can try.

I think this version uses the DOS shell and git which is installed on
the system isn't available from this shell.

Maybe I should just disable the git version for now on ms-dos,
windows-nt, and cygwin since I don't know how to make it work reliably
on windows.

Opinions?

-Bernt


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to