Hello,
Eric S Fraga writes:
> On Saturday, 24 Dec 2016 at 09:07, Michael Welle wrote:
>
> [...]
>
>> do you have some mechanism that warns you if you try to export
>> uncommitted changes? I'm not sure how such a process should be designed.
>
> I do not. I manually always check the status of the
On Saturday, 24 Dec 2016 at 09:07, Michael Welle wrote:
[...]
> do you have some mechanism that warns you if you try to export
> uncommitted changes? I'm not sure how such a process should be designed.
I do not. I manually always check the status of the working directory
(C-x v d RET). In any
On Fri, Dec 23, 2016 at 3:13 PM, Daniele Pizzolli wrote:
>
> David Talmage writes:
>
> > I'd like to insert the git hash of HEAD in the org-mode documents that I
> > export. Is there an easy way? I'm exporting to LaTeX.
>
> ...
#+NAME: hash-from-lisp
> #+BEGIN_SRC emacs-lisp
> (shell-command
Hello,
Eric S Fraga writes:
> On Friday, 23 Dec 2016 at 17:34, David Talmage wrote:
>> I'd like to insert the git hash of HEAD in the org-mode documents that
>> I export. Is there an easy way? I'm exporting to LaTeX.
>
> Anything you can do in a shell could be exported to LaTeX. E.g. I do
> t
On Friday, 23 Dec 2016 at 17:34, David Talmage wrote:
> I'd like to insert the git hash of HEAD in the org-mode documents that
> I export. Is there an easy way? I'm exporting to LaTeX.
Anything you can do in a shell could be exported to LaTeX. E.g. I do
the following with mercurial in one of my
David Talmage writes:
> I'd like to insert the git hash of HEAD in the org-mode documents that I
> export. Is there an easy way? I'm exporting to LaTeX.
[]
Hello,
maybe you can start with a simple:
#+NAME: hash-from-lisp
#+BEGIN_SRC emacs-lisp
(shell-command-to-string "git rev-parse HEAD"
I'd like to insert the git hash of HEAD in the org-mode documents that I
export. Is there an easy way? I'm exporting to LaTeX.
I looked for it on worg. The mailing list on gmane.org is still off-line,
alas.