**Update: 11/Aug**: I forgot to mention that I'm using literate programming to build the `init.el` from an `org` file. It seems that the problem appears when emacs opens the `configure.org` to generate the `.el` file.

I noticed that if I write the configuration to a `.emacs` (as I wrote below) the right version is loaded.

**The right question**

How to load the latest version of `org-mode` using `org` literate programming to generate the `config.el` file?

----

I'd like to use the latest version of `org-mode` from the git repository.

## My setup

*Emacs version:* GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on trouble, modified by Debian

## About org-mode

<!-- language-all: lang-el -->

- I clone the repository, say in `~/.emacs.d/org-mode`
- Compile the autoload using `make autoload`
- Initial part of my `.emacs` is 

        (package-initialize)

        (require 'package)
        (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)

        (add-to-list 'load-path "~/.emacs.d/org-mode/lisp/")
        (add-to-list 'load-path "~/.emacs.d/org-mode/contrib/lisp/" t)

        (unless (package-installed-p 'use-package)
          (package-install 'use-package))

        (setq use-package-verbose t)
        (setq use-package-always-ensure t)

        (require 'use-package)

        (use-package auto-compile
          :config (auto-compile-on-load-mode))

        (setq load-prefer-newer t)

## Result

I call `M-x org-version` and get

> Org-mode version 8.2.10 (release_8.2.10 @ /home/.../.emacs.d/org-mode/lisp/)

This is no the latest release! 

If I call `M-x org-reload` it load the newest 

> Org-mode version 8.3.5 (release_8.3.5 @ /home/.../.emacs.d/org-mode/lisp/)

But it is not loaded automatically.

**Question**

What am I doing wrong??

P.D.: I accept suggestions about simplifying the configuration.