From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Using babel to generate a commit log Date: Wed, 30 Mar 2011 14:12:57 -0600 Message-ID: <8762r0s6q2.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=50358 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q51q8-0004Cm-6I for emacs-orgmode@gnu.org; Wed, 30 Mar 2011 16:18:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q51q5-0003uN-V4 for emacs-orgmode@gnu.org; Wed, 30 Mar 2011 16:18:03 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:34084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q51q5-0003sP-Og for emacs-orgmode@gnu.org; Wed, 30 Mar 2011 16:18:01 -0400 Received: by mail-iw0-f169.google.com with SMTP id 8so2128621iwg.0 for ; Wed, 30 Mar 2011 13:18:01 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Luke Crook Cc: emacs-orgmode@gnu.org 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 code block, the following alternative should be simpler and more robust. #+begin_src sh :exports results :results output git log -1 #+end_src Best -- Eric