emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* how to stop using org-mode from /usr/local/share/emacs/24.3.92/lisp/org/
@ 2014-07-30 20:35 Sharon Kimble
  2014-07-31  3:37 ` Nick Dokos
  0 siblings, 1 reply; 3+ messages in thread
From: Sharon Kimble @ 2014-07-30 20:35 UTC (permalink / raw)
  To: org-mode

[-- Attachment #1: Type: text/plain, Size: 1426 bytes --]

I've now got the maintenance branch, thanks for the pointers folks.

This is what I've done -
--8<---------------cut here---------------start------------->8---
cd ~/git/org-mode-master
git checkout maint
git pull
make autoloads
make
make doc
sudo make install
cd ~
--8<---------------cut here---------------end--------------->8---

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.

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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to stop using org-mode from /usr/local/share/emacs/24.3.92/lisp/org/
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Dokos @ 2014-07-31  3:37 UTC (permalink / raw)
  To: emacs-orgmode

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.

-- 
Nick

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to stop using org-mode from /usr/local/share/emacs/24.3.92/lisp/org/
  2014-07-31  3:37 ` Nick Dokos
@ 2014-07-31  4:45   ` Sharon Kimble
  0 siblings, 0 replies; 3+ messages in thread
From: Sharon Kimble @ 2014-07-31  4:45 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-31  4:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).