From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: Using babel to generate a commit log Date: Thu, 31 Mar 2011 18:28:34 -0600 Message-ID: <87mxkaermz.fsf@gmail.com> References: <20110329232804.45777e7a@bhishma.homelinux.net> <8080.1301490442@alphaville.dokosmarshall.org> <5188.1301503865@alphaville.usa.hp.com> <87d3l8s6qd.fsf@gmail.com> <8762r0rx5d.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=54415 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5SJx-0008IM-7I for emacs-orgmode@gnu.org; Thu, 31 Mar 2011 20:34:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q5SJw-0004WX-0k for emacs-orgmode@gnu.org; Thu, 31 Mar 2011 20:34:37 -0400 Received: from mail-gw0-f41.google.com ([74.125.83.41]:40245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q5SJv-0004WR-TK for emacs-orgmode@gnu.org; Thu, 31 Mar 2011 20:34:35 -0400 Received: by gwaa12 with SMTP id a12so1450800gwa.0 for ; Thu, 31 Mar 2011 17:34:34 -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: > Eric Schulte gmail.com> writes: >> >> Since this could be generally useful would you be willing to add it to >> the library of babel (org/contrib/babel/library-of-babel.org)? > > That would be great. > >> If so then if you could supply a few explanatory sentences, I'll add those and >> the code block to the library-of-babel.org distributed with Org-mode. > > "This function will attempt to retrieve the entire commit log for the file > associated with the current buffer and insert this log into the export. The > function uses the Emacs VC commands to interface to the local version control > system, but has only been tested to work with Git. 'limit' is currently > unsupported." > Fantastic, I've now added this to the library-of-babel.org file, so anyone who loads the library of babel can now call this functionality through the "" code block, e.g., #+call: Thanks for the contribution! -- Eric ps. since I can be a bit OCD about these things, I made some aesthetic indentation and reformatting changes to your elisp.