From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stelian Iancu Subject: Fwd: Babel related bug in elpa version 20121231 Date: Sat, 5 Jan 2013 21:55:59 +0100 Message-ID: References: <1342018996.75825.YahooMailNeo@web29804.mail.ird.yahoo.com> <8738ygbpvg.fsf@Rainer.invalid> <87mwworttu.fsf@Rainer.invalid> <87wqvrc2hu.fsf@bzg.ath.cx> <87bod3r2lo.fsf@Rainer.invalid> <87k3rrh38w.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b162e7db8b19504d290d2a8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tramh-00038s-Qe for emacs-orgmode@gnu.org; Sat, 05 Jan 2013 15:56:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tramf-000772-3k for emacs-orgmode@gnu.org; Sat, 05 Jan 2013 15:56:03 -0500 Received: from mail-da0-f46.google.com ([209.85.210.46]:47010) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Trame-00076u-QQ for emacs-orgmode@gnu.org; Sat, 05 Jan 2013 15:56:01 -0500 Received: by mail-da0-f46.google.com with SMTP id p5so8041309dak.33 for ; Sat, 05 Jan 2013 12:55:59 -0800 (PST) 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 --047d7b162e7db8b19504d290d2a8 Content-Type: text/plain; charset=ISO-8859-1 On Sat, Jan 5, 2013 at 7:51 PM, Eric Schulte 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. --047d7b162e7db8b19504d290d2a8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

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

=A0 =A0 ;; emacs-lisp
=A0 =A0 (package-initialize)
=A0 =A0 (require 'org)
=A0 =A0 (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. =A0If so I will add this to the starter kit.

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

;; remove path to or= g shipped with emacs
(require 'cl)
(setq load-path (remove-if (lambda (x) (st= ring-match-p "org$" x)) load-path))

;; r= emember this directory
(setq starter-kit-dir
=A0 =A0 =A0 (file-name-directory (or load-file-name (buffer-file-name)= )))
=A0 =A0 =A0=A0
;; add the orgmode.org ELPA package
(require 'p= ackage)
(add-to-list 'package-archives '("org" = . "http://orgmo= de.org/elpa/") t)

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

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

;; load up th= e starter kit
(org-babel-load-file (expand-file-name "main.org" starter-kit-dir))
<= br>
This solved the problem for me. I didn't come up with thi= s though (I'm a newb when it comes to Emacs and elisp) but I've cop= ied it from somebody.

HTH,
S.=A0

--047d7b162e7db8b19504d290d2a8--