Re: [O] Using babel to generate a commit log

2011-03-30 Thread Eric Schulte
Luke Crook writes: > I have written the following code that uses the Emacs vc-* commands to > generate > a commit log. I would like the output of this code to be included when my > file > is exported. > Is there a reason this processing takes place using Emacs Lisp rather than a simple shell

Re: [O] Using babel to generate a commit log

2011-03-29 Thread Nick Dokos
Luke Crook wrote: > > I have written the following code that uses the Emacs vc-* commands to > generate > a commit log. I would like the output of this code to be included when my > file > is exported. > > > ;; Most of this code is copied from vc.el vc-print-log > (when (vc-find-backend-fu

Re: [O] Using babel to generate a commit log

2011-03-29 Thread Suvayu Ali
On Wed, 30 Mar 2011 05:38:41 + (UTC) Luke Crook wrote: > 1) The code between #+begin_src and #+end_src is exported and not > the result of evaluating the code (the commit log). [...] > > How can I fix (1). > Have you tried ':exports results' as a header argument? > > Thanks, > -Luke

[O] Using babel to generate a commit log

2011-03-29 Thread Luke Crook
I have written the following code that uses the Emacs vc-* commands to generate a commit log. I would like the output of this code to be included when my file is exported. #+begin_src emacs-lisp :var limit="" ;; Most of this code is copied from vc.el vc-print-log (when (vc-find-backend-function