From mboxrd@z Thu Jan 1 00:00:00 1970 From: Meir Goldenberg Subject: Emacs sees the directory with the new org-mode version, but loads the old version Date: Thu, 6 Aug 2015 15:53:00 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113d57d8cb528e051ca3ff37 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNKfO-0007WZ-8P for emacs-orgmode@gnu.org; Thu, 06 Aug 2015 08:53:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNKfN-0005gQ-1O for emacs-orgmode@gnu.org; Thu, 06 Aug 2015 08:53:02 -0400 Received: from mail-oi0-x22e.google.com ([2607:f8b0:4003:c06::22e]:32797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNKfM-0005gI-ST for emacs-orgmode@gnu.org; Thu, 06 Aug 2015 08:53:00 -0400 Received: by oio137 with SMTP id 137so35489375oio.0 for ; Thu, 06 Aug 2015 05:53:00 -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 --001a113d57d8cb528e051ca3ff37 Content-Type: text/plain; charset=UTF-8 The version of org-mode that came with my version of Emacs (24.5.2) is 8.2.10. I have installed version 8.3.1 from ELPA and added this to my init file: (add-to-list 'load-path "~/.emacs.d/org-20150803") (require 'org) When I check the version of org in Emacs, it says: Org-mode version 8.2.10 (release_8.2.10 @ /home/meir/.emacs.d/elpa/org-20150803/) That is, it reports the old version and the new directory... (the built-in version is located in /usr/local/share/emacs/24.5/lisp/org) Here is the relevant portion of my init file (there is nothing before this portion): (require 'cl) ;; Org-mode that was shipped with Emacs (setq load-path (remove-if (lambda (x) (string-match-p "org$" x)) load-path)) ;; ELPA (setq load-path (remove-if (lambda (x) (string-match-p "org-20" x)) load-path)) (add-to-list 'load-path "~/.emacs.d/org-20150803") (require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t) (package-initialize) (require 'org) How do I get Emacs to load the new version of org-mode? --001a113d57d8cb528e051ca3ff37 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The version of org-mode that came with my version of = Emacs (24.5.2) is 8.2.10. I have installed version 8.3.1 from ELPA and adde= d this to my init file:

(add-to-list 'load-pat= h "~/.emacs.d/org-20150803")
(require 'org)

When I check the version of org in Emacs, it says:
<= div>
Org-mode version 8.2.10 (release_8.2.10 @ /home/meir/.em= acs.d/elpa/org-20150803/)

That is, it reports the = old version and the new directory... (the built-in version is located in /u= sr/local/share/emacs/24.5/lisp/org)

Here is the re= levant portion of my init file (there is nothing before this portion):

(require 'cl)

;; Org-mode= that was shipped with Emacs
(setq load-path (remove-if (lambda (= x) (string-match-p "org$" x)) load-path))
;; ELPA
=
(setq load-path (remove-if (lambda (x) (string-match-p "org-20&qu= ot; x)) load-path))

(add-to-list 'load-path &q= uot;~/.emacs.d/org-20150803")

(require 'p= ackage)
(add-to-list 'package-archives
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0'("melpa" . "http://melpa.milkbox.net/packages= /") t)
(package-initialize)

(re= quire 'org)

How do I get Emacs to load the new= version of org-mode?
--001a113d57d8cb528e051ca3ff37--