emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Shiyuan <gshy2014@gmail.com>
To: "Jorge A. Alfaro-Murillo" <jorge.a.alfaro@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: babel setup
Date: Mon, 9 Jun 2014 11:40:03 -0700	[thread overview]
Message-ID: <CAOm4EMvreBCTZBrH6_h2FPwvcgg3wC-TpFTOGM+o9hivV5fw5g@mail.gmail.com> (raw)
In-Reply-To: <874mzu9lr7.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 992 bytes --]

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 <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/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.
>
>
>

[-- Attachment #2: Type: text/html, Size: 1815 bytes --]

      parent reply	other threads:[~2014-06-09 18:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-09  5:18 babel setup Shiyuan
2014-06-09 10:00 ` Jacob Gerlach
2014-06-09 13:48 ` Omid
2014-06-09 18:39   ` Shiyuan
2014-06-09 14:54 ` Jorge A. Alfaro-Murillo
2014-06-09 15:03   ` psycho_punch
2014-06-09 18:44     ` Shiyuan
2014-06-09 18:40   ` Shiyuan [this message]

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=CAOm4EMvreBCTZBrH6_h2FPwvcgg3wC-TpFTOGM+o9hivV5fw5g@mail.gmail.com \
    --to=gshy2014@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jorge.a.alfaro@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).