emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: flav <flav.justflav@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: babel perl issue
Date: Tue, 11 Dec 2012 06:45:58 -0700	[thread overview]
Message-ID: <87obi0puqx.fsf@gmail.com> (raw)
In-Reply-To: <50C6F755.6010804@gmail.com> (flav's message of "Tue, 11 Dec 2012 10:05:25 +0100")

flav <flav.justflav@gmail.com> 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,
2. while visiting the file, search for the string
   "org-babel-do-load-languages" to confirm that the function is defined
   in that file
3. run `eval-buffer' while still visiting that file,
4. and then finally run

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

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.

Best,

-- 
Eric Schulte
http://cs.unm.edu/~eschulte

  reply	other threads:[~2012-12-11 13:46 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-09 10:54 babel perl issue flav
2012-12-09 11:15 ` Achim Gratz
2012-12-09 15:22   ` Eric Schulte
2012-12-09 20:34     ` Achim Gratz
2012-12-10 15:11       ` Eric Schulte
2012-12-10 15:22         ` flav
2012-12-10 15:32           ` Eric Schulte
2012-12-10 15:43             ` flav
2012-12-10 17:24               ` Eric Schulte
2012-12-11  9:05                 ` flav
2012-12-11 13:45                   ` Eric Schulte [this message]
2012-12-11 15:50                     ` flav
2012-12-11 18:04                     ` Achim Gratz
2012-12-12  6:15                     ` flav
2012-12-10 17:51               ` Achim Gratz
2012-12-10 17:44         ` Achim Gratz
2012-12-10 18:13           ` Eric Schulte
2012-12-10 18:36             ` Achim Gratz
2012-12-11 14:33               ` Eric Schulte
2012-12-11 18:31                 ` Achim Gratz
2012-12-12  0:22                   ` Eric Schulte
2012-12-12 13:34                     ` Achim Gratz
2012-12-11 18:39                 ` Bastien
2012-12-12  0:25                   ` Eric Schulte
2012-12-12 15:57                     ` Bastien
2012-12-12 16:11                       ` Eric Schulte
2012-12-12 16:23                         ` Bastien
2012-12-12 16:33                           ` Eric Schulte
2012-12-12 16:59                             ` Bastien
2012-12-12 17:09                               ` Eric Schulte
2012-12-12 17:13                               ` Achim Gratz
2012-12-12 17:24                                 ` Bastien
2012-12-12 17:47                                   ` Eric Schulte
2012-12-12 18:07                                     ` Bastien
2012-12-12 18:28                                       ` Eric Schulte
2012-12-13 23:27                                         ` Bastien
2012-12-13 23:37                                           ` Bastien
2012-12-14  0:37                                           ` Eric Schulte
2012-12-14  9:55                                             ` Bastien
2012-12-14 15:57                                               ` Eric Schulte
2012-12-14 17:44                                                 ` Bastien
2012-12-14 18:13                                                   ` Eric Schulte
2012-12-14 19:11                                                     ` Bastien
2012-12-12 18:00                                   ` Achim Gratz
2012-12-12 15:59       ` Bastien
2012-12-12 16:54         ` Achim Gratz
     [not found]   ` <CAOnk0vRL8PWS3JfuCAqcRcNa3FkM7tG3eH5w8cBdwtNrx757Xw@mail.gmail.com>
     [not found]     ` <1497100.pF6dAE0Itl@rainer>
2012-12-10  5:32       ` flav
2012-12-10 10:33         ` flav
2012-12-10 15:13           ` Eric Schulte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87obi0puqx.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=flav.justflav@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).