From mboxrd@z Thu Jan 1 00:00:00 1970 From: flav Subject: Re: babel perl issue Date: Wed, 12 Dec 2012 07:15:26 +0100 Message-ID: References: <87a9tntr29.fsf@Rainer.invalid> <87sj7fp7om.fsf@gmail.com> <87wqwrrml2.fsf@Rainer.invalid> <87vcca9bxw.fsf@gmail.com> <87fw3dapnn.fsf@gmail.com> <874njtakh1.fsf@gmail.com> <50C6F755.6010804@gmail.com> <87obi0puqx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=14dae93404e16f570b04d0a1b913 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TifbU-0000Sw-4T for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 01:15:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TifbM-0004qD-23 for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 01:15:36 -0500 Received: from mail-ia0-f179.google.com ([209.85.210.179]:57873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TifbL-0004q3-Rf for emacs-orgmode@gnu.org; Wed, 12 Dec 2012 01:15:28 -0500 Received: by mail-ia0-f179.google.com with SMTP id o25so544906iad.24 for ; Tue, 11 Dec 2012 22:15:26 -0800 (PST) In-Reply-To: <87obi0puqx.fsf@gmail.com> 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: Eric Schulte Cc: emacs-orgmode@gnu.org --14dae93404e16f570b04d0a1b913 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ok, I have deleted some files on my system. I have mis install org (twice in 2 path, bla bla) and I seem to work better= . Thanks a lot for help And excuse me 2012/12/11 Eric Schulte > flav writes: > > > Le 10/12/2012 18:24, Eric Schulte a =E9crit : > >> 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-language= s) > > (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 > --=20 flav --14dae93404e16f570b04d0a1b913 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ok,=A0
I have deleted some files on my system.
I have mis ins= tall org (twice in 2 path, bla bla) and I seem to work better.
Th= anks a lot for help
And excuse me



2012/12/11 Eric Schulte <schulte.e= ric@gmail.com>
flav <flav.= justflav@gmail.com> writes:

> Le 10/12/2012 18:24, Eric Schulte a =E9crit :
>> 1. make sure you're using a recent version of Org-mode, either= the
>> =A0 =A0 latest release or from git, see
>> =A0 =A0 http://orgmode.org/worg/org-faq.html#Keeping-curre= nt
>>
>> 2. start Emacs with the -Q flag (to ensure there is no problem cau= sed by
>> =A0 =A0 the rest of your config)
>>
>> 3. evaluate the Babel config
>>
>> =A0 =A0 =A0 (require 'org)
>> =A0 =A0 =A0 (org-babel-do-load-languages
>> =A0 =A0 =A0 =A0 =A0 =A0 'org-babel-load-languages
>> =A0 =A0 =A0 =A0 =A0 =A0 '((perl . t)))
>>
>> 4. if you still have problems, then write back with your version o= f
>> =A0 =A0 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-languag= es)
> =A0 (org-babel-do-load-languages (quote org-babel-load-languages) (quo= te
> (...)))
> =A0 eval((org-babel-do-load-languages (quote org-babel-load-languages)=
> (quote (..$
> =A0 eval-last-sexp-1(t)
> =A0 eval-last-sexp(t)
> =A0 eval-print-last-sexp()
> =A0 call-interactively(eval-print-last-sexp nil nil)
>
> Org-mode version 7.9.2 (7.9.2-dist @ /usr/share/emacs/site-lisp/org/)<= br> > GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.6)
> =A0of 2012-09-21 on allspice, modified by Debian
>
> Thanks for help.

I don't see how this is possible. =A0I am also using Org-mode 7.9= .2,
here's my Org-mode version

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

The `org-babel-do-load-languages' function is defined in org.el, so onc= e
you have run (require 'org), I don't believe it is possible for thi= s
function to remain undefined. =A0Could you

1. open the org.el file manually on your system,
2. while visiting the file, search for the string
=A0 =A0"org-babel-do-load-languages" to confirm that the function= is defined
=A0 =A0in that file
3. run `eval-buffer' while still visiting that file,
4. and then finally run

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

If the above does not work, please let me know at which stage it fail= s.
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,



--
= flav
--14dae93404e16f570b04d0a1b913--