From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Neff Subject: Re: babel: tblname not being expanded into function/var Date: Thu, 8 Dec 2011 22:17:29 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYrtu-0003Xh-QT for emacs-orgmode@gnu.org; Thu, 08 Dec 2011 23:17:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RYrtt-0005Bg-H4 for emacs-orgmode@gnu.org; Thu, 08 Dec 2011 23:17:34 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:42859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYrtt-0005BT-6B for emacs-orgmode@gnu.org; Thu, 08 Dec 2011 23:17:33 -0500 Received: by lahi5 with SMTP id i5so1174588lah.0 for ; Thu, 08 Dec 2011 20:17:31 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: emacs-orgmode On Wed, Dec 7, 2011 at 10:31 AM, Thomas S. Dye wrote: > Hi Nathan, > > I believe #+srcname: is changed to #+name: now. =A0I don't know if this i= s > contributing to your problem. Yes indeed!!! Thank you very much. I changed #+srcname: to #+name: below, and this fixed the problem. I checked the org-babel-src-name variable and it is now "^[ ]*#\\+name:[ ]*" Thanks, --Nate >> #+srcname: map-nav(shortcut-definition-list=3Dshortcut-definition-list) >> #+begin_src emacs-lisp >> (require 'cl) >> (defun map-navigation-shortcuts(shortcut-def) >> (global-set-key (read-kbd-macro (nth 1 shortcut-def)) >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(lexical-let ((shortcut-def shortcut-= def)) >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(lambda () >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(interactive) >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(org-id-goto (nth 2 shortcut-= def)))))) >> (mapcar #'map-navigation-shortcuts shortcut-definition-list) >> #+end_src >> >> -------------- end snippets ----------- >> I've found that the babel-generated "org-mode-config.el" does *not* cont= ain >> a variable called "shortcut-definition-list" on my new OS (Arch >> Linux). =A0On my Mac, >> the org-mode-config.el *does* contain a variable called >> "shortcut-definition-list". >> >> On my new OS, I'm using Emacs version 23.3.1 and org-mode version 7.7 (l= atest). >> I've run make clean && make && sudo make install in my src/org >> directory, so I'm pretty >> sure I'm using the right code. >> >> I had this same problem when I ran Ubuntu 11.11, and I was pulling my >> hair out trying to >> get this problem fixed, and it suddenly went away! =A0This indicates to >> me that it could be a >> transient problem like having some temp files laying around or >> something like that. >> >> Any advice or help is appreciated!! >> >> Thanks, >> --Nate >> >> > > -- > Thomas S. Dye > http://www.tsdye.com