emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stelian Iancu <lists@siancu.net>
To: emacs-orgmode@gnu.org
Subject: Fwd:  Babel related bug in elpa version 20121231
Date: Sat, 5 Jan 2013 21:55:59 +0100	[thread overview]
Message-ID: <CAGoVJLEw7iP-V84uY-6y5U_dDhO1q9G3n-NFS-_CAWyghKm-Zw@mail.gmail.com> (raw)
In-Reply-To: <CAGoVJLFRky2wOZUkyAVTp3E9eXnsYoetAckWKJs1MKyqQHUCFA@mail.gmail.com>

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

On Sat, Jan 5, 2013 at 7:51 PM, Eric Schulte <schulte.eric@gmail.com> wrote:
>
>
> That sounds like it should work, although I would go with the more
> complete but possibly overkill
>
>     ;; emacs-lisp
>     (package-initialize)
>     (require 'org)
>     (org-reload)
>
> Let me know if either of the above is sufficient to solve your problem
> and ensure that only the latest ELPA version of Org-mode is used through
> the entire startup process.  If so I will add this to the starter kit.


What I did to get around this problem is the following (in init.el):

;; remove path to org shipped with emacs
(require 'cl)
(setq load-path (remove-if (lambda (x) (string-match-p "org$" x))
load-path))

;; remember this directory
(setq starter-kit-dir
      (file-name-directory (or load-file-name (buffer-file-name))))

;; add the orgmode.org ELPA package
(require 'package)
(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t)

(package-initialize)
(unless package-archive-contents    ;; Refrech the packages descriptions
  (package-refresh-contents))
(setq package-load-list '(all))     ;; List of packages to load
(unless (package-installed-p 'org-plus-contrib)  ;; Make sure the Org
package is
  (package-install 'org-plus-contrib))           ;; installed, install it
if not
(package-initialize)                ;; Initialize & Install Package

(add-to-list 'load-path (car (file-expand-wildcards (concat starter-kit-dir
"elpa/org-plus-contrib-*"))))
(require 'org)

;; load up the starter kit
(org-babel-load-file (expand-file-name "main.org" starter-kit-dir))

This solved the problem for me. I didn't come up with this though (I'm a
newb when it comes to Emacs and elisp) but I've copied it from somebody.

HTH,
S.

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

  parent reply	other threads:[~2013-01-05 20:56 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-11 15:03 org version under Windows 7 Giovanni Ridolfi
2012-07-11 16:46 ` Achim Gratz
2012-07-11 17:43 ` [PATCH] " Achim Gratz
2012-07-11 20:21   ` Bastien
2012-07-11 21:15     ` Achim Gratz
2012-07-12  6:31       ` Bastien
2012-07-12  8:30       ` Giovanni Ridolfi
2012-07-12 13:24         ` Achim Gratz
2012-07-24 15:23   ` Bastien
2012-07-25  7:52     ` Giovanni Ridolfi
2012-07-26 12:50       ` Bastien
2012-07-26 18:49     ` Achim Gratz
2012-07-31 16:36       ` Bastien
2013-01-02 22:22 ` Babel related bug in elpa version 20121231 Robert Horn
2013-01-04  2:16   ` Robert Horn
2013-01-04 15:23     ` Bastien
2013-01-04 21:27   ` Achim Gratz
2013-01-05  0:10     ` Robert Horn
2013-01-05  7:07       ` Achim Gratz
2013-01-05 11:07         ` Bastien
2013-01-05 11:45           ` Achim Gratz
2013-01-05 12:33             ` Bastien
2013-01-05 13:40               ` Achim Gratz
2013-01-05 14:00                 ` Bastien
2013-01-05 16:40           ` Robert Horn
2013-01-05 16:55             ` Achim Gratz
2013-01-05 18:51               ` Eric Schulte
2013-01-05 19:07                 ` Achim Gratz
2013-01-05 19:28                   ` Eric Schulte
2013-01-05 20:39                     ` Achim Gratz
2013-01-05 23:29                       ` Eric Schulte
     [not found]                 ` <CAGoVJLFRky2wOZUkyAVTp3E9eXnsYoetAckWKJs1MKyqQHUCFA@mail.gmail.com>
2013-01-05 20:55                   ` Stelian Iancu [this message]
2013-01-05 21:16                     ` Fwd: " Eric Schulte
2013-01-05 21:10                 ` Robert Horn
2013-01-05 22:14                   ` Tom Davey
2013-01-05 23:30                     ` Eric Schulte
2013-01-06 20:21                       ` Stelian Iancu

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=CAGoVJLEw7iP-V84uY-6y5U_dDhO1q9G3n-NFS-_CAWyghKm-Zw@mail.gmail.com \
    --to=lists@siancu.net \
    --cc=emacs-orgmode@gnu.org \
    /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).