From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shiyuan Subject: Re: babel setup Date: Mon, 9 Jun 2014 11:40:03 -0700 Message-ID: References: <874mzu9lr7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf3071cab00f1f4004fb6b8a0e Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu4UH-0008QI-3x for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 14:40:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wu4UF-0000Tt-Va for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 14:40:05 -0400 Received: from mail-ve0-x22c.google.com ([2607:f8b0:400c:c01::22c]:46002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu4UF-0000SX-Lr for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 14:40:03 -0400 Received: by mail-ve0-f172.google.com with SMTP id jz11so2809677veb.17 for ; Mon, 09 Jun 2014 11:40:03 -0700 (PDT) In-Reply-To: <874mzu9lr7.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: "Jorge A. Alfaro-Murillo" Cc: emacs-orgmode@gnu.org --20cf3071cab00f1f4004fb6b8a0e Content-Type: text/plain; charset=UTF-8 Yes. Putting (package-initialize) immediately before the (org-babel-do-load-languages ...) solves the problem. On Mon, Jun 9, 2014 at 7:54 AM, Jorge A. Alfaro-Murillo < jorge.a.alfaro@gmail.com> wrote: > Shiyuan writes: > > > Hi all, > > I am using Emacs 24.3.9 + org-mode 8.2.6(from ELPA) > > I followed this instruction > > http://orgmode.org/worg/org-contrib/babel/languages.html#configure > > > > and added the following to my .emacs file. > > > > (org-babel-do-load-languages > > 'org-babel-load-languages > > '((python . t) > > (emacs-lisp . t))) > > > > After that, org-mode mysteriously switched back to the old version > > 7.9. Another problem is that export command C-c C-e no longer works > > and generates error: Symbol's function definition is void: > > org-defvaralias. Is there any step I missed? Thanks. > > > > Shiyuan > > Hi Shiyuan, > > Have you tried to put (package-initialize) early (say first line) in > your .emacs? > > Best, > > Jorge. > > > --20cf3071cab00f1f4004fb6b8a0e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yes. Putting (package-initialize) immediately before = the (org-babel-= do-load-languages ...) solves the problem.=C2=A0



On Mon, Jun 9, 2014 at 7:54 AM, Jorge A. Alfaro-Murillo <jorg= e.a.alfaro@gmail.com> wrote:
Shiy= uan <gshy2014@gmail.com> wr= ites:

> Hi all,
> I am using Emacs 24.3.9 + org-mode 8.2.6(from ELPA)
> I followed this instruction
> http://orgmode.org/worg/org-contrib/babel/langua= ges.html#configure
>
> and added the following to my .emacs file.
>
> (org-babel-do-load-languages
> 'org-babel-load-languages
> '((python . t)
> (emacs-lisp . t)))
>
> After that, org-mode mysteriously switched back to the old version
> 7.9. Another problem is that export command C-c C-e no longer works > and generates error: Symbol's function definition is void:
> org-defvaralias. Is there any step I missed? Thanks.
>
> Shiyuan

Hi Shiyuan,

Have you tried to put (package-initialize) early (say first line) in
your .emacs?

Best,

Jorge.



--20cf3071cab00f1f4004fb6b8a0e--