From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shiyuan Subject: babel setup Date: Sun, 8 Jun 2014 22:18:06 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e013a1b1c1617cc04fb6056ab Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtryE-0006TX-Dg for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 01:18:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtryB-00068s-GE for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 01:18:10 -0400 Received: from mail-vc0-x231.google.com ([2607:f8b0:400c:c03::231]:58635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtryB-00068d-Bj for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 01:18:07 -0400 Received: by mail-vc0-f177.google.com with SMTP id ij19so269967vcb.36 for ; Sun, 08 Jun 2014 22:18:06 -0700 (PDT) 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: emacs-orgmode@gnu.org --089e013a1b1c1617cc04fb6056ab Content-Type: text/plain; charset=UTF-8 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 --089e013a1b1c1617cc04fb6056ab Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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/babe= l/languages.html#configure

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

--089e013a1b1c1617cc04fb6056ab-- 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-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Omid Subject: Re: babel setup Date: Mon, 09 Jun 2014 09:48:27 -0400 Message-ID: <5395BB2B.7080104@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtzwT-0002Y4-DX for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 09:48:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtzwJ-00050d-Hj for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 09:48:53 -0400 Received: from mail-ie0-x229.google.com ([2607:f8b0:4001:c03::229]:50074) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wtzw7-0004z7-L3 for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 09:48:43 -0400 Received: by mail-ie0-f169.google.com with SMTP id at1so2200096iec.28 for ; Mon, 09 Jun 2014 06:48:30 -0700 (PDT) Received: from [192.168.1.100] (dhcpd2d254.math.fsu.edu. [128.186.2.254]) by mx.google.com with ESMTPSA id n9sm38082163ige.17.2014.06.09.06.48.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 09 Jun 2014 06:48:29 -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: emacs-orgmode@gnu.org What else do you have in your .emacs related to Org? (BTW, it would be much better if you could write a more detailed subject line than "babel setup" like "Using org-babel-do-load-languages causes Org mode to switch to older version" so that the right people on the list can more easily prioritize answering to your email based on how urgent it is.) On 06/09/2014 01: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 > > > -- Omid Sent from my Emacs GPG: 0x371DC12B (see https://u.fsf.org/yw) From mboxrd@z Thu Jan 1 00:00:00 1970 From: jorge.a.alfaro@gmail.com (Jorge A. Alfaro-Murillo) Subject: Re: babel setup Date: Mon, 09 Jun 2014 10:54:20 -0400 Message-ID: <874mzu9lr7.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu0y0-0004Ca-Ox for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 10:54:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wu0xu-0004SS-IR for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 10:54:32 -0400 Received: from plane.gmane.org ([80.91.229.3]:60677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu0xu-0004SO-C3 for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 10:54:26 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wu0xt-0002HO-6N for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 16:54:25 +0200 Received: from nat-130-132-173-153.central.yale.edu ([130.132.173.153]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jun 2014 16:54:25 +0200 Received: from jorge.a.alfaro by nat-130-132-173-153.central.yale.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jun 2014 16:54:25 +0200 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: emacs-orgmode@gnu.org 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. From mboxrd@z Thu Jan 1 00:00:00 1970 From: psycho_punch Subject: Re: babel setup Date: Mon, 9 Jun 2014 23:03:20 +0800 Message-ID: References: <874mzu9lr7.fsf@gmail.com> Reply-To: psychopunch.me@gmail.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0129478403e80204fb688332 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu16Y-0005S5-6D for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 11:03:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wu16X-0007ty-0k for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 11:03:22 -0400 Received: from mail-ig0-x234.google.com ([2607:f8b0:4001:c05::234]:38137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu16W-0007tZ-LS for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 11:03:20 -0400 Received: by mail-ig0-f180.google.com with SMTP id h18so438348igc.7 for ; Mon, 09 Jun 2014 08:03:20 -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: emacs-orgmode@gnu.org --089e0129478403e80204fb688332 Content-Type: text/plain; charset=UTF-8 Yes, I had the same problem earlier (see the thread on required 'ox-publish). Here's what I did: First, I noticed that the packages get loaded only after initialization, so I put my org-related initialization script in the after-init-hook. Then after other people here told me about (package-initialize), I just placed it somewhere in the beginning of my emacs initialization script, and it worked as well. I also removed a similar script for setting up babel since I noticed my installation works without it anyway. I think those languages are supported by default. On Mon, Jun 9, 2014 at 10:54 PM, 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. > > > --089e0129478403e80204fb688332 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yes, I had the same problem earlier (see the thread on req= uired 'ox-publish). Here's what I did:

First, I noticed that= the packages get loaded only after initialization, so I put my org-related= initialization script in the after-init-hook. Then after other people here= told me about (package-initialize), I just placed it somewhere in the begi= nning of my emacs initialization script, and it worked as well.

I also removed a similar script for setting up babel since I noticed my= installation works without it anyway. I think those languages are supporte= d by default.



On Mon, Jun 9, 2014 at 10:54 PM, Jorge A. Alfaro-Murillo = <jorge.a.a= lfaro@gmail.com> wrote:
Shiyuan <gshy2014@= gmail.com> 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/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.



--089e0129478403e80204fb688332-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shiyuan Subject: Re: babel setup Date: Mon, 9 Jun 2014 11:39:47 -0700 Message-ID: References: <5395BB2B.7080104@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1134b2661ceaa504fb6b898d Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu4U1-00089L-5K for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 14:39:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wu4Tz-0000P3-T2 for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 14:39:49 -0400 Received: from mail-ve0-x22a.google.com ([2607:f8b0:400c:c01::22a]:58195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu4Tz-0000Oy-O9 for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 14:39:47 -0400 Received: by mail-ve0-f170.google.com with SMTP id oz11so2319521veb.1 for ; Mon, 09 Jun 2014 11:39:47 -0700 (PDT) In-Reply-To: <5395BB2B.7080104@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: Omid Cc: emacs-orgmode@gnu.org --001a1134b2661ceaa504fb6b898d Content-Type: text/plain; charset=UTF-8 No, I don't have anything else in my .emacs. Thanks for the suggestion for subject line. Next time, I will write more meaningful(and longer) subject line. On Mon, Jun 9, 2014 at 6:48 AM, Omid wrote: > What else do you have in your .emacs related to Org? > > (BTW, it would be much better if you could write a more detailed > subject line than "babel setup" like "Using > org-babel-do-load-languages causes Org mode to switch to older > version" so that the right people on the list can more easily > prioritize answering to your email based on how urgent it is.) > > On 06/09/2014 01: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 > > > > > > > > -- > Omid > > Sent from my Emacs > GPG: 0x371DC12B (see https://u.fsf.org/yw) > > --001a1134b2661ceaa504fb6b898d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
No, I don't have anything else in my .emacs.=C2=A0
Thanks for the suggestion for subject line. Next time, I will wri= te more meaningful(and longer) subject line.=C2=A0




On Mon, Jun 9, 2014 at 6:48 AM, Omid <omidlink@gmail.com= > wrote:
What else do you have in your .emacs related= to Org?

(BTW, it would be much better if you could write a more detailed
subject line than "babel setup" like "Using
org-babel-do-load-languages causes Org mode to switch to older
version" so that the right people on the list can more easily
prioritize answering to your email based on how urgent it is.)

On 06/09/2014 01:18 AM, Shiyuan wrote:
> Hi all,
> =C2=A0 =C2=A0 =C2=A0 I am using Emacs 24.3.9 + org-mode 8.2.6(from ELP= A)
> =C2=A0 =C2=A0 =C2=A0 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
> =C2=A0 'org-babel-load-languages
> =C2=A0 '((python . t)
> =C2=A0 =C2=A0 (emacs-lisp . t)))
>
> After that, org-mode mysteriously switched back to the old version 7.9= .
> =C2=A0Another problem is that export command C-c C-e no longer works a= nd
> generates error: Symbol's function definition is void: org-defvara= lias.
> Is there any step I missed? Thanks.
>
> Shiyuan
>
>
>

--
Omid

Sent from my Emacs
GPG: 0x371DC12B (see htt= ps://u.fsf.org/yw)


--001a1134b2661ceaa504fb6b898d-- 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-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shiyuan Subject: Re: babel setup Date: Mon, 9 Jun 2014 11:44:31 -0700 Message-ID: References: <874mzu9lr7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec501629b08cd3404fb6b9a39 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu4Yb-0001Bq-74 for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 14:44:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wu4YZ-0002yM-Ui for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 14:44:33 -0400 Received: from mail-vc0-x22a.google.com ([2607:f8b0:400c:c03::22a]:59642) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu4YZ-0002y2-O8 for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 14:44:31 -0400 Received: by mail-vc0-f170.google.com with SMTP id hy10so2409284vcb.15 for ; Mon, 09 Jun 2014 11:44:31 -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: psychopunch.me@gmail.com Cc: emacs-orgmode@gnu.org --bcaec501629b08cd3404fb6b9a39 Content-Type: text/plain; charset=UTF-8 For me, without the setup step, python/latex doesn't work by default. `C-c C-c` gives me the error : org-babel-execute-src-block: No org-babel-execute function for latex! But with the setup step, `C-c C-c` works now. On Mon, Jun 9, 2014 at 8:03 AM, psycho_punch wrote: > Yes, I had the same problem earlier (see the thread on required > 'ox-publish). Here's what I did: > > First, I noticed that the packages get loaded only after initialization, > so I put my org-related initialization script in the after-init-hook. Then > after other people here told me about (package-initialize), I just placed > it somewhere in the beginning of my emacs initialization script, and it > worked as well. > > I also removed a similar script for setting up babel since I noticed my > installation works without it anyway. I think those languages are supported > by default. > > > > On Mon, Jun 9, 2014 at 10:54 PM, 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. >> >> >> > --bcaec501629b08cd3404fb6b9a39 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
For me, without the setup step, python/latex doesn't w= ork by default. `C-c C-c` =C2=A0gives me the error :=C2=A0
org-babel-ex= ecute-src-block: No org-babel-execute function for latex!
But with the setup step, `C-c C-c` works now.=C2=A0


On Mon, Jun 9, 2014 at = 8:03 AM, psycho_punch <psychopunchme@gmail.com> wrote:=
Yes, I had the same problem= earlier (see the thread on required 'ox-publish). Here's what I di= d:

First, I noticed that the packages get loaded only after initialization= , so I put my org-related initialization script in the after-init-hook. The= n after other people here told me about (package-initialize), I just placed= it somewhere in the beginning of my emacs initialization script, and it wo= rked as well.

I also removed a similar script for setting up babel since I noticed my= installation works without it anyway. I think those languages are supporte= d by default.



On Mon, Jun 9, 2014 at 10:54 PM, Jorge A. Alfaro-Murillo = <jorge.a.a= lfaro@gmail.com> wrote:
Shiyuan <gs= hy2014@gmail.com> 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/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.




--bcaec501629b08cd3404fb6b9a39--