[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: [PATCH] Re: html-export mangels mailto: links
From: |
Nick Dokos |
Subject: |
Re: [Orgmode] Re: [PATCH] Re: html-export mangels mailto: links |
Date: |
Sun, 12 Sep 2010 21:24:30 -0400 |
Achim Gratz <address@hidden> wrote:
> Eric S Fraga <address@hidden> writes:
> > it's the output of "M-x org-version RET" as opposed to the value of
> > org-version.
>
> They both deliver the same result "7.01trans" for me, that's why I'm
> asking...
>
org-version makes some assumptions: it calculates a directory as follows
(concat (file-name-directory (locate-library "org")) "../" ))
and then looks for a ``.git'' subdirectory in that directory. If it is
found, then all is good: it does a ``git describe'' variation to get the
release part. But if it is not found, then it falls back to the bare
version (without the release part).
E.g. if you git pull into one place and then install the .el files
somewhere else, the .git subdirectory will not be found.
So evaluate these two expressions:
(setq dir (concat (file-name-directory (locate-library "org")) "../" )))
(file-exists-p (expand-file-name ".git" dir))
and you'll probably find that the second one returns nil in your case.
One way to get the release part: arrange your load-path to load org.el[c]
(and the other org .el or .elc files) from the lisp subdirectory of your
git repository.
HTH,
Nick
- [Orgmode] [Bug] html-export mangels mailto: links, Achim Gratz, 2010/09/01
- [Orgmode] [PATCH] Re: html-export mangels mailto: links, Noorul Islam K M, 2010/09/02
- [Accepted] [Orgmode] Re: html-export mangels mailto: links, Bastien Guerry, 2010/09/02
- Re: [Orgmode] [PATCH] Re: html-export mangels mailto: links, Bastien, 2010/09/02
- [Orgmode] Re: [PATCH] Re: html-export mangels mailto: links, Achim Gratz, 2010/09/12
- Re: [Orgmode] Re: [PATCH] Re: html-export mangels mailto: links, David Maus, 2010/09/12
- [Orgmode] Re: [PATCH] Re: html-export mangels mailto: links, Achim Gratz, 2010/09/12
- Re: [Orgmode] Re: [PATCH] Re: html-export mangels mailto: links, Eric S Fraga, 2010/09/12
- [Orgmode] Re: [PATCH] Re: html-export mangels mailto: links, Achim Gratz, 2010/09/12
- Re: [Orgmode] Re: [PATCH] Re: html-export mangels mailto: links,
Nick Dokos <=
- [Orgmode] Re: [PATCH] Re: html-export mangels mailto: links, Achim Gratz, 2010/09/13
- [Orgmode] Re: [PATCH] Re: html-export mangels mailto: links, Achim Gratz, 2010/09/13