From: Sharon Kimble <boudiccas@skimble.plus.com>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: how to stop using org-mode from /usr/local/share/emacs/24.3.92/lisp/org/
Date: Thu, 31 Jul 2014 05:45:52 +0100 [thread overview]
Message-ID: <87egx2nnbd.fsf@skimble.plus.com> (raw)
In-Reply-To: 87zjfq8ago.fsf@gmail.com
[-- Attachment #1: Type: text/plain, Size: 2285 bytes --]
Nick Dokos <ndokos@gmail.com> writes:
> Sharon Kimble <boudiccas@skimble.plus.com> writes:
>
>> I've now got the maintenance branch, thanks for the pointers folks.
>>
>> This is what I've done -
>>
>> cd ~/git/org-mode-master
>> git checkout maint
>> git pull
>> make autoloads
>> make
>> make doc
>> sudo make install
>
> That will install org in a place like
> /usr/local/share/emacs/site-lisp/org (the exact location depends on
> makefile settings - check your local.mk for lispdir or do it again
> and see where the finall install command installs everything.
>
>
>> cd ~
>>
>> I know from watching it when its building that I have version
>> 8.2.7c. But when I've reloaded org using the menu items = org ->
>> refresh/reload -> reload org after update, and then do M-x org-version
>> it shows
>> ╭────
>> │Org-mode version 8.2.6 (release_8.2.6-1 @ /usr/local/share/emacs/24.3.92/lisp/org/)
>> ╰────
>> I have this line in my 'init.el'
>> --8<---------------cut here---------------start------------->8---
>> (setq load-path (cons "/home/boudiccas/git/org-mode-master" load-path))
>> --8<---------------cut here---------------end--------------->8---
>>
>> So how do I get it to only use the one from my init.el please? I've
>> never run into this problem before, and although I do remember hearing
>> about it, I can't recall the solution and there is no mention of it in
>> my "emacsinstructions.org" which is my repository for how to do various
>> things.
>>
>
> Add the install directory to your load-path instead:
>
> (add-to-list 'load-path "/usr/local/share/emacs/site-lisp/org")
>
> or whatever the correct value is in your case.
Thanks for this Nick. I solved my problem by re-git-cloning the org-mode
repo, but this time I called it "org-mode" instead of the previous
"org-mode-master". And now M-x org-version shows -
╭────
│Org-mode version 8.2.7c (release_8.2.7c @ /home/boudiccas/git/org-mode/lisp/)
╰────
which is what I've been looking for all along :)
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.3.92.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
prev parent reply other threads:[~2014-07-31 4:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-30 20:35 how to stop using org-mode from /usr/local/share/emacs/24.3.92/lisp/org/ Sharon Kimble
2014-07-31 3:37 ` Nick Dokos
2014-07-31 4:45 ` Sharon Kimble [this message]
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=87egx2nnbd.fsf@skimble.plus.com \
--to=boudiccas@skimble.plus.com \
--cc=emacs-orgmode@gnu.org \
--cc=ndokos@gmail.com \
/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).