* Installing new org-mode version
@ 2007-03-04 23:33 weber
2007-03-04 23:48 ` Lennart Borgman (gmail)
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: weber @ 2007-03-04 23:33 UTC (permalink / raw)
To: help-gnu-emacs
Hello!
I'm not a newbie on emacs anymore, but i'm having trouble to install
org-mode :/
The problem is: there is already an org-mode version distributed with
emacs (gnu emacs 22 cvs)
I want to install the last version from the author's site. I cannot do
a "make install" easily because I am on Winxp.
I tried just putting the new files on my load-path and doing a load-
library.
Even though the right files are being loaded, when I check version
with command "org-version" I still get 4.56b. (The new version is
4.67)
Any ideas ?
TIA
weber
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Installing new org-mode version
2007-03-04 23:33 Installing new org-mode version weber
@ 2007-03-04 23:48 ` Lennart Borgman (gmail)
2007-03-05 0:05 ` Peter Dyballa
2007-03-05 1:48 ` Stefan Monnier
2 siblings, 0 replies; 10+ messages in thread
From: Lennart Borgman (gmail) @ 2007-03-04 23:48 UTC (permalink / raw)
To: weber; +Cc: help-gnu-emacs
weber wrote:
> Hello!
> I'm not a newbie on emacs anymore, but i'm having trouble to install
> org-mode :/
> The problem is: there is already an org-mode version distributed with
> emacs (gnu emacs 22 cvs)
> I want to install the last version from the author's site. I cannot do
> a "make install" easily because I am on Winxp.
> I tried just putting the new files on my load-path and doing a load-
> library.
> Even though the right files are being loaded, when I check version
> with command "org-version" I still get 4.56b. (The new version is
> 4.67)
>
> Any ideas ?
>
> TIA
> weber
Did you byte compile the files? Where the old files byte-compiled?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Installing new org-mode version
2007-03-04 23:33 Installing new org-mode version weber
2007-03-04 23:48 ` Lennart Borgman (gmail)
@ 2007-03-05 0:05 ` Peter Dyballa
2007-03-05 1:48 ` Stefan Monnier
2 siblings, 0 replies; 10+ messages in thread
From: Peter Dyballa @ 2007-03-05 0:05 UTC (permalink / raw)
To: weber; +Cc: help-gnu-emacs
Am 05.03.2007 um 00:33 schrieb weber:
> I want to install the last version from the author's site. I cannot do
> a "make install" easily because I am on Winxp.
> I tried just putting the new files on my load-path and doing a load-
> library.
On Mac OS X it works to add a new element to load-path which then
resides on top of the other elements (paths):
(add-to-list 'load-path "/Library/Application Support/Emacs/calendar")
When I load calendar the germanised version is used – except when I
load GNU Emacs from the directory where it was built. Does this give
some inspiration?
--
Greetings
Pete
"Specifications are for the weak and timid!"
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Installing new org-mode version
2007-03-04 23:33 Installing new org-mode version weber
2007-03-04 23:48 ` Lennart Borgman (gmail)
2007-03-05 0:05 ` Peter Dyballa
@ 2007-03-05 1:48 ` Stefan Monnier
2007-03-05 16:17 ` weber
2007-03-05 16:24 ` weber
2 siblings, 2 replies; 10+ messages in thread
From: Stefan Monnier @ 2007-03-05 1:48 UTC (permalink / raw)
To: help-gnu-emacs
> I'm not a newbie on emacs anymore, but i'm having trouble to install
> org-mode :/
> The problem is: there is already an org-mode version distributed with
> emacs (gnu emacs 22 cvs)
> I want to install the last version from the author's site. I cannot do
> a "make install" easily because I am on Winxp.
> I tried just putting the new files on my load-path and doing a load-
> library.
> Even though the right files are being loaded, when I check version
> with command "org-version" I still get 4.56b. (The new version is
> 4.67)
What does M-: (find-library-name "org") RET say?
What's your load-path? Where's your new org.el?
If that still doesn't explain the problem, then:
where do you modify your load-path in your .emacs?
how/when do you start org-mode?
I.e. give us a more specific step-by-step description of what you do.
Stefan
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Installing new org-mode version
2007-03-05 1:48 ` Stefan Monnier
@ 2007-03-05 16:17 ` weber
2007-03-06 17:38 ` Stefan Monnier
2007-03-05 16:24 ` weber
1 sibling, 1 reply; 10+ messages in thread
From: weber @ 2007-03-05 16:17 UTC (permalink / raw)
To: help-gnu-emacs
On 4 mar, 17:48, Stefan Monnier <monn...@iro.umontreal.ca> wrote:
> > I'm not a newbie on emacs anymore, but i'm having trouble to install
> > org-mode :/
> > The problem is: there is already an org-mode version distributed with
> > emacs (gnu emacs 22 cvs)
> > I want to install the last version from the author's site. I cannot do
> > a "make install" easily because I am on Winxp.
> > I tried just putting the new files on my load-path and doing a load-
> > library.
> > Even though the right files are being loaded, when I check version
> > with command "org-version" I still get 4.56b. (The new version is
> > 4.67)
>
> What does M-: (find-library-name "org") RET say?
> What's your load-path? Where's your new org.el?
> If that still doesn't explain the problem, then:
> where do you modify your load-path in your .emacs?
> how/when do you start org-mode?
> I.e. give us a more specific step-by-step description of what you do.
>
> Stefan
That command returns the correct location for the new version:
"~/emacs/site-lisp/org-mode/org.el"
I load org-mode in my emacs with (load-library "org").
Also tried loading org-install.
Then I check the version with org-version and get 4.56...
Thanks in advance,
weber
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Installing new org-mode version
2007-03-05 1:48 ` Stefan Monnier
2007-03-05 16:17 ` weber
@ 2007-03-05 16:24 ` weber
2007-03-06 12:12 ` carsten.dominik
1 sibling, 1 reply; 10+ messages in thread
From: weber @ 2007-03-05 16:24 UTC (permalink / raw)
To: help-gnu-emacs
On 4 mar, 17:48, Stefan Monnier <monn...@iro.umontreal.ca> wrote:
> > I'm not a newbie on emacs anymore, but i'm having trouble to install
> > org-mode :/
> > The problem is: there is already an org-mode version distributed with
> > emacs (gnu emacs 22 cvs)
> > I want to install the last version from the author's site. I cannot do
> > a "make install" easily because I am on Winxp.
> > I tried just putting the new files on my load-path and doing a load-
> > library.
> > Even though the right files are being loaded, when I check version
> > with command "org-version" I still get 4.56b. (The new version is
> > 4.67)
>
> What does M-: (find-library-name "org") RET say?
> What's your load-path? Where's your new org.el?
> If that still doesn't explain the problem, then:
> where do you modify your load-path in your .emacs?
> how/when do you start org-mode?
> I.e. give us a more specific step-by-step description of what you do.
>
> Stefan
I wonder if only the org-version variable isn't right.
I tried to run this code on scratch buffer, and even after that I
still get 4.56.
(defvar org-version "4.67"
"The version number of the file org.el.")
Is this working like it should ?
Thanks
weber
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Installing new org-mode version
2007-03-05 16:24 ` weber
@ 2007-03-06 12:12 ` carsten.dominik
2007-03-06 12:56 ` weber
0 siblings, 1 reply; 10+ messages in thread
From: carsten.dominik @ 2007-03-06 12:12 UTC (permalink / raw)
To: help-gnu-emacs
On Mar 5, 5:24 pm, "weber" <hug...@gmail.com> wrote:
> On 4 mar, 17:48, Stefan Monnier <monn...@iro.umontreal.ca> wrote:
>
>
>
> > > I'm not a newbie onemacsanymore, but i'm having trouble to install
> > >org-mode:/
> > > The problem is: there is already anorg-modeversion distributed with
> > >emacs(gnuemacs22 cvs)
> > > I want to install the last version from the author's site. I cannot do
> > > a "make install" easily because I am on Winxp.
> > > I tried just putting the new files on my load-path and doing a load-
> > > library.
> > > Even though the right files are being loaded, when I check version
> > > with command "org-version" I still get 4.56b. (The new version is
> > > 4.67)
>
> > What does M-: (find-library-name "org") RET say?
> > What's your load-path? Where's your neworg.el?
> > If that still doesn't explain the problem, then:
> > where do you modify your load-path in your .emacs?
> > how/when do you startorg-mode?
> > I.e. give us a more specific step-by-step description of what you do.
>
> > Stefan
>
> I wonder if only the org-version variable isn't right.
> I tried to run this code on scratch buffer, and even after that I
> still get 4.56.
>
> (defvar org-version "4.67"
> "The version number of the fileorg.el.")
>
> Is this working like it should ?
Defvar sets the value of the variable only the first time it is
evaluated.
The second time, if there is already a value, it is not changed by
defvar anymore.
It sems to me that org.el is already loaded once before you make the
new version
available. A way to do this would be (schematically:
(require 'org) ; this load the built-in version
(setq load-path (cons "/path/to/new/org/" . load-path))
(load-file "org.el") ; this loads the new one.
Hope this helps
- Carsten
>
> Thanks
> weber
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Installing new org-mode version
2007-03-06 12:12 ` carsten.dominik
@ 2007-03-06 12:56 ` weber
0 siblings, 0 replies; 10+ messages in thread
From: weber @ 2007-03-06 12:56 UTC (permalink / raw)
To: help-gnu-emacs
On 6 mar, 04:12, carsten.domi...@gmail.com wrote:
> On Mar 5, 5:24 pm, "weber" <hug...@gmail.com> wrote:
>
>
>
> > On 4 mar, 17:48, Stefan Monnier <monn...@iro.umontreal.ca> wrote:
>
> > > > I'm not a newbie onemacsanymore, but i'm having trouble to install
> > > >org-mode:/
> > > > The problem is: there is already anorg-modeversion distributed with
> > > >emacs(gnuemacs22 cvs)
> > > > I want to install the last version from the author's site. I cannot do
> > > > a "make install" easily because I am on Winxp.
> > > > I tried just putting the new files on my load-path and doing a load-
> > > > library.
> > > > Even though the right files are being loaded, when I check version
> > > > with command "org-version" I still get 4.56b. (The new version is
> > > > 4.67)
>
> > > What does M-: (find-library-name "org") RET say?
> > > What's your load-path? Where's your neworg.el?
> > > If that still doesn't explain the problem, then:
> > > where do you modify your load-path in your .emacs?
> > > how/when do you startorg-mode?
> > > I.e. give us a more specific step-by-step description of what you do.
>
> > > Stefan
>
> > I wonder if only the org-version variable isn't right.
> > I tried to run this code on scratch buffer, and even after that I
> > still get 4.56.
>
> > (defvar org-version "4.67"
> > "The version number of the fileorg.el.")
>
> > Is this working like it should ?
>
> Defvar sets the value of the variable only the first time it is
> evaluated.
> The second time, if there is already a value, it is not changed by
> defvar anymore.
>
> It sems to me that org.el is already loaded once before you make the
> new version
> available. A way to do this would be (schematically:
>
> (require 'org) ; this load the built-in version
> (setq load-path (cons "/path/to/new/org/" . load-path))
> (load-file "org.el") ; this loads the new one.
>
> Hope this helps
>
> - Carsten
>
>
>
> > Thanks
> > weber
Hm... I tried doing a load-file... so probably only the variable is
left wrong ?
Anyway I ended up deleting org.el and org.elc from emacs installation
directory.
Thanks everyone,
weber
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Installing new org-mode version
2007-03-05 16:17 ` weber
@ 2007-03-06 17:38 ` Stefan Monnier
2007-03-06 18:29 ` weber
0 siblings, 1 reply; 10+ messages in thread
From: Stefan Monnier @ 2007-03-06 17:38 UTC (permalink / raw)
To: help-gnu-emacs
> That command returns the correct location for the new version:
> "~/emacs/site-lisp/org-mode/org.el"
What do you do in your Emacs *before* adding "~/emacs/site-lisp/org-mode/"
to your load-path? The source of the error is mostly there.
Of course, maybe the problem is in site-start.el (which is also executed
the .emacs file).
Stefan
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Installing new org-mode version
2007-03-06 17:38 ` Stefan Monnier
@ 2007-03-06 18:29 ` weber
0 siblings, 0 replies; 10+ messages in thread
From: weber @ 2007-03-06 18:29 UTC (permalink / raw)
To: help-gnu-emacs
On 6 mar, 09:38, Stefan Monnier <monn...@iro.umontreal.ca> wrote:
> > That command returns the correct location for the new version:
> > "~/emacs/site-lisp/org-mode/org.el"
>
> What do you do in your Emacs *before* adding "~/emacs/site-lisp/org-mode/"
> to your load-path? The source of the error is mostly there.
>
> Of course, maybe the problem is in site-start.el (which is also executed
> the .emacs file).
>
> Stefan
Stefan,
I only turn off menus and do require 'cl.
The problem was solved anyway when i removed the original org.el (of
course)
I'll check site-start.el when I have some time.
Thanks,
weber
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-03-06 18:29 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-04 23:33 Installing new org-mode version weber
2007-03-04 23:48 ` Lennart Borgman (gmail)
2007-03-05 0:05 ` Peter Dyballa
2007-03-05 1:48 ` Stefan Monnier
2007-03-05 16:17 ` weber
2007-03-06 17:38 ` Stefan Monnier
2007-03-06 18:29 ` weber
2007-03-05 16:24 ` weber
2007-03-06 12:12 ` carsten.dominik
2007-03-06 12:56 ` weber
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.