From: Meir Goldenberg <mgoldenbe@gmail.com>
To: emacs-orgmode@gnu.org
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 [thread overview]
Message-ID: <CAP1Du3WWxzX77iLqP_DBeb4EVpq+0uvdR5gcEbJWTHYEpAZ_Vw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1061 bytes --]
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?
[-- Attachment #2: Type: text/html, Size: 1576 bytes --]
next reply other threads:[~2015-08-06 12:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-06 12:53 Meir Goldenberg [this message]
2015-08-10 1:40 ` Emacs sees the directory with the new org-mode version, but loads the old version Grant Rettke
2015-08-10 6:28 ` Meir Goldenberg
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=CAP1Du3WWxzX77iLqP_DBeb4EVpq+0uvdR5gcEbJWTHYEpAZ_Vw@mail.gmail.com \
--to=mgoldenbe@gmail.com \
--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).