From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacob Gerlach Subject: Re: babel setup Date: Mon, 9 Jun 2014 06:00:02 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113abec85ddcd404fb6446bf Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtwN2-0006jr-Sp for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 06:00:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtwN1-0006Wi-Nj for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 06:00:04 -0400 Received: from mail-qa0-x234.google.com ([2607:f8b0:400d:c00::234]:50434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtwN1-0006TZ-JD for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 06:00:03 -0400 Received: by mail-qa0-f52.google.com with SMTP id w8so680038qac.25 for ; Mon, 09 Jun 2014 03:00:02 -0700 (PDT) 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: Shiyuan Cc: emacs-orgmode@gnu.org --001a113abec85ddcd404fb6446bf Content-Type: text/plain; charset=UTF-8 I think this has to do with autoload, but I am not an emacs or org expert. Try making sure that (package-initialize) comes before any org functions in your .emacs (from the answer here ). HTH, Jake On Mon, Jun 9, 2014 at 1:18 AM, Shiyuan wrote: > 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 > > > > --001a113abec85ddcd404fb6446bf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I think this has to do with autoload, but I am not an emac= s or org expert.

Try making sure that (package-initializ= e) comes before any org functions in your .emacs (from the answer here).

HTH,
Jake


On Mon, Jun 9, 2014 at 1:18 AM, Shiyu= an <gshy2014@gmail.com> wrote:
Hi all,=C2=A0
=C2=A0 = =C2=A0 =C2=A0 I am using Emacs 24.3.9 + org-mode 8.2.6(from ELPA)=C2=A0
=
=C2=A0 =C2=A0 =C2=A0 I followed this instruction=C2=A0http://orgmode.org/worg/org-contrib/babel/languages.html#config= ure

and added the following to my .emacs file.=C2=A0
<= div>
(org-babel-do-load-languages
=C2=A0 '= org-babel-load-languages
=C2=A0 '((python . t)
=C2= =A0 =C2=A0 (emacs-lisp . t)))

After that, org-mode mysteriously switched back t= o the old version 7.9. =C2=A0Another problem is that export command C-c C-e= no longer works and generates error: Symbol's function definition is v= oid: org-defvaralias. Is there any step I missed? Thanks.=C2=A0

Shiyuan=C2=A0

=C2=A0 =C2=A0


--001a113abec85ddcd404fb6446bf--