* Choosing local org package instead of sitewide
@ 2009-07-08 18:57 Kyle Sexton
2009-07-08 19:29 ` Sebastian Rose
2009-07-08 19:31 ` Sebastian Rose
0 siblings, 2 replies; 3+ messages in thread
From: Kyle Sexton @ 2009-07-08 18:57 UTC (permalink / raw)
To: org-mode mailing list
[-- Attachment #1.1: Type: text/plain, Size: 359 bytes --]
I would like to run a local copy of org pulled from the latest git instead
of the sitewide version installed with emacs. How can I specify that emacs
should use the copy in my ~/elisp/org directory instead of the sitewide
version?
Probably a simple question, but deleting the sitewide org directory doesn't
seem like the right solution. :P
--
Kyle Sexton
[-- Attachment #1.2: Type: text/html, Size: 442 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Choosing local org package instead of sitewide
2009-07-08 18:57 Choosing local org package instead of sitewide Kyle Sexton
@ 2009-07-08 19:29 ` Sebastian Rose
2009-07-08 19:31 ` Sebastian Rose
1 sibling, 0 replies; 3+ messages in thread
From: Sebastian Rose @ 2009-07-08 19:29 UTC (permalink / raw)
To: Kyle Sexton; +Cc: org-mode mailing list
Kyle Sexton <ks@mocker.org> writes:
> I would like to run a local copy of org pulled from the latest git instead
> of the sitewide version installed with emacs. How can I specify that emacs
> should use the copy in my ~/elisp/org directory instead of the sitewide
> version?
>
> Probably a simple question, but deleting the sitewide org directory doesn't
> seem like the right solution. :P
Hm - depends on how you install emacs. I follow the CVS emacs as well
and remove the /usr/local/share/emacs/23.X.Y/lisp/org/ directory after
each re-install.
But:
http://www.emacswiki.org/emacs/LoadPath states:
The variable load-path lists all the directories where Emacs should
look for elisp files. They are searched in order. The first file
found is used, therefore the order of the directories might be
relevant.
This should use the GIT version (assumed it's in ~/.emacs.d/lisp/org):
(add-to-list 'load-path "~/.emacs.d/lisp/org/")
Sebastian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Choosing local org package instead of sitewide
2009-07-08 18:57 Choosing local org package instead of sitewide Kyle Sexton
2009-07-08 19:29 ` Sebastian Rose
@ 2009-07-08 19:31 ` Sebastian Rose
1 sibling, 0 replies; 3+ messages in thread
From: Sebastian Rose @ 2009-07-08 19:31 UTC (permalink / raw)
To: Kyle Sexton; +Cc: org-mode mailing list
Kyle Sexton <ks@mocker.org> writes:
> I would like to run a local copy of org pulled from the latest git instead
> of the sitewide version installed with emacs. How can I specify that emacs
> should use the copy in my ~/elisp/org directory instead of the sitewide
> version?
>
> Probably a simple question, but deleting the sitewide org directory doesn't
> seem like the right solution. :P
Important:
http://www.emacswiki.org/emacs/LoadPath also says this here:
Preference is given to compiled files when both a compiled file and
a source file are found. Therefore, make sure to recompile files
after making changes to them – or don’t compile the files at all.
Sebastian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-07-08 19:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-08 18:57 Choosing local org package instead of sitewide Kyle Sexton
2009-07-08 19:29 ` Sebastian Rose
2009-07-08 19:31 ` Sebastian Rose
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.