emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version infor


From: Bernt Hansen
Subject: Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information
Date: Wed, 19 Aug 2009 10:17:49 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Nick Dokos <address@hidden> writes:

> Bernt Hansen <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]