emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] babel perl issue


From: flav
Subject: Re: [O] babel perl issue
Date: Tue, 11 Dec 2012 16:50:58 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

Le 11/12/2012 14:45, Eric Schulte a écrit :
flav <address@hidden> writes:

Le 10/12/2012 18:24, Eric Schulte a écrit :
1. make sure you're using a recent version of Org-mode, either the
     latest release or from git, see
     http://orgmode.org/worg/org-faq.html#Keeping-current

2. start Emacs with the -Q flag (to ensure there is no problem caused by
     the rest of your config)

3. evaluate the Babel config

       (require 'org)
       (org-babel-do-load-languages
             'org-babel-load-languages
             '((perl . t)))

4. if you still have problems, then write back with your version of
     Emacs, and your version of org-mode (reported with M-x org-version)

Hope this helps,
[...]
Hello,
Debugger entered--Lisp error: (void-function org-babel-do-load-languages)
   (org-babel-do-load-languages (quote org-babel-load-languages) (quote
(...)))
   eval((org-babel-do-load-languages (quote org-babel-load-languages)
(quote (..$
   eval-last-sexp-1(t)
   eval-last-sexp(t)
   eval-print-last-sexp()
   call-interactively(eval-print-last-sexp nil nil)

Org-mode version 7.9.2 (7.9.2-dist @ /usr/share/emacs/site-lisp/org/)
GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.6)
  of 2012-09-21 on allspice, modified by Debian

Thanks for help.
I don't see how this is possible.  I am also using Org-mode 7.9.2,
here's my Org-mode version

   Org-mode version 7.9.2 (release_7.9.2-603-gf8a69a @ 
/home/eschulte/.emacs.d/src/org-mode/lisp/)

The `org-babel-do-load-languages' function is defined in org.el, so once
you have run (require 'org), I don't believe it is possible for this
function to remain undefined.  Could you

1. open the org.el file manually on your system,
/usr/share/emacs/site-lisp/org/org.el
2. while visiting the file, search for the string
    "org-babel-do-load-languages" to confirm that the function is defined
    in that file
(defun org-babel-do-load-languages (sym value)
at line 123

3. run `eval-buffer' while still visiting that file,
ok
4. and then finally run

        (org-babel-do-load-languages
              'org-babel-load-languages
              '((perl . t)))
(org-babel-do-load-languages
             'org-babel-load-languages
             '((perl . t)))
((perl . t))
it is ok


If the above does not work, please let me know at which stage it fails.
If it does work, then I suspect the problem is related to something
peculiar to your system, and is beyond my abilities to help you with.
Thanks for help.

Best,



--
flav




reply via email to

[Prev in Thread] Current Thread [Next in Thread]