[Top][All Lists]
[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
- Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information, (continued)
- Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information, Manish, 2009/08/19
- Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information, Bernt Hansen, 2009/08/19
- Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information, Manish, 2009/08/19
- Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information, Bernt Hansen, 2009/08/19
- [Orgmode] [PATCH 1/2] Use lisp cd function to change directories to avoid shell dependencies, Bernt Hansen, 2009/08/19
- [Orgmode] [PATCH 2/2] Skip git-version determination if git command fails, Bernt Hansen, 2009/08/19
- [Orgmode] [PATCH 0/2] org-version fix for windows, Bernt Hansen, 2009/08/19
- [Orgmode] Re: [PATCH 0/2] org-version fix for windows, Bernt Hansen, 2009/08/19
- [Orgmode] Re: [PATCH 0/2] org-version fix for windows, Bernt Hansen, 2009/08/20
- [Orgmode] Re: [PATCH 0/2] org-version fix for windows, Carsten Dominik, 2009/08/20
- Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information,
Bernt Hansen <=
- Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information, Manish, 2009/08/19
- Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information, Bernt Hansen, 2009/08/19
- Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information, Manish, 2009/08/19
- Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information, Bernt Hansen, 2009/08/19
- Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information, Nick Dokos, 2009/08/19
- Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information, Nick Dokos, 2009/08/19
- Re: [Orgmode] [PATCH 0/2] Teach org-version to include git version information, Manish, 2009/08/19