From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: [ANN] Org-babel integrated into Org-mode Date: Wed, 23 Jun 2010 22:42:27 -0700 Message-ID: <87fx0d3s1o.fsf@gmail.com> References: <87wrtp78rg.fsf@gmail.com> <87eifxmh57.fsf@gollum.intra.norang.ca> <878w655kmh.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=59993 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ORfCr-0006nx-GX for emacs-orgmode@gnu.org; Thu, 24 Jun 2010 01:42:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ORfCq-0000IS-C1 for emacs-orgmode@gnu.org; Thu, 24 Jun 2010 01:42:33 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:62657) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORfCq-0000IF-4U for emacs-orgmode@gnu.org; Thu, 24 Jun 2010 01:42:32 -0400 Received: by pvg4 with SMTP id 4so35790pvg.0 for ; Wed, 23 Jun 2010 22:42:31 -0700 (PDT) In-Reply-To: (Nathan Neff's message of "Thu, 24 Jun 2010 00:12:48 -0500") 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: Nathan Neff Cc: Bernt Hansen , Org Mode Hi Nathan, Nathan Neff writes: > I checked out the latest org mode, and I'm getting "Symbol's function > definition is void: second" > > I ran git-bisect, and the error was introduced with the merge of > org-babel into the main > branch. > Part of merging into Org-mode (and meeting the Emacs code standards) meant that Org-babel had to stop requiring the 'cl library which provides the `second' function. There's a good editorial on this issue available online [1] (published from an org-mode file). I would recommend that you either 1) add (require 'cl) to your personal configuration 2) add (require 'cl) to the top of the emacs-lisp code block 3) or make the following replacements in the code block - (second shortcut-def) -> (nth 1 shortcut-def) - (third shortcut-def) -> (nth 2 shortcut-def) Hope this helps, let me know if problems persist. Best -- Eric Footnotes: [1] http://dto.github.com/notebook/require-cl.html#sec-8